次の方法で共有


DDCOLORKEY (Compact 2013)

3/26/2014

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 IDirectDrawSurface::GetColorKey and IDirectDrawSurface::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

See Also

Reference

DirectDraw Structures
DirectDraw Reference
IDirectDrawSurface::GetColorKey
IDirectDrawSurface::SetColorKey

Other Resources

DirectDraw