typedef struct tagBITMAPFILEHEADER { /* bmfh */
UINT bfType;
DWORD bfSize;
UINT bfReserved1;
UINT bfReserved2;
DWORD bfOffBits;
} BITMAPFILEHEADER;
The BITMAPFILEHEADER structure contains information about the type, size, and layout of a device-independent bitmap (DIB) file.
bfType
Specifies the type of file. This member must be BM.
bfSize
Specifies the size of the file, in bytes.
bfReserved1
Reserved; must be set to zero.
bfReserved2
Reserved; must be set to zero.
bfOffBits
Specifies the byte offset from the BITMAPFILEHEADER structure to the actual bitmap data in the file.
A BITMAPINFO or BITMAPCOREINFO structure immediately follows the BITMAPFILEHEADER structure in the DIB file.