D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME structure (d3dkmthk.h)

The D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME structure describes the mapping of the given name of a GDI device to a graphics adapter handle and monitor output.

Syntax

typedef struct _D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME {
        WCHAR                          DeviceName[32];
  [out] D3DKMT_HANDLE                  hAdapter;
  [out] LUID                           AdapterLuid;
  [out] D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
} D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME;

Members

[in] DeviceName[32]

A Unicode string that contains the name of the GDI device from which to open an adapter instance.

[out] hAdapter

A handle to the graphics adapter for the GDI device that DeviceName specifies. The adapter handle is returned from the call to the D3DKMTOpenAdapterFromGdiDisplayName function.

[out] AdapterLuid

The locally unique identifier (LUID) of the graphics adapter for the GDI device that DeviceName specifies. The LUID is returned from the D3DKMTOpenAdapterFromGdiDisplayName call.

[out] VidPnSourceId

The zero-based identification number of the video present source in a path of a video present network (VidPN) topology for the GDI device that DeviceName specifies. The identification number is returned from the D3DKMTOpenAdapterFromGdiDisplayName call.

Requirements

Requirement Value
Minimum supported client Windows Vista
Header d3dkmthk.h (include D3dkmthk.h)

See also

D3DKMTOpenAdapterFromGdiDisplayName