SK_XmlDocumentDispose Function

Disposes an XML document, which clears it from memory and sets it's pointer to NULL (0).

Syntax

C/C++
SK_ResultCode SK_XmlDocumentDispose(int flags, SK_XmlDoc *xml);
Visual Basic
Declare Function SK_XmlDocumentDispose(ByVal flags As Long, ByRef xml As Long) As Long

Arguments

flags
Any flags passed into this function-call.
xml
Reference/pointer to a SK_XmlDoc handle, which points to the XML document to dispose.

Returns

All possible return values are included in the SK_ResultCode enumeration. Return codes to expect include:

Result Code Description
SK_ResultCode.SK_ERROR_NONE No error.
SK_ResultCode.SK_ERROR_INVALID_ARGUMENTS Some or all of the arguments are invalid.