IDirect3D9::GetAdapterCount

A member of IDirect3D9 that returns the number of adapters on the system.

Syntax
UINT GetAdapterCount;

Return Value
It will return the number of adapters on the system at the time IDirect3D9 was initiation.

Requirements
 Header -  d3d9.h

 Library -  d3d9.lib