IDirect3D8::GetAdapterModeCount

This method 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

OS Versions: Windows CE .NET 4.0 and later.
Header: D3d8.h.
Link Library: D3d8.lib.

See Also

IDirect3D8::EnumAdapterModes | IDirect3D8

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.