WebSphere Message Brokers
File: as07770_
Writer: Lorraine Waitt

Reference topic

This build: July 31, 2007 21:37:30

cniAddasFirstChild

Adds an unattached syntax element as the first child of a specified syntax element. The currently unattached syntax element, and any child elements it possesses, is connected to the syntax element tree as the first child of the specified target element. The target element need not be attached to a tree.

Syntax

void cniAddAsFirstChild(
  int*         returnCode,
  CciElement*  targetElement,
  CciElement*  newElement);

Parameters

returnCode
The return code from the function (output).
Possible return codes are:
  • CCI_SUCCESS
  • CCI_EXCEPTION
  • CCI_INV_ELEMENT_OBJECT
targetElement
The address of the target syntax element object (input).
newElement
The address of the new syntax element object that is to be added to the tree structure (input).

Return values

None. If an error occurs, the returnCode parameter indicates the reason for the error.

Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:37:30

as07770_ This topic's URL is: