webservices: Implement WsReadMessageEnd.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ccdd9cb1ce
commit
84dcb316b9
|
@ -1078,6 +1078,35 @@ HRESULT WINAPI WsReadMessageStart( WS_CHANNEL *handle, WS_MESSAGE *msg, const WS
|
||||||
return hr;
|
return hr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**************************************************************************
|
||||||
|
* WsReadMessageEnd [webservices.@]
|
||||||
|
*/
|
||||||
|
HRESULT WINAPI WsReadMessageEnd( WS_CHANNEL *handle, WS_MESSAGE *msg, const WS_ASYNC_CONTEXT *ctx,
|
||||||
|
WS_ERROR *error )
|
||||||
|
{
|
||||||
|
struct channel *channel = (struct channel *)handle;
|
||||||
|
HRESULT hr;
|
||||||
|
|
||||||
|
TRACE( "%p %p %p %p\n", handle, msg, ctx, error );
|
||||||
|
if (error) FIXME( "ignoring error parameter\n" );
|
||||||
|
if (ctx) FIXME( "ignoring ctx parameter\n" );
|
||||||
|
|
||||||
|
if (!channel || !msg) return E_INVALIDARG;
|
||||||
|
|
||||||
|
EnterCriticalSection( &channel->cs );
|
||||||
|
|
||||||
|
if (channel->magic != CHANNEL_MAGIC)
|
||||||
|
{
|
||||||
|
LeaveCriticalSection( &channel->cs );
|
||||||
|
return E_INVALIDARG;
|
||||||
|
}
|
||||||
|
|
||||||
|
hr = WsReadEnvelopeEnd( msg, NULL );
|
||||||
|
|
||||||
|
LeaveCriticalSection( &channel->cs );
|
||||||
|
return hr;
|
||||||
|
}
|
||||||
|
|
||||||
HRESULT channel_accept_tcp( SOCKET socket, WS_CHANNEL *handle )
|
HRESULT channel_accept_tcp( SOCKET socket, WS_CHANNEL *handle )
|
||||||
{
|
{
|
||||||
struct channel *channel = (struct channel *)handle;
|
struct channel *channel = (struct channel *)handle;
|
||||||
|
|
|
@ -113,7 +113,7 @@
|
||||||
@ stub WsReadEndpointAddressExtension
|
@ stub WsReadEndpointAddressExtension
|
||||||
@ stdcall WsReadEnvelopeEnd(ptr ptr)
|
@ stdcall WsReadEnvelopeEnd(ptr ptr)
|
||||||
@ stdcall WsReadEnvelopeStart(ptr ptr ptr ptr ptr)
|
@ stdcall WsReadEnvelopeStart(ptr ptr ptr ptr ptr)
|
||||||
@ stub WsReadMessageEnd
|
@ stdcall WsReadMessageEnd(ptr ptr ptr ptr)
|
||||||
@ stdcall WsReadMessageStart(ptr ptr ptr ptr)
|
@ stdcall WsReadMessageStart(ptr ptr ptr ptr)
|
||||||
@ stub WsReadMetadata
|
@ stub WsReadMetadata
|
||||||
@ stdcall WsReadNode(ptr ptr)
|
@ stdcall WsReadNode(ptr ptr)
|
||||||
|
|
Loading…
Reference in New Issue