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
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. |
Last updated on Tuesday, July 13, 2004