Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/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::GetColorKeyand IDirectDrawSurface5::SetColorKeymethods.

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
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later