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
a81671b5
Commit
a81671b5
authored
Dec 08, 2017
by
Hans Leidekker
Committed by
Alexandre Julliard
Dec 08, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices: Store the async context directly in struct receive_message.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f5ac0ced
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
channel.c
dlls/webservices/channel.c
+5
-5
No files found.
dlls/webservices/channel.c
View file @
a81671b5
...
...
@@ -1847,7 +1847,7 @@ struct receive_message
void
*
value
;
ULONG
size
;
ULONG
*
index
;
const
WS_ASYNC_CONTEXT
*
ctx
;
WS_ASYNC_CONTEXT
ctx
;
};
static
void
receive_message_proc
(
struct
task
*
task
)
...
...
@@ -1858,9 +1858,9 @@ static void receive_message_proc( struct task *task )
hr
=
receive_message
(
r
->
channel
,
r
->
msg
,
r
->
desc
,
r
->
count
,
r
->
option
,
r
->
read_option
,
r
->
heap
,
r
->
value
,
r
->
size
,
r
->
index
);
TRACE
(
"calling %p(%08x)
\n
"
,
r
->
ctx
->
callback
,
hr
);
r
->
ctx
->
callback
(
hr
,
WS_LONG_CALLBACK
,
r
->
ctx
->
callbackState
);
TRACE
(
"%p returned
\n
"
,
r
->
ctx
->
callback
);
TRACE
(
"calling %p(%08x)
\n
"
,
r
->
ctx
.
callback
,
hr
);
r
->
ctx
.
callback
(
hr
,
WS_LONG_CALLBACK
,
r
->
ctx
.
callbackState
);
TRACE
(
"%p returned
\n
"
,
r
->
ctx
.
callback
);
}
static
HRESULT
queue_receive_message
(
struct
channel
*
channel
,
WS_MESSAGE
*
msg
,
const
WS_MESSAGE_DESCRIPTION
**
desc
,
...
...
@@ -1882,7 +1882,7 @@ static HRESULT queue_receive_message( struct channel *channel, WS_MESSAGE *msg,
r
->
value
=
value
;
r
->
size
=
size
;
r
->
index
=
index
;
r
->
ctx
=
ctx
;
r
->
ctx
=
*
ctx
;
return
queue_task
(
&
channel
->
recv_q
,
&
r
->
task
);
}
...
...
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