Bitmap information header structure.

Each bit plane logically contains (cx * cy * cBitCount) bits, although the actual length can be greater because of padding.

See also BITMAPINFOHEADER2, which is preferred.

typedef struct _BITMAPINFOHEADER {
  ULONG      cbFix;      /*  Length of structure. */
  USHORT     cx;         /*  Bitmap width in pels. */
  USHORT     cy;         /*  Bitmap height in pels. */
  USHORT     cPlanes;    /*  Number of bit planes. */
  USHORT     cBitCount;  /*  Number of bits per pel within a plane. */
} BITMAPINFOHEADER;

typedef   BITMAPINFOHEADER   * PBITMAPINFOHEADER ;


[Back] [Next]