Share via


D3DM_SETPALETTE_WITHENTRIES (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 define a palette.

Syntax

typedef struct _D3DM_SETPALETTE_WITHENTRIES {
  DWORD Index;
  D3DM_SETPALETTE_DATATYPE DataType;
  PALETTEENTRY Entries[256];
} D3DM_SETPALETTE_WITHENTRIES, *LPD3DM_SETPALETTE_WITHENTRIES;

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_SETENTRIES.
  • Entries
    An array of PALETTEENTRY values defining the colors of the palette specified by Index.

Requirements

Header d3dmddk.h
Windows Embedded CE Windows CE 5.0

See Also

Reference

Direct3D Mobile Driver Structures
D3DM_SETPALETTE
D3DM_OPERATION
D3DM_SETPALETTE_DATATYPE

Other Resources

PALETTEENTRY