[v2 04/10] webservices: Return the number of bytes written from WsWriteXmlBufferToBytes.

Hans Leidekker hans at codeweavers.com
Fri Jul 8 03:20:33 CDT 2016


Signed-off-by: Hans Leidekker <hans at codeweavers.com>
---
 dlls/webservices/writer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/webservices/writer.c b/dlls/webservices/writer.c
index 50cd398..45c5021 100644
--- a/dlls/webservices/writer.c
+++ b/dlls/webservices/writer.c
@@ -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;
 }
 
-- 
2.1.4




More information about the wine-patches mailing list