Expand Minimize

D3DKMDT_SHAREDPRIMARYSURFACEDATA structure

The D3DKMDT_SHAREDPRIMARYSURFACEDATA structure describes a shared primary surface.

Syntax


typedef struct _D3DKMDT_SHAREDPRIMARYSURFACEDATA {
  UINT                           Width;
  UINT                           Height;
  D3DDDIFORMAT                   Format;
  D3DDDI_RATIONAL                RefreshRate;
  D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
} D3DKMDT_SHAREDPRIMARYSURFACEDATA;

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.

Requirements

Version

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

Header

D3dkmdt.h (include D3dkmddi.h)

See also

D3DDDI_RATIONAL
D3DDDIFORMAT
D3DKMDT_STANDARDALLOCATION_TYPE
DXGKARG_GETSTANDARDALLOCATIONDRIVERDATA

 

 

Send comments about this topic to Microsoft

顯示:
© 2014 Microsoft