WsFreeWriter function (webservices.h)

Releases the memory resource associated with an XML Writer object.

Syntax

void WsFreeWriter(
  [in] WS_XML_WRITER *writer
);

Parameters

[in] writer

A pointer to the XML Writer object to release. The pointer must reference a valid WS_XML_WRITER object returned by WsCreateWriter and the referenced value may not be NULL.

Return value

None

Remarks

If necessary, WsFlushWriter should be called before calling WsFreeWriter to guarantee all data is emitted.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header webservices.h
Library WebServices.lib
DLL WebServices.dll