Move a subtree from the source DOM tree component into the destination DOM tree.
The subtree to be moved can be placed anywhere into the destination DOM tree. The pParent parameter is a node in the destination DOM tree.
- Parameters
-
pParent | [ in ] Can be NULL. A node in the destination DOM tree. The pMoveNode becomes a child of this node. If this parameter is NULL then, pMoveNode becomes the child of the tree root node. |
pMoveNode | [ in ] A node from another DOM tree. That node and all its children are moved into the destination DOM tree. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | A successful call to intialize() must be made before calling this funciton. |
P6R::eInvalidArg | pMoveNode parameters is NULL. |
P6R::eInvalidState | Either source or destination DOM tree is corrupted. |
P6R::eTooSmall | The tree pointed to by pMoveNode is empty. |