[09/10] webservices: Implement WsOpenServiceProxy and WsCloseServiceProxy.
Hans Leidekker
hans at codeweavers.com
Fri Apr 22 02:42:46 CDT 2016
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
---
dlls/webservices/proxy.c | 29 +++++++++++++++++++++++++++++
dlls/webservices/webservices.spec | 4 ++--
2 files changed, 31 insertions(+), 2 deletions(-)
diff --git a/dlls/webservices/proxy.c b/dlls/webservices/proxy.c
index 1563ac9..02ae96d 100644
--- a/dlls/webservices/proxy.c
+++ b/dlls/webservices/proxy.c
@@ -205,3 +205,32 @@ HRESULT WINAPI WsGetServiceProxyProperty( WS_SERVICE_PROXY *handle, WS_PROXY_PRO
return prop_get( proxy->prop, proxy->prop_count, id, buf, size );
}
+
+/**************************************************************************
+ * WsOpenServiceProxy [webservices.@]
+ */
+HRESULT WINAPI WsOpenServiceProxy( WS_SERVICE_PROXY *handle, const WS_ENDPOINT_ADDRESS *endpoint,
+ const WS_ASYNC_CONTEXT *ctx, WS_ERROR *error )
+{
+ struct proxy *proxy = (struct proxy *)handle;
+
+ TRACE( "%p %p %p %p\n", handle, endpoint, ctx, error );
+ if (error) FIXME( "ignoring error parameter\n" );
+ if (ctx) FIXME( "ignoring ctx parameter\n" );
+
+ return open_channel( proxy->channel, endpoint );
+}
+
+/**************************************************************************
+ * WsCloseServiceProxy [webservices.@]
+ */
+HRESULT WINAPI WsCloseServiceProxy( WS_SERVICE_PROXY *handle, const WS_ASYNC_CONTEXT *ctx, WS_ERROR *error )
+{
+ struct proxy *proxy = (struct proxy *)handle;
+
+ TRACE( "%p %p %p\n", handle, ctx, error );
+ if (error) FIXME( "ignoring error parameter\n" );
+ if (ctx) FIXME( "ignoring ctx parameter\n" );
+
+ return close_channel( proxy->channel );
+}
diff --git a/dlls/webservices/webservices.spec b/dlls/webservices/webservices.spec
index 95a8c1f..5ed9351 100644
--- a/dlls/webservices/webservices.spec
+++ b/dlls/webservices/webservices.spec
@@ -16,7 +16,7 @@
@ stdcall WsCloseChannel(ptr ptr ptr)
@ stub WsCloseListener
@ stub WsCloseServiceHost
-@ stub WsCloseServiceProxy
+@ stdcall WsCloseServiceProxy(ptr ptr ptr)
@ stub WsCombineUrl
@ stub WsCopyError
@ stub WsCopyNode
@@ -98,7 +98,7 @@
@ stdcall WsOpenChannel(ptr ptr ptr ptr)
@ stub WsOpenListener
@ stub WsOpenServiceHost
-@ stub WsOpenServiceProxy
+@ stdcall WsOpenServiceProxy(ptr ptr ptr ptr)
@ stub WsPullBytes
@ stub WsPushBytes
@ stub WsReadArray
--
2.8.0.rc3
More information about the wine-patches
mailing list