Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WsEndWriterCanonicalization function

This function stops XML canonicalization started by the preceding WsStartWriterCanonicalization call. Remaining canonical bytes buffered by the writer are written to the callback function.

Syntax


HRESULT WINAPI  WsEndWriterCanonicalization(
  _In_     WS_XML_WRITER* writer,
  _In_opt_ WS_ERROR*      error
);

Parameters

writer [in]

A pointer to a WS_XML_WRITER object on which canonicalization should be stopped.

error [in, optional]

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

Return value

This function can return one of these values.

Return codeDescription
E_INVALIDARG

One or more arguments are invalid.

WS_E_INVALID_OPERATION

The operation is not allowed due to the current state of the object.

 

Remarks

WsEndWriterCanonicalization must be called at the same depth at which WsStartWriterCanonicalization was called.

It is not necessary to call WsEndWriterCanonicalization in order to call WsFreeWriter.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

WebServices.h

Library

WebServices.lib

DLL

WebServices.dll

 

 

Community Additions

Show:
© 2017 Microsoft