Invoke a function defined in an external component (e.g., an XSLT function).
Any strings that are returned by the external function need to be copied if the caller needs to keep the value. The external function is responsible for the freeing of any returned string value.
p6IXMLNode are referenced counted. If the caller needs to keep the object around then if should do an "addref()" on that object.
- Parameters
-
pFuncName | [ in ] The function name to execute |
funcLength | [ in ] Length of the function name not including parameters (e.g., func1( a , b ), length is 5). |
pParams | [ in ] An array of parameter values |
numParams | [ in ] Number of entries in the pParams array (arity) |
pVarValue | [ out ] A p6IXMLNode or string that is the result of the function execution. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | One of the parameters is NULL. | P6R::eNotFound | No matching variable can be found. |