Sets up the component to run properly.
Nodes that are created with the following types: { P6XML_DYNAMICLEAF, P6XML_DYNAMICNONLEAF, P6XML_DYNAMICCHARS } have a special feature. When these nodes are freed all their children are also automatically freed.
- Parameters:
-
| flags | [IN] Set perferences for the new object. These preferences are fixed during the lifetime of the object. |
| type | [IN] The purpose of this node (e.g., does it hold an attribute, or just characters of the document) |
| bDynamic | [IN] Has the node been created directly via a p6CreateInstance call. |
| nodeId | [IN] A unique numeric id for the node |
- Returns:
Success | P6R::eOk | |
Failure | P6R::eNoMemory | Insuffficient memory to properly initialize the component |
P6R::eAlreadyInitialized | Can only be called once successfully. |