DDHALMODEINFO (Windows CE 5.0)
This structure contains a description of a display mode.
typedef struct _DDHALMODEINFO {DWORDdwWidth;DWORDdwHeight;LONGlPitch;DWORDdwBPP;WORDwFlags;WORDwRefreshRate;DWORDdwRBitMask;DWORDdwGBitMask;DWORDdwBBitMask;DWORDdwAlphaBitMask;} DDHALMODEINFO;typedef DDHALMODEINFO FAR* LPDDHALMODEINFO;
Members
dwWidth**
Indicates the width of the mode in pixels.dwHeight**
Indicates the height of the mode in pixels.lPitch**
Indicates the pitch of the mode in bytes.dwBPP**
Indicates the bits per pixel of the mode.wFlags**
Mode flags.The following table shows the possible flags.
Flag Description DDMODEINFO_MODEX Indicates the mode is a ModeX mode. DDMODEINFO_PALETTIZED Indicates the mode is palletized. DDMODEINFO_STANDARDVGA Indicates the mode is standard VGA, that is, mode 13. DDMODEINFO_UNSUPPORTED Indicates the mode is not supported by the driver. wRefreshRate**
Indicates the refresh rate.dwRBitMask**
Red bit mask.dwGBitMask**
Green bit mask.dwBBitMask**
Blue bit mask.dwAlphaBitMask**
Alpha bit mask.
Requirements
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddrawi.h.
See Also
Send Feedback on this topic to the authors