Share via


DDCOLORKEY

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.

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

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddraw.h.

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.