Expand Minimize

WsGetServiceProxyProperty function

This function retrieves a specified Service Proxy property. The property to retrieve is identified by a WS_PROXY_PROPERTY_ID input parameter.

Syntax


HRESULT WINAPI  WsGetServiceProxyProperty(
  _In_      WS_SERVICE_PROXY* serviceProxy,
  _In_      const WS_PROXY_PROPERTY_ID id,
  void* value,
  _In_      ULONG valueSize,
  _In_opt_  WS_ERROR* error
);

Parameters

serviceProxy [in]

This parameter is a pointer to the WS_SERVICE_PROXY object containing the property to retrieve.

id [in]

The value of this parameter is a WS_PROXY_PROPERTY_ID enumerator value that identifies the property to retrieve.

value

This parameter is a reference to a location for storing the retrieved property value. The pointer must have an alignment compatible with the type of the property.

valueSize [in]

The value of this ULONG parameter represents the byte-length buffer size allocated by the caller to store the retrieved property value.

error [in, optional]

This parameter is a WS_ERROR pointer to 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.

 

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