Share via


IDirectDrawPalette

Applications use the methods of the IDirectDrawPalette interface to create DirectDrawPalette objects and work with system-level variables.

The methods of the IDirectDrawPalette interface can be organized into the following groups:

Palette capabilities GetCaps
Palette entries GetEntries
  SetEntries

The IDirectDrawPalette interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:

IUnknown AddRef
  QueryInterface
  Release

The IDirectDrawPalette::Initialize method is not supported in Windows CE.

You can use the LPDIRECTDRAWPALETTE data type to declare a variable that contains a pointer to an IDirectDrawPalette interface. The Ddraw.h header file declares the data type with the following code.

typedef struct IDirectDrawPalette    FAR *LPDIRECTDRAWPALETTE;

Requirements

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

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.