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.

WsGetWriterProperty function

Retrieves a specified XML Writer property. The property to retrieve is identified by a WS_XML WRITER_PROPERTY_ID input parameter.

Syntax


HRESULT WINAPI  WsGetWriterProperty(
  _In_     WS_XML_WRITER*            writer,
  _In_     WS_XML_WRITER_PROPERTY_ID id,
           void*                     value,
  _In_     ULONG                     valueSize,
  _In_opt_ WS_ERROR*                 error
);

Parameters

writer [in]

A pointer to a WS_XML_WRITER structure that contains the property value to retrieve.

id [in]

This is a WS_XML_WRITER_PROPERTY_ID enumerator that identifies the property to retrieve.

value

A void pointer to a location for storing the retrieved property value.

valueSize [in]

The byte-length buffer size allocated by the caller to store the retrieved property value. The pointer must have an alignment compatible with the type of the property.

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

The property id was not supported for this object or the specified buffer was not large enough for the value.

 

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:
© 2016 Microsoft