IDirect3D9::GetAdapterIdentifier

A member of IDirect3D9 that describes the physical display adapters present in the system when the IDirect3D9 interface was instantiated.

Syntax
HRESULT GetAdapterIdentifier( UINT Adapter,  DWORD Flags,  D3DADAPTER_IDENTIFIER9 * pIdentifier );

Parameters
 Adapter -  Ordinal number that identifies the adapter. It will most likely be D3DADAPTER_DEFAULT.

 Flags -  Can be set to either 0 or D3DENUM_WHQL_LEVEL, which will go online and download new WHQL certificates.

 pIdentifies -  A pointer to a D3DADAPTER_IDENTIFIER9 structure that will be filled with the Adapter information.

Return Values
It will return D3D_OK if it succeeds, otherwise it will return D3DERR_INVALIDCALL.

Requirements
 Header -  d3d9.h

 Library -  d3d9.lib