Stores information about all graphics modes (resolutions) for a display device into an array.

AResolutions(cArrayName [, cDeviceName])

Parameters

cArrayName
On return the array contains the following information.
ColumnContent
1Specifies the width, in pixels, of the resolution.
2Specifies the height, in pixels, of the resolution.
3Specifies the color resolution, in bits per pixel.
4Specifies the frequency, in hertz (cycles per second).
cDeviceName (optional)

default = empty

This parameter is either empty or a display device name return from ADisplayDevices.
An empty value specifies the current display device on the computer on which the calling thread is running.

Return Value

The number of resolutions.

See Also

Reference

ADesktopArea
ADesktops
ADisplayDevices
AWindowStations
ExpandEnvironmentStrings
GetLocaleInfoEx
GetSystemDirectory
GetWindowsDirectory
OsEx

Used WinApi functions

EnumDisplaySettings