IAPI::SaveAsFile

property SaveAsFile.

Save an XML object tree to a file.

 

HRESULT SaveAsFile(
  long hXMLObject,
  BSTR FileName,
  long *pVal
);

Parameters

hXMLObject

[in] .   Handle of XML object.

FileName

[in] .   Full filename which will contain XML tree.

pVal

[out, retval] The returned value is 0 when saving is OK or other value 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