DDCOLORKEY

The DDCOLORKEY 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 IDirectDrawSurface3::GetColorKey and IDirectDrawSurface3::SetColorKey methods.

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.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in ddraw.h.