ID3D12Device::GetAdapterLuid method

Gets a locally unique identifier for the current device (adapter).

Syntax


LUID GetAdapterLuid();

Parameters

This method has no parameters.

Return value

Type: LUID

The locally unique identifier for the adapter.

Remarks

This method returns a unique identifier for the adapter that is specific to the adapter hardware. Applications can use this identifier to define robust mappings across various APIs (Direct3D 12, DXGI).

A locally unique identifier (LUID) is a 64-bit value that is guaranteed to be unique only on the system on which it was generated. The uniqueness of a locally unique identifier (LUID) is guaranteed only until the system is restarted.

Requirements

Header

D3d12.h

Library

D3d12.lib

DLL

D3d12.dll

See also

ID3D12Device

 

 

Show: