IDirect3D9Ex::GetAdapterLUID method (d3d9.h)

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 9, DXGI).

Syntax

HRESULT GetAdapterLUID(
  [in] UINT Adapter,
  [in] LUID *pLUID
);

Parameters

[in] Adapter

Type: UINT

Ordinal number denoting the display adapter from which to retrieve the LUID.

[in] pLUID

Type: LUID*

A unique identifier for the given adapter.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Target Platform Windows
Header d3d9.h
Library D3D9.lib

See also

IDirect3D9Ex