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
5f7372af
Commit
5f7372af
authored
Dec 04, 2018
by
Hans Leidekker
Committed by
Alexandre Julliard
Dec 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices: Implement WsFlushBody.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
953eea35
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
1 deletion
+28
-1
msg.c
dlls/webservices/msg.c
+27
-0
webservices.spec
dlls/webservices/webservices.spec
+1
-1
No files found.
dlls/webservices/msg.c
View file @
5f7372af
...
...
@@ -831,6 +831,33 @@ done:
return
hr
;
}
/**************************************************************************
* WsFlushBody [webservices.@]
*/
HRESULT
WINAPI
WsFlushBody
(
WS_MESSAGE
*
handle
,
ULONG
size
,
const
WS_ASYNC_CONTEXT
*
ctx
,
WS_ERROR
*
error
)
{
struct
msg
*
msg
=
(
struct
msg
*
)
handle
;
HRESULT
hr
;
TRACE
(
"%p %u %p %p
\n
"
,
handle
,
size
,
ctx
,
error
);
if
(
!
msg
)
return
E_INVALIDARG
;
EnterCriticalSection
(
&
msg
->
cs
);
if
(
msg
->
magic
!=
MSG_MAGIC
)
{
LeaveCriticalSection
(
&
msg
->
cs
);
return
E_INVALIDARG
;
}
hr
=
WsFlushWriter
(
msg
->
writer_body
,
size
,
ctx
,
error
);
LeaveCriticalSection
(
&
msg
->
cs
);
TRACE
(
"returning %08x
\n
"
,
hr
);
return
hr
;
}
static
BOOL
match_current_element
(
WS_XML_READER
*
reader
,
const
WS_XML_STRING
*
localname
)
{
const
WS_XML_NODE
*
node
;
...
...
dlls/webservices/webservices.spec
View file @
5f7372af
...
...
@@ -46,7 +46,7 @@
@ stdcall WsFillBody(ptr long ptr ptr)
@ stdcall WsFillReader(ptr long ptr ptr)
@ stdcall WsFindAttribute(ptr ptr ptr long ptr ptr)
@ st
ub WsFlushBody
@ st
dcall WsFlushBody(ptr long ptr ptr)
@ stdcall WsFlushWriter(ptr long ptr ptr)
@ stdcall WsFreeChannel(ptr)
@ stdcall WsFreeError(ptr)
...
...
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