Use this function to delete the specified message object. For every call to the cniCreateMessage function, you must include a matching call to cniDeleteMessage to return allocated resources when the processing on the output message has been completed.
void cniDeleteMessage(
int* returnCode,
CciMessage* message);
None. If an error occurs, the returnCode parameter indicates the reason for the error.
cniDeleteMessage(0, outMsg);