BITMAPFILEHEADER

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This structure contains information about the type, size, and layout of a file that containing a device-independent bitmap (DIB).


typedef struct tagBITMAPFILEHEADER {
  WORD bfType; 
  DWORD bfSize; 
  WORD bfReserved1; 
  WORD bfReserved2; 
  DWORD bfOffBits; 
} BITMAPFILEHEADER; 

bfType

Specifies the file type. It must be set to the signature word BM (0x4D42) to indicate bitmap.

bfSize

Specifies the size, in bytes, of the bitmap file.

bfReserved1

Reserved; set to zero

bfReserved2

Reserved; set to zero

bfOffBits

Specifies the offset, in bytes, from the BITMAPFILEHEADER structure to the bitmap bits

A BITMAPINFO or BITMAPCOREINFO structure immediately follows the BITMAPFILEHEADER structure in the DIB file.

Headerwindows.h
Windows Embedded CEWindows CE 2.0 and later
Windows MobileWindows Mobile Version 5.0 and later
Show: