This class describes the type and size of a file containing a device independent bitmap.

class BitmapFile
  unsigned short Type;
  unsigned Size;
  unsigned Reserved;
  unsigned Offset;

Type The type of the bitmap. This must be "BM".
Size The size (in bytes) of the file containing the bitmap.
Reserved Reserved - must be zero.
Offset The offset from the BitmapFile structure to the start of the bitmap bits.


A BitmapInformation structure follows the BitmapFile structure in the device independent bitmap file.