Expand Minimize

WsGetReaderPosition function

Returns the current position of the reader. This can only be used on a reader that is set to an XmlBuffer.

Syntax


HRESULT WINAPI  WsGetReaderPosition(
  _In_      WS_XML_READER* reader,
  _Out_     WS_XML_NODE_POSITION* *nodePosition,
  _In_opt_  WS_ERROR* error
);

Parameters

reader [in]

The reader for which the current position will be obtained.

nodePosition [out]

The current position of the reader.

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 codeDescription
E_INVALIDARG

One or more arguments are invalid.

 

Remarks

See WS_XML_NODE_POSITION for more information on using positions.

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. All rights reserved.