Microsoft DirectX 8.1 (C++)

IDirect3D8::GetAdapterModeCount

Returns the number of display modes available on this adapter.

UINT GetAdapterModeCount(
  UINT Adapter
);

Parameters

Adapter
[in] Ordinal number that denotes the display adapter. D3DADAPTER_DEFAULT is always the primary display adapter.

Return Values

This method returns the number of display modes on this adapter, or zero if Adapter is greater than or equal to the number of adapters on the system.

Requirements

  Header: Declared in D3d8.h.
  Import Library: Use D3d8.lib.

See Also

IDirect3D8::EnumAdapterModes