DXGKARG_SETPALETTE structure (d3dkmdt.h)

The DXGKARG_SETPALETTE structure describes the palette to set for a display.

Syntax

typedef struct _DXGKARG_SETPALETTE {
  [in] D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
  [in] UINT                           FirstEntry;
  [in] UINT                           NumEntries;
  [in] D3DKMDT_PALETTEDATA            *pLookupTable;
} DXGKARG_SETPALETTE;

Members

[in] VidPnSourceId

The zero-based identification number of the video present source in a path of a video present network (VidPN) topology that the palette is set on.

[in] FirstEntry

The location in the device palette that the first entry in the array of color entries that pLookupTable specifies is copied to. The remaining entries that pLookupTable specifies are copied sequentially, from this starting point into the device's palette.

[in] NumEntries

The number of color entries in the array that pLookupTable specifies.

[in] pLookupTable

An array of color entries to copy into the device's color palette (that is, the device's color registers). Each color entry is accessed as a generic 32-bit value or as the Red, Green, Blue, and Unused members of a D3DKMDT_PALETTEDATA structure.

Requirements

Requirement Value
Minimum supported client Windows Vista
Header d3dkmdt.h

See also

D3DKMDT_PALETTEDATA

DxgkDdiSetPalette