Share via


DDGPESurf::SetColorKey (Windows Embedded CE 6.0)

1/6/2010

This method sets the color key for the current surface. This method sets the low and high color key to the same value. Use the SetColorKeyLow and SetColorKeyHigh methods to set the color key to a range of values.

Syntax

virtual void SetColorKey(
  DWORD dwColorKey 
);

Parameters

  • dwColorKey
    The surface's color key.

Return Value

None.

Requirements

Header ddgpe.h
Library Ddgpe.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Concepts

DDGPESurf Class
DDGPESurf Class Definition