Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
804e9b60
Commit
804e9b60
authored
Apr 25, 2017
by
Hans Leidekker
Committed by
Alexandre Julliard
Apr 25, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices: Implement WsWriteMessageEnd.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6d4f8316
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
1 deletion
+30
-1
channel.c
dlls/webservices/channel.c
+29
-0
webservices.spec
dlls/webservices/webservices.spec
+1
-1
No files found.
dlls/webservices/channel.c
View file @
804e9b60
...
...
@@ -1139,6 +1139,35 @@ done:
return
hr
;
}
/**************************************************************************
* WsWriteMessageEnd [webservices.@]
*/
HRESULT
WINAPI
WsWriteMessageEnd
(
WS_CHANNEL
*
handle
,
WS_MESSAGE
*
msg
,
const
WS_ASYNC_CONTEXT
*
ctx
,
WS_ERROR
*
error
)
{
struct
channel
*
channel
=
(
struct
channel
*
)
handle
;
HRESULT
hr
;
TRACE
(
"%p %p %p %p
\n
"
,
handle
,
msg
,
ctx
,
error
);
if
(
error
)
FIXME
(
"ignoring error parameter
\n
"
);
if
(
ctx
)
FIXME
(
"ignoring ctx parameter
\n
"
);
if
(
!
channel
||
!
msg
)
return
E_INVALIDARG
;
EnterCriticalSection
(
&
channel
->
cs
);
if
(
channel
->
magic
!=
CHANNEL_MAGIC
)
{
LeaveCriticalSection
(
&
channel
->
cs
);
return
E_INVALIDARG
;
}
if
((
hr
=
WsWriteEnvelopeEnd
(
msg
,
NULL
))
==
S_OK
)
hr
=
send_message
(
channel
,
msg
);
LeaveCriticalSection
(
&
channel
->
cs
);
return
hr
;
}
HRESULT
channel_accept_tcp
(
SOCKET
socket
,
WS_CHANNEL
*
handle
)
{
struct
channel
*
channel
=
(
struct
channel
*
)
handle
;
...
...
dlls/webservices/webservices.spec
View file @
804e9b60
...
...
@@ -177,7 +177,7 @@
@ stdcall WsWriteEndStartElement(ptr ptr)
@ stdcall WsWriteEnvelopeEnd(ptr ptr)
@ stdcall WsWriteEnvelopeStart(ptr ptr ptr ptr ptr)
@ st
ub WsWriteMessageEnd
@ st
dcall WsWriteMessageEnd(ptr ptr ptr ptr)
@ stdcall WsWriteMessageStart(ptr ptr ptr ptr)
@ stdcall WsWriteNode(ptr ptr ptr)
@ stub WsWriteQualifiedName
...
...
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