D3DKMT_GETSHAREDPRIMARYHANDLE structure (d3dkmthk.h)
The D3DKMT_GETSHAREDPRIMARYHANDLE structure describes the parameters that are required to retrieve the global shared handle for the primary surface.
Syntax
typedef struct _D3DKMT_GETSHAREDPRIMARYHANDLE {
[in] D3DKMT_HANDLE hAdapter;
[in] D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
[out] D3DKMT_HANDLE hSharedPrimary;
} D3DKMT_GETSHAREDPRIMARYHANDLE;
Members
[in] hAdapter
A handle to the graphics adapter that the primary surface is associated with.
[in] VidPnSourceId
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.
[out] hSharedPrimary
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Header | d3dkmthk.h (include D3dkmthk.h) |