NAME
    CxMsgType -- obtain the type of a commodity message. (V36)
SYNOPSIS
    type = CxMsgType(cxm);
                     A0
    ULONG CxMsgType(struct CxMsg *);
FUNCTION
    This function returns the type of a commodity message. Possible values
    of 'type' are defined in <libraries/commodities.h>. Most commodity
    messages are of type CXM_IEVENT.
INPUTS
    cxm - the commodity message to inquire about
RESULTS
    type - the type of the commodity message, possible values are defined
           in <libraries/commodities.h>