D3DKMDT_SHAREDPRIMARYSURFACEDATA - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmdt.h

typedef struct _D3DKMDT_SHAREDPRIMARYSURFACEDATA {
  [in] UINT                           Width;
  [in] UINT                           Height;
  [in] D3DDDIFORMAT                   Format;
  [in] D3DDDI_RATIONAL                RefreshRate;
  [in] D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
} D3DKMDT_SHAREDPRIMARYSURFACEDATA;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmdt-_d3dkmdt_sharedprimarysurfacedata)

_D3DKMDT_SHAREDPRIMARYSURFACEDATA structure

Description

The D3DKMDT_SHAREDPRIMARYSURFACEDATA structure describes a shared primary surface.

Members

Width [in]

The width of the surface, in pixels. The driver returns the width value.

Height [in]

The height of the surface, in pixels. The driver returns the height value.

Format [in]

A D3DDDIFORMAT-typed value that indicates the pixel format of the surface. The driver returns the format value.

RefreshRate [in]

A D3DDDI_RATIONAL structure that indicates the refresh rate that the shared primary surface was created with.

VidPnSourceId [in]

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

Remarks

Multiple processes can lock a shared primary surface. The video memory manager pins the standard allocation for the shared primary surface in video memory so the digital-to-analog converter (DAC) is guaranteed to always scan-out the appropriate data.

See also

D3DDDIFORMAT

D3DDDI_RATIONAL

D3DKMDT_STANDARDALLOCATION_TYPE

DXGKARG_GETSTANDARDALLOCATIONDRIVERDATA