Expand Minimize

WsEndReaderCanonicalization function

This function stops XML canonicalization started by a preceding WsStartReaderCanonicalization function call. Any remaining canonical bytes buffered by the reader will be written to the callback function.

Syntax


HRESULT WINAPI  WsEndReaderCanonicalization(
  _In_      WS_XML_READER* reader,
  _In_opt_  WS_ERROR* error
);

Parameters

reader [in]

A pointer to the XML reader 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

WsEndReaderCanonicalization must be called at the same depth at which WsStartReaderCanonicalization was called.

It is not necessary to call WsEndReaderCanonicalization in order to call WsFreeReader.

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

ADD
Show:
© 2014 Microsoft