DDHAL_SETCOLORKEYDATA (Compact 2013)
3/26/2014
This structure contains information necessary to set the color key value for the specified surface.
Syntax
typedef struct _DDHAL_SETCOLORKEYDATA {
LPDDRAWI_DIRECTDRAW_GBL lpDD;
LPDDRAWI_DDRAWSURFACE_LCL lpDDSurface;
DWORD dwFlags;
DDCOLORKEY ckNew;
HRESULT ddRVal;
} 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.
Requirements
Header |
ddrawi.h |
See Also
Reference
DirectDrawSurface Structures
DDRAWI_DIRECTDRAW_GBL
DDRAWI_DDRAWSURFACE_LCL