Microsoft Windows CE 3.0  

DDHALMODEINFO

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The DDHALMODEINFOstructure contains a description of a display mode.

typedef struct _DDHALMODEINFO { DWORD
dwWidth
;
DWORD
dwHeight
;
LONG
lPitch
;
DWORD
dwBPP
;
WORD
wFlags
;
WORD
wRefreshRate
;
DWORD
dwRBitMask
;
DWORD
dwGBitMask
;
DWORD
dwBBitMask
;
DWORD
dwAlphaBitMask
;
} 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.
Flag Usage
DDMODEINFO_MODEX Indicates that the mode is a ModeX mode.
DDMODEINFO_PALETTIZED Indicates that the mode is palletized.
DDMODEINFO_STANDARDVGA Indicates that the mode is standard VGA, that is, mode 13.
DDMODEINFO_UNSUPPORTED Indicates that 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.

 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.