define __KERNEL_STRICT_NAMES to avoid inclusion of kernel types on systems that carry...
[cake.git] / rom / intuition / cleardmrequest.c
blob8bfc06b3064a6f85fddbf183da2d9f2183ced8bd
1 /*
2 Copyright © 1995-2007, 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 HISTORY
44 *****************************************************************************/
46 AROS_LIBFUNC_INIT
48 return SetDMRequest(window, NULL);
50 AROS_LIBFUNC_EXIT
51 } /* ClearDMRequest */