// 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 referenceNo description available.
The D3DKMDT_SHAREDPRIMARYSURFACEDATA structure describes a shared primary surface.
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.
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.
D3DKMDT_STANDARDALLOCATION_TYPE
DXGKARG_GETSTANDARDALLOCATIONDRIVERDATA