D3DKMT_OPENADAPTERFROMHDC - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmthk-_d3dkmt_openadapterfromhdc)

_D3DKMT_OPENADAPTERFROMHDC structure

Description

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

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.

See also

D3DKMTOpenAdapterFromHdc