?/TD> |
Microsoft DirectX 9.0 |
Returns the number of display modes available on this adapter.
Syntax
UINT GetAdapterModeCount(
UINT Adapter, D3DFORMAT Format );
Parameters
- Adapter
- [in] Ordinal number that denotes the display adapter. D3DADAPTER_DEFAULT is always the primary display adapter.
- Format
- [in] Identifies the format of the surface type using D3DFORMAT. Use IDirect3D9::EnumAdapterModes to see the valid formats.
Return Value
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.
See Also
IDirect3D9::EnumAdapterModes