From 7c60c0169d936f567c92968ee401c6e3f2a9371e Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Fri, 22 Apr 2016 09:42:43 +0200 Subject: [PATCH] webservices: Implement WsGetServiceProxyProperty. Signed-off-by: Hans Leidekker Signed-off-by: Alexandre Julliard --- dlls/webservices/proxy.c | 14 ++++++++++++++ dlls/webservices/webservices.spec | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/dlls/webservices/proxy.c b/dlls/webservices/proxy.c index 169f89a75c9..b0c09f5673e 100644 --- a/dlls/webservices/proxy.c +++ b/dlls/webservices/proxy.c @@ -131,3 +131,17 @@ void WINAPI WsFreeServiceProxy( WS_SERVICE_PROXY *handle ) TRACE( "%p\n", handle ); free_proxy( proxy ); } + +/************************************************************************** + * WsGetServiceProxyProperty [webservices.@] + */ +HRESULT WINAPI WsGetServiceProxyProperty( WS_SERVICE_PROXY *handle, WS_PROXY_PROPERTY_ID id, + void *buf, ULONG size, WS_ERROR *error ) +{ + struct proxy *proxy = (struct proxy *)handle; + + TRACE( "%p %u %p %u %p\n", handle, id, buf, size, error ); + if (error) FIXME( "ignoring error parameter\n" ); + + return prop_get( proxy->prop, proxy->prop_count, id, buf, size ); +} diff --git a/dlls/webservices/webservices.spec b/dlls/webservices/webservices.spec index d47a0e1a41d..81c7c873ca5 100644 --- a/dlls/webservices/webservices.spec +++ b/dlls/webservices/webservices.spec @@ -86,7 +86,7 @@ @ stub WsGetSecurityContextProperty @ stub WsGetSecurityTokenProperty @ stub WsGetServiceHostProperty -@ stub WsGetServiceProxyProperty +@ stdcall WsGetServiceProxyProperty(ptr long ptr long ptr) @ stub WsGetWriterPosition @ stdcall WsGetWriterProperty(ptr long ptr long ptr) @ stdcall WsGetXmlAttribute(ptr ptr ptr ptr ptr ptr)