Share via


IDirect3DMobile::GetAdapterModeCount

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method returns the number of display modes supported by a specified device.

Syntax

UINT GetAdapterModeCount(
  UINT Adapter
);

Parameters

  • Adapter
    [in] A UINT value, the adapter ordinal, that indicates which device to provide information for. For possible values, see D3DMADAPTER Values.

Return Value

This method returns a UINT value representing the number of display modes for the specified device.

Remarks

Windows Embedded CE supports a single display resolution for a platform therefore this method will always returns 1.

Requirements

Header d3dm.h
Library D3dm.lib, D3dmguid.lib
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IDirect3DMobile
D3DMADAPTER Values