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
dfe20465
Commit
dfe20465
authored
May 28, 2019
by
Jacek Caban
Committed by
Alexandre Julliard
May 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Use stored current kernel call to interpret IRP dispatch status.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1020db79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
device.c
server/device.c
+4
-10
No files found.
server/device.c
View file @
dfe20465
...
...
@@ -884,20 +884,14 @@ DECL_HANDLER(get_next_device_request)
0
,
&
device_manager_ops
)))
return
;
if
(
req
->
prev
)
{
if
((
irp
=
(
struct
irp_call
*
)
get_handle_obj
(
current
->
process
,
req
->
prev
,
0
,
&
irp_call_ops
)))
{
set_irp_result
(
irp
,
req
->
status
,
NULL
,
0
,
0
);
close_handle
(
current
->
process
,
req
->
prev
);
/* avoid an extra round-trip for close */
release_object
(
irp
);
}
}
if
(
req
->
prev
)
close_handle
(
current
->
process
,
req
->
prev
);
/* avoid an extra round-trip for close */
if
(
manager
->
current_call
)
{
irp
=
manager
->
current_call
;
if
(
irp
->
async
)
if
(
req
->
status
)
set_irp_result
(
irp
,
req
->
status
,
NULL
,
0
,
0
);
else
if
(
irp
->
async
)
set_async_pending
(
irp
->
async
,
irp
->
file
&&
is_fd_overlapped
(
irp
->
file
->
fd
)
);
free_irp_params
(
irp
);
release_object
(
irp
);
...
...
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