Platform SDK: DirectX

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 IDirectDrawSurface7::GetColorKey and IDirectDrawSurface7::SetColorKey methods.

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

Members

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

Requirements

  Windows NT/2000: Requires Windows NT 4.0 SP3 or later.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in ddraw.h.