Skip to content

Latest commit

 

History

History
107 lines (84 loc) · 3.22 KB

nf-webservices-wssetoutputtobuffer.md

File metadata and controls

107 lines (84 loc) · 3.22 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:webservices.WsSetOutputToBuffer
WsSetOutputToBuffer function (webservices.h)
This operation positions the Writer at the end of the specified buffer.
WsSetOutputToBuffer
WsSetOutputToBuffer function [Web Services for Windows]
webservices/WsSetOutputToBuffer
wsw.wssetoutputtobuffer
wsw\wssetoutputtobuffer.htm
wsw
b969700d-7145-45eb-ad4b-c6e643975709
12/05/2018
WsSetOutputToBuffer, WsSetOutputToBuffer function [Web Services for Windows], webservices/WsSetOutputToBuffer, wsw.wssetoutputtobuffer
webservices.h
Windows
Windows 7 [desktop apps \| UWP apps]
Windows Server 2008 R2 [desktop apps \| UWP apps]
WebServices.lib
WebServices.dll
Windows
19H1
WsSetOutputToBuffer
webservices/WsSetOutputToBuffer
c++
APIRef
kbSyntax
DllExport
WebServices.dll
WsSetOutputToBuffer

WsSetOutputToBuffer function

-description

This operation positions the Writer at the end of the specified buffer.

When an XML Writer has an XML Buffer set as output the Writer can be used in a "random access" fashion and the functions WsGetWriterPosition, WsSetWriterPosition and WsMoveWriter can be used.

Properties specified for this function override those specified with the WsCreateWriter function.

Note  See WsCreateWriter for the default values of the properties of the writer.

 

-parameters

-param writer [in]

A pointer to the WS_XML_WRITER object for which the output is set. The pointer must reference a valid XML Writer object.

-param buffer [in]

A pointer to the buffer where the Writer sends the data.

-param properties

A WS_XML_WRITER_PROPERTY pointer that references an "array" of optional Writer properties.

-param propertyCount [in]

The number of properties.

-param error [in, optional]

A pointer to a WS_ERROR object where additional information about the error should be stored if the function fails.

-returns

This function can return one of these values.

Return code Description
E_INVALIDARG
One or more arguments are invalid.

-remarks

See WsCreateWriter for the default values of the properties of the writer.