Set ERROR_NO_FREE_STORE upon failure if called from a process (this is
[tangerine.git] / rom / graphics / videocontrol.c
blob8911ec6aef16f1b7f8870f253ed4ef00d7204637
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Graphics function VideoControl()
6 Lang: english
7 */
8 #include <aros/debug.h>
9 #include <graphics/view.h>
10 #include <utility/tagitem.h>
12 /*****************************************************************************
14 NAME */
15 #include <proto/graphics.h>
17 AROS_LH2(ULONG, VideoControl,
19 /* SYNOPSIS */
20 AROS_LHA(struct ColorMap *, cm, A0),
21 AROS_LHA(struct TagItem *, tags, A1),
23 /* LOCATION */
24 struct GfxBase *, GfxBase, 118, Graphics)
26 /* FUNCTION
28 INPUTS
29 cm - pointer to struct ColorMap obtained via GetColorMap()
30 tags - pointer to a table of videocontrol tagitems
32 RESULT
33 error - 0 if no error ocurred in the control operation
34 non-0 if bad colormap pointer, no tagitems or bad tag
35 NOTES
37 EXAMPLE
39 BUGS
41 SEE ALSO
43 INTERNALS
45 HISTORY
48 ******************************************************************************/
50 AROS_LIBFUNC_INIT
52 #warning TODO: Write graphics/VideoControl()
53 aros_print_not_implemented ("VideoControl");
55 return 1;
57 AROS_LIBFUNC_EXIT
58 } /* VideoControl */