Check for SYS/GL during library init. Reason is that
[AROS.git] / rom / intuition / cleardmrequest.c
blobbe13b151be36d6806e0605fd78fe8f39bea31b82
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
4 $Id$
5 */
7 #include "intuition_intern.h"
9 /*****************************************************************************
11 NAME */
12 #include <proto/intuition.h>
14 AROS_LH1(BOOL, ClearDMRequest,
16 /* SYNOPSIS */
17 AROS_LHA(struct Window *, window, A0),
19 /* LOCATION */
20 struct IntuitionBase *, IntuitionBase, 8, Intuition)
22 /* FUNCTION
23 Detach the DMRequest from the window
25 INPUTS
26 window - The window from which the DMRequest is to be cleared
28 RESULT
29 TRUE if requester could successfully be detached.
31 NOTES
33 EXAMPLE
35 BUGS
37 SEE ALSO
38 SetDMRequest(), Request()
40 INTERNALS
42 *****************************************************************************/
44 AROS_LIBFUNC_INIT
46 return SetDMRequest(window, NULL);
48 AROS_LIBFUNC_EXIT
49 } /* ClearDMRequest */