IDirect3D9Ex::GetAdapterLUID method

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(
  UINT Adapter,
  LUID *pLUID
);

Parameters

Adapter

Type: UINT

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

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

   
Target Platform Windows
Header d3d9.h
Library D3D9.lib

See Also

IDirect3D9Ex