// d3dkmdt.h
typedef struct _DXGKARG_SETPALETTE {
[in] D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
[in] UINT FirstEntry;
[in] UINT NumEntries;
[in] D3DKMDT_PALETTEDATA *pLookupTable;
} DXGKARG_SETPALETTE;
View the official Windows Driver Kit DDI referenceNo description available.
The DXGKARG_SETPALETTE structure describes the palette to set for a display.
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.