// d3dkmthk.h
typedef struct _D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME {
WCHAR DeviceName[32];
[out] D3DKMT_HANDLE hAdapter;
[out] LUID AdapterLuid;
[out] D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
} D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME structure describes the mapping of the given name of a GDI device to a graphics adapter handle and monitor output.
DeviceName [in]A Unicode string that contains the name of the GDI device from which to open an adapter instance.
hAdapter [out]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.
AdapterLuid [out]The locally unique identifier (LUID) of the graphics adapter for the GDI device that DeviceName specifies. The LUID is returned from the D3DKMTOpenAdapterFromGdiDisplayName 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 GDI device that DeviceName specifies. The identification number is returned from the D3DKMTOpenAdapterFromGdiDisplayName call.
D3DKMTOpenAdapterFromGdiDisplayName