Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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.
Returns the number of display modes available on this adapter.
UINT GetAdapterModeCount(
[in] UINT Adapter,
[in] D3DFORMAT Format
);
[in] Adapter
Type: UINT
Ordinal number that denotes the display adapter. D3DADAPTER_DEFAULT is always the primary display adapter.
[in] Format
Type: D3DFORMAT
Identifies the format of the surface type using D3DFORMAT. Use EnumAdapterModes to see the valid formats.
Type: UINT
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.
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d9.h (include D3D9.h) |
Library | D3D9.lib |
Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!