webservices: Implement WsWriteEndAttribute.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
919b1b5fdc
commit
112e1af5f1
|
@ -171,7 +171,7 @@
|
||||||
@ stub WsWriteChars
|
@ stub WsWriteChars
|
||||||
@ stub WsWriteCharsUtf8
|
@ stub WsWriteCharsUtf8
|
||||||
@ stub WsWriteElement
|
@ stub WsWriteElement
|
||||||
@ stub WsWriteEndAttribute
|
@ stdcall WsWriteEndAttribute(ptr ptr)
|
||||||
@ stub WsWriteEndCData
|
@ stub WsWriteEndCData
|
||||||
@ stdcall WsWriteEndElement(ptr ptr)
|
@ stdcall WsWriteEndElement(ptr ptr)
|
||||||
@ stdcall WsWriteEndStartElement(ptr ptr)
|
@ stdcall WsWriteEndStartElement(ptr ptr)
|
||||||
|
|
|
@ -565,6 +565,23 @@ static HRESULT write_endelement( struct writer *writer )
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**************************************************************************
|
||||||
|
* WsWriteEndAttribute [webservices.@]
|
||||||
|
*/
|
||||||
|
HRESULT WINAPI WsWriteEndAttribute( WS_XML_WRITER *handle, WS_ERROR *error )
|
||||||
|
{
|
||||||
|
struct writer *writer = (struct writer *)handle;
|
||||||
|
|
||||||
|
TRACE( "%p %p\n", handle, error );
|
||||||
|
if (error) FIXME( "ignoring error parameter\n" );
|
||||||
|
|
||||||
|
if (!writer) return E_INVALIDARG;
|
||||||
|
if (writer->state != WRITER_STATE_STARTATTRIBUTE) return WS_E_INVALID_OPERATION;
|
||||||
|
|
||||||
|
writer->state = WRITER_STATE_STARTELEMENT;
|
||||||
|
return S_OK;
|
||||||
|
}
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
* WsWriteEndElement [webservices.@]
|
* WsWriteEndElement [webservices.@]
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue