Updated PCI IDs to latest snapshot.
[tangerine.git] / workbench / libs / commodities / cxmsgid.c
blob70f4182c8987756a0b824bf19c3118a1857fce30
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: English
7 */
9 /*****************************************************************************
11 NAME */
13 #include "cxintern.h"
14 #include <proto/commodities.h>
16 AROS_LH1I(LONG, CxMsgID,
18 /* SYNOPSIS */
20 AROS_LHA(CxMsg *, cxm, A0),
22 /* LOCATION */
24 struct Library *, CxBase, 25, Commodities)
26 /* FUNCTION
28 Retrieve the ID of a certain CxMsg 'cxm'. (IDs for sender and custom
29 objects are supplied by the user when the objects are created.)
31 INPUTS
33 cxm -- the message in question (may NOT be NULL)
35 RESULT
37 The ID of the message 'cxm'. If not specified by the application the ID
38 is 0.
40 NOTES
42 EXAMPLE
44 BUGS
46 SEE ALSO
48 cx_lib/CxSender(), cx_lib/CxCustom()
50 INTERNALS
52 HISTORY
54 ******************************************************************************/
57 AROS_LIBFUNC_INIT
59 return cxm->cxm_ID;
61 AROS_LIBFUNC_EXIT
62 } /* CxMsgID */