DXGKARG_SETPALETTE structure

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

Syntax


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

Members

VidPnSourceId

[in] 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.

FirstEntry

[in] 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.

NumEntries

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

pLookupTable

[in] 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

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dkmdt.h (include D3dkmdt.h)

See also

D3DKMDT_PALETTEDATA
DxgkDdiSetPalette

 

 

Send comments about this topic to Microsoft

Show: