// d3dkmthk.h
typedef struct _D3DKMT_GETSHAREDPRIMARYHANDLE {
[in] D3DKMT_HANDLE hAdapter;
[in] D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
[out] D3DKMT_HANDLE hSharedPrimary;
} D3DKMT_GETSHAREDPRIMARYHANDLE;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DKMT_GETSHAREDPRIMARYHANDLE structure describes the parameters that are required to retrieve the global shared handle for the primary surface.
hAdapter [in]A handle to the graphics adapter that the primary surface is associated with.
VidPnSourceId [in]The zero-based identification number of the video present source in a path of a video present network (VidPN) topology that displays the primary surface.
hSharedPrimary [out]A handle to the global shared primary surface if a shared handle currently exists. The shared handle is returned from the call to the D3DKMTGetSharedPrimaryHandle function.