Partager via


DDCOLORKEY

A version of this page is also available for

Windows Embedded CE 6.0 R3

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