Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Latest commit

 

History

History
40 lines (24 loc) · 886 Bytes

File metadata and controls

40 lines (24 loc) · 886 Bytes

NAME

OpenMonitor -- open a named MonitorSpec (V36)

SYNOPSIS

    mspc = OpenMonitor( monitor_name , display_id)
     d0                  a1              d0

    struct MonitorSpec *OpenMonitor( char *, ULONG );

Links: MonitorSpec

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