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
05410c4a
Commit
05410c4a
authored
Apr 10, 2017
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Use callback stored in async user for calling APC_ASYNC_IO.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b82782a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
server.c
dlls/ntdll/server.c
+2
-3
No files found.
dlls/ntdll/server.c
View file @
05410c4a
...
...
@@ -406,10 +406,9 @@ static BOOL invoke_apc( const apc_call_t *call, apc_result_t *result )
{
void
*
apc
=
NULL
,
*
arg
=
NULL
;
IO_STATUS_BLOCK
*
iosb
=
wine_server_get_ptr
(
call
->
async_io
.
sb
);
NTSTATUS
(
*
func
)(
void
*
,
IO_STATUS_BLOCK
*
,
NTSTATUS
,
void
**
,
void
**
)
=
wine_server_get_ptr
(
call
->
async_io
.
func
);
NTSTATUS
(
*
*
user
)(
void
*
,
IO_STATUS_BLOCK
*
,
NTSTATUS
,
void
**
,
void
**
)
=
wine_server_get_ptr
(
call
->
async_io
.
user
);
result
->
type
=
call
->
type
;
result
->
async_io
.
status
=
func
(
wine_server_get_ptr
(
call
->
async_io
.
user
),
iosb
,
call
->
async_io
.
status
,
&
apc
,
&
arg
);
result
->
async_io
.
status
=
(
*
user
)(
user
,
iosb
,
call
->
async_io
.
status
,
&
apc
,
&
arg
);
if
(
result
->
async_io
.
status
!=
STATUS_PENDING
)
{
result
->
async_io
.
total
=
iosb
->
Information
;
...
...
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