2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
9 /*****************************************************************************
14 #include <proto/commodities.h>
16 AROS_LH1I(APTR
, CxMsgData
,
20 AROS_LHA(CxMsg
*, cxm
, A0
),
24 struct Library
*, CxBase
, 24, Commodities
)
28 Get the data of a commodities message. Messages can be sent from
29 both sender object and custom object. In the first case the data is
30 no longer valid after you replied to the message.
34 cxm - the message the data of which is to be retrieved (may be NULL).
38 A pointer to the message's data or NULL if message was NULL. The type
39 of the data depends on the type of the message.
49 cx_lib/CxSender(), cx_lib/CxCustom()
55 ******************************************************************************/
60 return (cxm
== NULL
) ? NULL
: cxm
->cxm_Data
;