WsWriteXmlBuffer function
Writes a WS_XML_BUFFER to a writer.
Syntax
HRESULT WINAPI WsWriteXmlBuffer( _In_ WS_XML_WRITER* writer, _In_ WS_XML_BUFFER* xmlBuffer, _In_opt_ WS_ERROR* error );
Parameters
- writer [in]
-
The writer to which the XML buffer will be written.
- xmlBuffer [in]
-
The XML buffer to write.
- error [in, optional]
-
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
|
Minimum supported client | Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Header |
|
|
Library |
|
|
DLL |
|
Community Additions
ADD
Show: