Stores information about the display devices in the current session into an array.
ADisplayDevices(cArrayName [, cDeviceName])
Parameters
- cArrayName
The name of the array as a string into which the function should store the information.
On return the array contains the following values from the DISPLAY_DEVICE structure. Column Content Datatype 1 DeviceString C 2 DeviceName C 3 DeviceID C 4 DeviceKey C 5 StateFlags N
- cDeviceName (optional)
default = NULL
A device name. If NULL, function returns information for the display adapter(s) on the machine,.
For more information, see Remarks.
Return Value
The number of display devices.
Remarks
Have a look at the remarks section for the EnumDisplayDevices API on how to retrieve
information for monitors etc ...
See Also
Reference
ADesktopArea
ADesktops
AResolutions
AWindowStations
ExpandEnvironmentStrings
GetLocaleInfoEx
GetSystemDirectory
GetWindowsDirectory
OsEx