msos2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
BITMAPINFOHEADER (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_GPIBITMAPS
 
typedef struct _BITMAPINFOHEADER {    /* bmp */
    ULONG  cbFix;
    USHORT cx;
    USHORT cy;
    USHORT cPlanes;
    USHORT cBitCount;
} BITMAPINFOHEADER;
 
The BITMAPINFOHEADER structure contains a bitmap header that defines the
structure of a bitmap.
 
Field      Description
────────────────────────────────────────────────────────────────────────────
 
cbFix      Specifies the size of the structure (in bytes). The size depends
           on the operating-system version. Programs written in the C
           language should use the sizeof operator to set this field.
 
cx         Specifies the bitmap width (in pels).
 
cy         Specifies the bitmap height (in pels).
 
cPlanes    Specifies the number of bit planes.
 
cBitCount  Specifies the number of bits per pel within a plane.
 
See Also
 
GpiCreateBitmap, GpiQueryBitmapParameters