This structure contains size, color type, extent, and the palette information for an image.
typedef struct _BITMAPINFOHEADER2 { ULONG cbFix; /* Size of header. */ ULONG cx; /* Bitmap width. */ ULONG cy; /* Bitmap height. */ USHORT cPlanes; /* Number of planes. */ USHORT cBitCount; /* Bits per pel. */ ULONG ulCompression; /* Compression scheme for storing bitmap. */ ULONG cbImage; /* Bitmap storage data length. */ ULONG cxResolution; /* Horizontal resolution of target device. */ ULONG cyResolution; /* Vertical resolution of target device. */ ULONG cclrUsed; /* Number of color indexes used. */ ULONG cclrImportant; /* Number of color indexes. */ USHORT usUnits; /* Units of measure for resolution. */ USHORT usReserved; /* Reserved. Must be 0. */ USHORT usRecording; /* Must be BRA_BOTTOMUP. */ USHORT usRendering; /* Not used. */ ULONG cSize1; /* Size value field 1. */ ULONG cSize2; /* Size value field 2. */ ULONG ulColorEncoding; /* Color encoding. */ ULONG ulIdentifier; /* Reserved. */ } BITMAPINFOHEADER2; typedef BITMAPINFOHEADER2 * PBITMAPINFOHEADER2 ;