D3DKMT_OPENADAPTERFROMDEVICENAME structure (d3dkmthk.h)

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

Syntax

typedef struct _D3DKMT_OPENADAPTERFROMDEVICENAME {
  [in]  PCWSTR        pDeviceName;
  [out] D3DKMT_HANDLE hAdapter;
  [out] LUID          AdapterLuid;
} D3DKMT_OPENADAPTERFROMDEVICENAME;

Members

[in] pDeviceName

A Null-terminated string that contains the name of the device from which to open an adapter instance.

[out] hAdapter

A handle to the graphics adapter for the device that pDeviceName specifies. The adapter handle is returned from the call to the D3DKMTOpenAdapterFromDeviceName function.

[out] AdapterLuid

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

Requirements

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

See also

D3DKMTOpenAdapterFromDeviceName