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 |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header | Wingdi.h (include Windows.h) |
See Also
Send comments about this topic to Microsoft
Build date: 10/29/2010