Articles
Forums
Downloads
Autodocs
Home
/
Autodocs
/
graphics.library
NAME
OpenMonitor
open a named MonitorSpec (V36)
SYNOPSIS
mspc = OpenMonitor( monitor_name , display_id)
d0 a1 d0
struct MonitorSpec
*OpenMonitor( char *, ULONG );
FUNCTION
Locate and open a named MonitorSpec.
INPUTS
monitor_name
a pointer to a null terminated string.
display_id
an optional 32 bit monitor/mode identifier
RESULT
mspc
a pointer to an open MonitorSpec structure. NULL if MonitorSpec could not be opened.
NOTES
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.
SEE ALSO
CloseMonitor()
graphics/monitor.h