次の方法で共有


D3DM_SETPALETTE_WITHENTRIES (Windows CE 5.0)

Send Feedback

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

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

OS Versions: Windows CE 5.0
Header: D3dmddk.h.

See Also

Direct3D Mobile Driver Structures | D3DM_SETPALETTE | D3DM_OPERATION | D3DM_SETPALETTE_DATATYPE | PALETTEENTRY

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.