[Contents] [Index] [Help] [Retrace] [browse <] [Browse >]


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

RESULTS
    mspc - a pointer to an open monitorspec structure.
           NULL if monitorspec could not  be opened.

NOTE
    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.

BUGS

SEE ALSO
    closemonitor() graphics/monitor.h