webservices: Return the number of bytes written from WsWriteXmlBufferToBytes.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
04c52f1467
commit
da5c332c92
|
@ -1929,6 +1929,7 @@ HRESULT WINAPI WsWriteXmlBufferToBytes( WS_XML_WRITER *handle, WS_XML_BUFFER *bu
|
|||
if (!(buf = ws_alloc( heap, xmlbuf->size ))) return WS_E_QUOTA_EXCEEDED;
|
||||
memcpy( buf, xmlbuf->ptr, xmlbuf->size );
|
||||
*bytes = buf;
|
||||
*size = xmlbuf->size;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue