Set ERROR_NO_FREE_STORE upon failure if called from a process (this is
[tangerine.git] / rom / graphics / setwritemask.c
blob76890ef5072cab9fff8f3af4b37755936d367291
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$ $Log
5 Desc: Graphics function SetWriteMask()
6 Lang: english
7 */
8 #include "graphics_intern.h"
10 /*****************************************************************************
12 NAME */
13 #include <graphics/rastport.h>
14 #include <proto/graphics.h>
16 AROS_LH2(ULONG, SetWriteMask,
18 /* SYNOPSIS */
19 AROS_LHA(struct RastPort *, rp, A0),
20 AROS_LHA(ULONG , mask, D0),
22 /* LOCATION */
23 struct GfxBase *, GfxBase, 164, Graphics)
25 /* FUNCTION
27 INPUTS
29 RESULT
31 NOTES
33 EXAMPLE
35 BUGS
37 SEE ALSO
39 INTERNALS
41 HISTORY
42 29-10-95 digulla automatically created from
43 graphics_lib.fd and clib/graphics_protos.h
45 *****************************************************************************/
47 AROS_LIBFUNC_INIT
49 #if 0
50 rp->Mask = mask;
51 return TRUE;
52 #else
53 #warning SetWriteMask not yet implemented
54 return FALSE;
55 #endif
57 AROS_LIBFUNC_EXIT
59 } /* SetWriteMask */