Sets up the component to run properly.
- Parameters
-
flags | [ in ] Set perferences for the new object. These preferences are fixed during the lifetime of the object. |
pErrorResult | [ in ] Created by the caller, any errors found during parsing are returned to this stream. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNoMemory | Insuffficient memory to properly initialize the component |
P6R::eInvalidArg | pErrorResult is NULL. |
P6R::eNotSupported | flags value: P6DOMXML_USEJSON cannot be set with P6DOMXML_USERPARSER |
P6R::eAlreadyInitialized | Can only be called once successfully. |