2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
9 /*****************************************************************************
14 #include <proto/exec.h>
16 AROS_LH1(VOID
, DisposeCxMsg
,
20 AROS_LHA(CxMsg
*, cxm
, A0
),
24 struct Library
*, CxBase
, 28, Commodities
)
28 Delete the commodity message 'cxm'. This function can be used to
29 swallow all InputEvents by disposing every commodity message of type
34 cxm - the commodity message to delete (must NOT be NULL)
40 This function can only be used within the context of the input handler,
41 and not from within a commodities' context; that is if you for instance
42 get a CXM_IEVENT CxMsg from a commodity sender object, you must
43 ReplyMsg() it instead of Disposing it.
57 ******************************************************************************/
62 Remove((struct Node
*)cxm
);
63 FreeCxStructure(cxm
, CX_MESSAGE
, CxBase
);