Docs » Autodocs » graphics.library » OpenMonitor
OpenMonitor -- open a named MonitorSpec (V36)
mspc = OpenMonitor( monitor_name , display_id) d0 a1 d0 struct MonitorSpec *OpenMonitor( char *, ULONG );
Locate and open a named MonitorSpec.
monitor_name - a pointer to a null terminated string. display_id - an optional 32 bit monitor/mode identifier
mspc - a pointer to an open MonitorSpec structure. NULL if MonitorSpec could not be opened.
if monitor_name is non-NULL, the monitor will be opened by name. if monitor_name is NULL the monitor will be opened by optional ID. if both monitor_name and display_id are NULL returns default monitor.
CloseMonitor(), <graphics/monitor.h>
|