Commit da5c332c authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

webservices: Return the number of bytes written from WsWriteXmlBufferToBytes.

parent 04c52f14
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment