WebSphere Message Broker, Version 8.0.0.7
Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS
See information about the latest product version
See information about the latest product version
cniLastChild
Use this function to retrieve the address of the syntax element object that is the last child of the specified syntax element.
Syntax
CciElement* cniLastChild(
int* returnCode,
CciElement* targetElement);
Parameters
- returnCode
- The return code from the function (output).Possible return codes are:
- CCI_SUCCESS
- CCI_EXCEPTION
- CCI_INV_MESSAGE_OBJECT
- targetElement
- The address of the target syntax element object (input).
Return values
- If successful, the address of the requested syntax element object is returned.
- If there is no last child, zero is returned, and returnCode is set to CCI_SUCCESS.
- If an error occurs, zero (CCI_NULL_ADDR) is returned, and the returnCode parameter indicates the reason for the error.
Example
bodyChild = cniLastChild(&rc, outRootElement);