Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A version of this page is also available for
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 |