Share via


D3DM_SETPALETTE (Windows Embedded CE 6.0)

1/6/2010

This structure contains the contents of a D3DMOP_SETPALETTE command token (see D3DM_OPERATION), which is used to activate a palette.

Syntax

typedef struct _D3DM_SETPALETTE {
  DWORD Index;
  D3DM_SETPALETTE_DATATYPE DataType;
} D3DM_SETPALETTE, *LPD3DM_SETPALETTE;

Members

  • Index
    A DWORD value that identifies a specific palette.
  • DataType
    An element of the D3DM_SETPALETTE_DATATYPE enumeration identifying the action that the driver should take with the palette specified by Index. This member can only be set to D3DM_SETPALETTE_SETACTIVE.

Requirements

Header d3dmddk.h
Windows Embedded CE Windows CE 5.0

See Also

Reference

Direct3D Mobile Driver Structures
D3DM_SETPALETTE_WITHENTRIES
D3DM_OPERATION
D3DM_SETPALETTE_DATATYPE