D3DKMDT_PIXEL_VALUE_ACCESS_MODE enumeration (d3dkmdt.h)

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.

Syntax

typedef enum _D3DKMDT_PIXEL_VALUE_ACCESS_MODE {
  D3DKMDT_PVAM_UNINITIALIZED,
  D3DKMDT_PVAM_DIRECT,
  D3DKMDT_PVAM_PRESETPALETTE,
  D3DKMDT_PVAM_SETTABLEPALETTE
} D3DKMDT_PIXEL_VALUE_ACCESS_MODE;

Constants

 
D3DKMDT_PVAM_UNINITIALIZED
Indicates that a variable of type D3DKMDT_PIXEL_VALUE_ACCESS_MODE has not yet been assigned a meaningful value.
D3DKMDT_PVAM_DIRECT
Indicates that colors are stored directly in the primary surface.
D3DKMDT_PVAM_PRESETPALETTE
Indicates 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_SETTABLEPALETTE
Indicates 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.

Remarks

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.

Requirements

Requirement Value
Minimum supported client Windows Vista
Header d3dkmdt.h

See also

VidPn Source Mode Set Interface