Microsoft Windows CE 3.0  

DDHAL_COLORCONTROLDATA

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 DDHAL_COLORCONTROLDATAstructure contains the color control information for a specified surface. This structure passes the information to the DirectDraw HAL ColorControlcallback function.

typedef struct _DDHAL_COLORCONTROLDATA {
LPDDRAWI_DIRECTDRAW_GBL
lpDD
;
LPDDRAWI_DDRAWSURFACE_LCL
lpDDSurface
;
LPDDCOLORCONTROL
lpColorData
;
DWORD
dwFlags
;
HRESULT
ddRVal
;
LPDDHALCOLORCB_COLORCONTROL
ColorControl
;
} DDHAL_COLORCONTROLDATA;

Members

lpDD
Pointer to the DDRAWI_DIRECTDRAW_GBLstructure that represents the DirectDraw object.
lpDDSurface
Pointer to the DDRAWI_DDRAWSURFACE_LCLstructure that represents the DirectDrawSurface object.
lpColorData
Pointer to a DDCOLORCONTROLstructure that defines the color control associated with an overlay or primary surface.
dwFlags
Color control flags. One of the following:
Flag Usage
DDRAWI_GETCOLOR Indicates you want to get the current color controls.
DDRAWI_SETCOLOR Indicates you want to set new color control values.
ddRVal
Passes the DirectDraw return values.
ColorControl
This member is used by DirectDraw and should not be filled in by the driver.

 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.