Partager via


DDCOLORKEY (Windows Embedded CE 6.0)

1/6/2010

This structure describes a source color key, destination color key, or color space.

A color key is specified if the low and high range values are the same.

This structure is used with the IDirectDrawSurface5::GetColorKey and IDirectDrawSurface5::SetColorKey methods.

Syntax

typedef struct _DDCOLORKEY{ 
  DWORD dwColorSpaceLowValue; 
  DWORD dwColorSpaceHighValue; 
} DDCOLORKEY,FAR *LPDDCOLORKEY;  

Members

  • dwColorSpaceLowValue
    Low value, inclusive, of the color range that is to be used as the color key.
  • dwColorSpaceHighValue
    High value, inclusive, of the color range that is to be used as the color key.

Requirements

Header ddraw.h
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

DirectDraw Structures