Microsoft Windows CE 3.0  

DDHAL_SETCOLORKEYDATA

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_SETCOLORKEYDATAstructure contains information necessary to set the color key value for the specified surface. This structure passes the information to the DirectDraw HAL SetColorKeycallback function.

typedef struct _DDHAL_SETCOLORKEYDATA {
LPDDRAWI_DIRECTDRAW_GBL
lpDD
;
LPDDRAWI_DDRAWSURFACE_LCL
lpDDSurface
;
DWORD
dwFlags
;
DDCOLORKEY
ckNew
;
HRESULT
ddRVal
;
LPDDHALSURFCB_SETCOLORKEY
SetColorKey
;
} DDHAL_SETCOLORKEYDATA;

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.
dwFlags
Determines which color key is requested.
Flag Usage
DDCKEY_COLORSPACE Set if the structure contains a color space. Not set if the structure contains a single color key.
DDCKEY_DESTBLT Set if the structure specifies a color key or color space to be used as a destination color key for blit operations.
DDCKEY_DESTOVERLAY Set if the structure specifies a color key or color space to be used as a destination color key for overlay operations.
DDCKEY_SRCBLT Set if the structure specifies a color key or color space to be used as a source color key for blit operations.
DDCKEY_SRCOVERLAY Set if the structure specifies a color key or color space to be used as a source color key for overlay operations.
ckNew
Pointer to a DDCOLORKEYstructure that contains the new color key values for the DirectDrawSurface object.
ddRVal
Passes the DirectDraw return values.
SetColorKey
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.