r4493@vps: verhaegs | 2007-04-19 14:44:00 -0400
[AROS.git] / rom / graphics / modenotavailable.c
blobd4a16666432b929457d046a3713a0fd12e6ea28f
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Graphics function ModeNotAvailable()
6 Lang: english
7 */
8 #include <graphics/displayinfo.h>
9 #include <graphics/modeid.h>
11 /*****************************************************************************
13 NAME */
14 #include <proto/graphics.h>
16 AROS_LH1(ULONG, ModeNotAvailable,
18 /* SYNOPSIS */
19 AROS_LHA(ULONG, modeID, D0),
21 /* LOCATION */
22 struct GfxBase *, GfxBase, 133, Graphics)
24 /* FUNCTION
25 returns an error code, indicating why this modeID is not available,
26 or 0 if there is no reason known why this mode should not be there
28 INPUTS
29 modeID - a 32 bit DisplayInfoRecord identifier
31 RESULT
32 error - a general indication of why this modeID is not available,
33 or 0 if there is no reason why it should not be available
35 NOTES
37 EXAMPLE
39 BUGS
41 SEE ALSO
42 GetVPModeID() graphics/displayinfo.h
44 INTERNALS
46 HISTORY
49 ******************************************************************************/
51 AROS_LIBFUNC_INIT
52 AROS_LIBBASE_EXT_DECL(struct GfxBase *,GfxBase)
54 #warning Do a real check here
56 return 0;
59 AROS_LIBFUNC_EXIT
60 } /* ModeNotAvailable */