define __KERNEL_STRICT_NAMES to avoid inclusion of kernel types on systems that carry...
[cake.git] / rom / graphics / openmonitor.c
blob80131fc48730678bed884d85a270d6542a7cdf05
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Graphics function OpenMonitor()
6 Lang: english
7 */
8 #include <aros/debug.h>
9 #include <graphics/monitor.h>
11 /*****************************************************************************
13 NAME */
14 #include <proto/graphics.h>
16 AROS_LH2(struct MonitorSpec *, OpenMonitor,
18 /* SYNOPSIS */
19 AROS_LHA(STRPTR, monitor_name, A1),
20 AROS_LHA(ULONG, display_id, D0),
22 /* LOCATION */
23 struct GfxBase *, GfxBase, 119, Graphics)
25 /* FUNCTION
27 INPUTS
28 monitor_name - pointer to a null terminated string
29 display_id - optional 32 bit monitor/mode identifier
31 RESULT
32 mspc - pointer to an open MonitorSpec structure
33 NULL if MonitorSpec could not be opened
35 NOTES
37 EXAMPLE
39 BUGS
41 SEE ALSO
42 CloseMonitor(), graphics/monitor.h
44 INTERNALS
46 HISTORY
49 ******************************************************************************/
51 AROS_LIBFUNC_INIT
53 #warning TODO: Write graphics/OpenMonitor()
54 aros_print_not_implemented ("OpenMonitor");
56 return NULL;
58 AROS_LIBFUNC_EXIT
59 } /* OpenMonitor */