UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:dxgi1_4.IDXGIFactory4.EnumAdapterByLuid |
IDXGIFactory4::EnumAdapterByLuid (dxgi1_4.h) |
Outputs the IDXGIAdapter for the specified LUID. |
|
direct3ddxgi\idxgifactory4_enumadapterbyluid.htm |
direct3ddxgi |
AC800F32-2922-45BA-A6D3-D3E45113B9A7 |
12/05/2018 |
EnumAdapterByLuid, EnumAdapterByLuid method [DXGI], EnumAdapterByLuid method [DXGI],IDXGIFactory4 interface, IDXGIFactory4 interface [DXGI],EnumAdapterByLuid method, IDXGIFactory4.EnumAdapterByLuid, IDXGIFactory4::EnumAdapterByLuid, direct3ddxgi.idxgifactory4_enumadapterbyluid, dxgi1_4/IDXGIFactory4::EnumAdapterByLuid |
dxgi1_4.h |
Windows |
Dxgi.lib |
Windows |
19H1 |
|
|
|
|
|
|
Outputs the IDXGIAdapter for the specified LUID.
Type: LUID
A unique value that identifies the adapter. See LUID for a definition of the structure. LUID is defined in dxgi.h.
Type: REFIID
The globally unique identifier (GUID) of the IDXGIAdapter object referenced by the ppvAdapter parameter.
Type: void**
The address of an IDXGIAdapter interface pointer to the adapter. This parameter must not be NULL.
Type: HRESULT
Returns S_OK if successful; an error code otherwise. For a list of error codes, see DXGI_ERROR. See also Direct3D 12 Return Codes.
For Direct3D 12, it's no longer possible to backtrack from a device to the IDXGIAdapter that was used to create it. IDXGIFactory4::EnumAdapterByLuid enables an app to retrieve information about the adapter where a D3D12 device was created. IDXGIFactory4::EnumAdapterByLuid is designed to be paired with ID3D12Device::GetAdapterLuid. For more information, see DXGI 1.4 Improvements.