BITMAPFILEHEADER

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; 

Members

  • bfType
    Specifies the file type. It must be BM.
  • 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

Remarks

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

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Wingdi.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

BITMAPCOREINFO, BITMAPINFO

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.