D3DKMT_OPENADAPTERFROMHDC structure

The D3DKMT_OPENADAPTERFROMHDC structure describes the mapping of a device context handle (HDC) to a graphics adapter handle and monitor output.

Syntax

typedef struct _D3DKMT_OPENADAPTERFROMHDC {
  HDC                            hDc;
  D3DKMT_HANDLE                  hAdapter;
  LUID                           AdapterLuid;
  D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
} D3DKMT_OPENADAPTERFROMHDC;

Members

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.

Requirements

   
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dkmthk.h (include D3dkmthk.h)

See Also

D3DKMTOpenAdapterFromHdc