Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Writes a WS_XML_BUFFER to a writer.
Syntax
HRESULT WsWriteXmlBuffer( [in] WS_XML_WRITER *writer, [in] WS_XML_BUFFER *xmlBuffer, [in, optional] WS_ERROR *error ); Parameters
[in] writer
The writer to which the XML buffer will be written.
[in] xmlBuffer
The XML buffer to write.
[in, optional] error
Specifies where additional error information should be stored if the function fails.
Return value
This function can return one of these values.
| Return code | Description |
|---|---|
| One or more arguments are invalid. |
| The operation is not allowed due to the current state of the object. |
| A quota was exceeded. |
Remarks
The function will copy the entire contents of the WS_XML_BUFFER to the writer at the current position.
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 |