TestDeviceAttribute
GDHandle curDevice ; Handle to a GDevice record structure short attribute ; gdDevType, ramInit, mainScreen,
allInit, screenDevice, noDriver,
returns Is this a monitor, is it set?
have and whether or not it is set.
curDevice is the handle that leads to the device being tested in the gDevice
record.
attribute is one of seven graphics device characteristics that can be on or off.
attribute It is one of:
device is a display and if it's active. It does not necessarily tell if the
monitor is turned on, or if there is a monitor attached to the card.