IAPI::AppendNewXMLElement

property AppendNewXMLElement. (since v2.37.3)

Appends a new element to an XML object.

 

 

HRESULT AppendNewXMLElement(
  Long hXMLObject,
  BSTR xmlAsFileOrString,
  long *pVal
);

Parameters

hXMLObject

[in] .   Handle of XML object, created by CreateXMLObject(…)

xmlElemet

[in] .   A new XML element such as “<element_name>blablabla…</element_name>

pVal

[out, retval] The returned value is 1 if succeeded or 0 if failed

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI