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. |