GetBMPBitDepth

#include "BIDIB.H"

 

BYTE CALLBACK GetBMPBitDepth (LPCTSTR pszFileName)

Description

This function retrieves the DIB file bit count.

Parameters

LPCTSTR

pszFileName

Path and name of the DIB.

Additional Information

This example shows how to use the dll when loading statically including the header file. Otherwise if the dll is loaded dynamically, for further information read the “About the difference of static and dynamic library loading” section of the manual.

Return values

The bit count of the DIB, or 0 on error.

Programming notes

Requirements

Header :     Declared in BiDIB.h; include BiDIB.h.

Library :    Use BiDIB.lib.

DLLs :       BiDIB.dll.