BITMAPFILEHEADER structure
The BITMAPFILEHEADER structure contains information about the type, size, and layout of a file that contains a DIB.
Syntax
typedef struct tagBITMAPFILEHEADER { WORD bfType; DWORD bfSize; WORD bfReserved1; WORD bfReserved2; DWORD bfOffBits; } BITMAPFILEHEADER, *PBITMAPFILEHEADER;
Members
- bfType
-
The file type; must be BM.
- bfSize
-
The size, in bytes, of the bitmap file.
- bfReserved1
-
Reserved; must be zero.
- bfReserved2
-
Reserved; must be zero.
- bfOffBits
-
The offset, in bytes, from the beginning of the BITMAPFILEHEADER structure to the bitmap bits.
Remarks
A BITMAPINFO or BITMAPCOREINFO structure immediately follows the BITMAPFILEHEADER structure in the DIB file. For more information, see Bitmap Storage.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
See also
Community Additions
ADD
Show: