Sending a Type Message

The jomSendTypeMsg call, shown in the following example, sends a message to the type of the receiver, which is the root type identified by the ClassNumber parameter.

int JOMAPI jomSendTypeMsg(const DskHandle *pHandle, 
                          ClassNumber     classNumber,
                          DskParam        *pMessage, 
                          DskParam        *pParams, 
                          DskParam        *pReturn, 
                          LineNumber      lineNo)

If a type method is defined on an imported class, the receiver is the class of the exported class (not the imported class).

2016.0.01 and higher

The parameters for this call are described in the following subsections.