DDHAL_SETCOLORKEYDATA (Windows CE 5.0)
This structure contains information necessary to set the color key value for the specified surface. This structure passes the information to the DirectDraw hardware abstraction layer (DDHAL) SetColorKey callback function.
typedef struct _DDHAL_SETCOLORKEYDATA {LPDDRAWI_DIRECTDRAW_GBLlpDD;LPDDRAWI_DDRAWSURFACE_LCLlpDDSurface;DWORDdwFlags;DDCOLORKEYckNew;HRESULTddRVal;LPDDHALSURFCB_SETCOLORKEYSetColorKey;} DDHAL_SETCOLORKEYDATA;
Members
lpDD**
Pointer to the DDRAWI_DIRECTDRAW_GBL structure that represents the DirectDraw object.lpDDSurface**
Pointer to the DDRAWI_DDRAWSURFACE_LCL structure that represents the DirectDrawSurface object.dwFlags**
Determines which color key is requested.The following table shows the possible flags.
Flag Description 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 DDCOLORKEY structure that contains the 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.
Requirements
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddrawi.h.
See Also
SetColorKey | DDRAWI_DIRECTDRAW_GBL | DDRAWI_DDRAWSURFACE_LCL | DDCOLORKEY | DirectDrawSurface Structures
Send Feedback on this topic to the authors