// d3dkmdt.h
typedef enum _D3DKMDT_PIXEL_VALUE_ACCESS_MODE {
D3DKMDT_PVAM_UNINITIALIZED,
D3DKMDT_PVAM_DIRECT,
D3DKMDT_PVAM_PRESETPALETTE,
D3DKMDT_PVAM_SETTABLEPALETTE
} D3DKMDT_PIXEL_VALUE_ACCESS_MODE;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DKMDT_PIXEL_VALUE_ACCESS_MODE enumeration is used to indicate the way color values or palette indices are stored in the primary surface of a video present source.
D3DKMDT_PVAM_UNINITIALIZEDIndicates that a variable of type D3DKMDT_PIXEL_VALUE_ACCESS_MODE has not yet been assigned a meaningful value.
D3DKMDT_PVAM_DIRECTIndicates that colors are stored directly in the primary surface.
D3DKMDT_PVAM_PRESETPALETTEIndicates that palette indices are stored in the primary surface. Colors are stored in a palette that is specific to the display adapter. The operating system can query the display miniport driver for the palette.
D3DKMDT_PVAM_SETTABLEPALETTEIndicates that palette indices are stored in the primary surface. Colors are stored in a palette that the operating system can set dynamically by calling the display miniport driver.
The Format.Graphics member of the D3DKMDT_VIDPN_SOURCE_MODE structure is a D3DKMDT_GRAPHICS_RENDERING_FORMAT structure. The PixelValueAccessMode member of the D3DKMDT_GRAPHICS_RENDERING_FORMAT structure is a D3DKMDT_PIXEL_VALUE_ACCESS_MODE value.
VidPn Source Mode Set Interface