Commit bd56d1a0 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

webservices: Implement WsOpenServiceProxy and WsCloseServiceProxy.

parent be767562
...@@ -205,3 +205,32 @@ HRESULT WINAPI WsGetServiceProxyProperty( WS_SERVICE_PROXY *handle, WS_PROXY_PRO ...@@ -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 ); 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 );
}
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
@ stdcall WsCloseChannel(ptr ptr ptr) @ stdcall WsCloseChannel(ptr ptr ptr)
@ stub WsCloseListener @ stub WsCloseListener
@ stub WsCloseServiceHost @ stub WsCloseServiceHost
@ stub WsCloseServiceProxy @ stdcall WsCloseServiceProxy(ptr ptr ptr)
@ stub WsCombineUrl @ stub WsCombineUrl
@ stub WsCopyError @ stub WsCopyError
@ stub WsCopyNode @ stub WsCopyNode
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
@ stdcall WsOpenChannel(ptr ptr ptr ptr) @ stdcall WsOpenChannel(ptr ptr ptr ptr)
@ stub WsOpenListener @ stub WsOpenListener
@ stub WsOpenServiceHost @ stub WsOpenServiceHost
@ stub WsOpenServiceProxy @ stdcall WsOpenServiceProxy(ptr ptr ptr ptr)
@ stub WsPullBytes @ stub WsPullBytes
@ stub WsPushBytes @ stub WsPushBytes
@ stub WsReadArray @ stub WsReadArray
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment