IDirect3D9::GetAdapterModeCount

A member of IDirect3D9 that returns the number of display modes available on this adapter.

Syntax
UINT GetAdapterModeCount( UINT Adapter,  D3DFORMAT Format );

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

 Format -  A member of D3DFORMAT that describes the format of the surface.

Return Values
It returns the number of display adapters on the system.

Requirements
 Header -  d3d9.h

 Library -  d3d9.lib