Share via


DDHAL_SETCOLORKEYDATA (Windows Embedded CE 6.0)

1/6/2010

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

  • 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
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

DDRAWI_DIRECTDRAW_GBL
DDRAWI_DDRAWSURFACE_LCL

Concepts

DirectDrawSurface Structures

Other Resources

DDCOLORKEY