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
d0f34c23
Commit
d0f34c23
authored
Sep 19, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Sep 20, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add a fast path for NtDeviceIoControlFile(INVALID_HANDLE_VALUE).
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=53706
parent
958bba92
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
file.c
dlls/ntdll/unix/file.c
+5
-0
No files found.
dlls/ntdll/unix/file.c
View file @
d0f34c23
...
...
@@ -5760,6 +5760,11 @@ NTSTATUS WINAPI NtDeviceIoControlFile( HANDLE handle, HANDLE event, PIO_APC_ROUT
TRACE
(
"(%p,%p,%p,%p,%p,0x%08x,%p,0x%08x,%p,0x%08x)
\n
"
,
handle
,
event
,
apc
,
apc_context
,
io
,
code
,
in_buffer
,
in_size
,
out_buffer
,
out_size
);
/* some broken applications call this frequently with INVALID_HANDLE_VALUE,
* and run slowly if we make a server call every time */
if
(
HandleToLong
(
handle
)
==
~
0
)
return
STATUS_INVALID_HANDLE
;
switch
(
device
)
{
case
FILE_DEVICE_BEEP
:
...
...
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