webservices: Implement WsReadEndAttribute.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d2ce22ba23
commit
417ac65ef6
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2015 Hans Leidekker for CodeWeavers
|
||||
* Copyright 2015, 2016 Hans Leidekker for CodeWeavers
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
|
@ -1371,6 +1371,25 @@ HRESULT WINAPI WsReadStartAttribute( WS_XML_READER *handle, ULONG index, WS_ERRO
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
/**************************************************************************
|
||||
* WsReadEndAttribute [webservices.@]
|
||||
*/
|
||||
HRESULT WINAPI WsReadEndAttribute( WS_XML_READER *handle, WS_ERROR *error )
|
||||
{
|
||||
struct reader *reader = (struct reader *)handle;
|
||||
|
||||
TRACE( "%p %p\n", handle, error );
|
||||
if (error) FIXME( "ignoring error parameter\n" );
|
||||
|
||||
if (!reader) return E_INVALIDARG;
|
||||
|
||||
if (reader->state != READER_STATE_STARTATTRIBUTE)
|
||||
return WS_E_INVALID_FORMAT;
|
||||
|
||||
reader->state = READER_STATE_STARTELEMENT;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static WCHAR *xmltext_to_widechar( WS_HEAP *heap, const WS_XML_TEXT *text )
|
||||
{
|
||||
WCHAR *ret;
|
||||
|
|
|
@ -108,7 +108,7 @@
|
|||
@ stub WsReadChars
|
||||
@ stub WsReadCharsUtf8
|
||||
@ stub WsReadElement
|
||||
@ stub WsReadEndAttribute
|
||||
@ stdcall WsReadEndAttribute(ptr ptr)
|
||||
@ stdcall WsReadEndElement(ptr ptr)
|
||||
@ stub WsReadEndpointAddressExtension
|
||||
@ stub WsReadEnvelopeEnd
|
||||
|
|
Loading…
Reference in New Issue