DDCOLORKEY structure (ddraw.h)

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.

Syntax

typedef struct _DDCOLORKEY {
  DWORD dwColorSpaceLowValue;
  DWORD dwColorSpaceHighValue;
} DDCOLORKEY;

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

Requirement Value
Header ddraw.h