Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
32e20cbf
Commit
32e20cbf
authored
Jan 21, 2016
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 22, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices: Implement WsWriteXmlBuffer.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
44d850c2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
webservices.spec
dlls/webservices/webservices.spec
+1
-1
writer.c
dlls/webservices/writer.c
+19
-0
No files found.
dlls/webservices/webservices.spec
View file @
32e20cbf
...
...
@@ -187,7 +187,7 @@
@ stdcall WsWriteText(ptr ptr ptr)
@ stub WsWriteType
@ stub WsWriteValue
@ st
ub WsWriteXmlBuffer
@ st
dcall WsWriteXmlBuffer(ptr ptr ptr)
@ stub WsWriteXmlBufferToBytes
@ stub WsWriteXmlnsAttribute
@ stdcall WsXmlStringEquals(ptr ptr ptr)
dlls/webservices/writer.c
View file @
32e20cbf
...
...
@@ -773,3 +773,22 @@ HRESULT WINAPI WsWriteText( WS_XML_WRITER *handle, const WS_XML_TEXT *text, WS_E
elem
->
attributes
[
elem
->
attributeCount
-
1
]
->
value
=
(
WS_XML_TEXT
*
)
dst
;
return
S_OK
;
}
/**************************************************************************
* WsWriteXmlBuffer [webservices.@]
*/
HRESULT
WINAPI
WsWriteXmlBuffer
(
WS_XML_WRITER
*
handle
,
WS_XML_BUFFER
*
buffer
,
WS_ERROR
*
error
)
{
struct
writer
*
writer
=
(
struct
writer
*
)
handle
;
struct
xmlbuf
*
xmlbuf
=
(
struct
xmlbuf
*
)
buffer
;
HRESULT
hr
;
TRACE
(
"%p %p %p
\n
"
,
handle
,
buffer
,
error
);
if
(
error
)
FIXME
(
"ignoring error parameter
\n
"
);
if
(
!
writer
||
!
xmlbuf
)
return
E_INVALIDARG
;
if
((
hr
=
write_grow_buffer
(
writer
,
xmlbuf
->
size
))
!=
S_OK
)
return
hr
;
write_bytes
(
writer
,
xmlbuf
->
ptr
,
xmlbuf
->
size
);
return
S_OK
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment