Share via


DDGPESurf::SetColorKey (Windows CE 5.0)

Send Feedback

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.

virtual void SetColorKey(DWORDdwColorKey);

Parameters

  • dwColorKey
    The surface's color key.

Return Values

None.

Requirements

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddgpe.h.
Link Library: Ddgpe.lib.

See Also

DDGPESurf Class | DDGPESurf Class Definition

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.