IDirect3D9::GetAdapterCount method (d3d9.h)

Returns the number of adapters on the system.

Syntax

UINT GetAdapterCount();

Return value

Type: UINT

A UINT value that denotes the number of adapters on the system at the time this IDirect3D9 interface was instantiated.

Requirements

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

See also

GetAdapterIdentifier

IDirect3D9