Creates a new output message object. For every call to this function, there should be a matching call to cniDeleteMessage to return allocated resources when the processing on the output message has been completed.
If successful, the address of the message object is returned. Otherwise, a value of zero (CCI_NULL_ADDR) is returned, and the returnCode parameter indicates the reason for the error.
outMsg = cniCreateMessage(&rc, cniGetMessageContext(&rc, message));
Related concepts
User-defined Input nodes
User-defined message processing nodes
User-defined output nodes
Related tasks
Creating an input node in C
Creating a message processing node in C
Related reference
C language node utility functions
cniDeleteMessage
cniEvaluate
cniFinalize
cniGetEnvironmentMessage
cniGetMessageContext
cniPropagate
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
as07570_ |