// d3dkmthk.h
typedef struct _D3DKMT_OPENADAPTERFROMHDC {
[in] HDC hDc;
[out] D3DKMT_HANDLE hAdapter;
[out] LUID AdapterLuid;
[out] D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
} D3DKMT_OPENADAPTERFROMHDC;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DKMT_OPENADAPTERFROMHDC structure describes the mapping of a device context handle (HDC) to a graphics adapter handle and monitor output.
hDc [in]The HDC for the graphics adapter and monitor output that are retrieved.
hAdapter [out]A handle to the graphics adapter for the HDC that hDc specifies. The adapter handle is returned from the call to the D3DKMTOpenAdapterFromHdc function.
AdapterLuid [out]The locally unique identifier (LUID) of the graphics adapter for the HDC that hDc specifies. The LUID is returned from the D3DKMTOpenAdapterFromHdc call.
VidPnSourceId [out]The zero-based identification number of the video present source in a path of a video present network (VidPN) topology for the HDC that hDc specifies. The identification number is returned from the D3DKMTOpenAdapterFromHdc call.