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
413ad29e
Commit
413ad29e
authored
Oct 30, 2015
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 30, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
krnl386.exe: Pass SYNCHRONIZE flag to NtCreateFile.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
82947221
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
int21.c
dlls/krnl386.exe16/int21.c
+1
-1
vxd.c
dlls/krnl386.exe16/vxd.c
+1
-1
No files found.
dlls/krnl386.exe16/int21.c
View file @
413ad29e
...
...
@@ -872,7 +872,7 @@ static HANDLE INT21_CreateMagicDeviceHandle( LPCWSTR name )
attr
.
SecurityDescriptor
=
NULL
;
attr
.
SecurityQualityOfService
=
NULL
;
status
=
NtCreateFile
(
&
ret
,
GENERIC_READ
|
GENERIC_WRITE
,
&
attr
,
&
io
,
NULL
,
0
,
status
=
NtCreateFile
(
&
ret
,
GENERIC_READ
|
GENERIC_WRITE
|
SYNCHRONIZE
,
&
attr
,
&
io
,
NULL
,
0
,
FILE_SHARE_READ
|
FILE_SHARE_WRITE
,
FILE_OPEN_IF
,
FILE_SYNCHRONOUS_IO_ALERT
,
NULL
,
0
);
if
(
status
)
...
...
dlls/krnl386.exe16/vxd.c
View file @
413ad29e
...
...
@@ -143,7 +143,7 @@ static HANDLE open_vxd_handle( LPCWSTR name )
attr
.
SecurityDescriptor
=
NULL
;
attr
.
SecurityQualityOfService
=
NULL
;
status
=
NtCreateFile
(
&
ret
,
0
,
&
attr
,
&
io
,
NULL
,
0
,
status
=
NtCreateFile
(
&
ret
,
SYNCHRONIZE
,
&
attr
,
&
io
,
NULL
,
0
,
FILE_SHARE_READ
|
FILE_SHARE_WRITE
,
FILE_OPEN_IF
,
FILE_SYNCHRONOUS_IO_ALERT
,
NULL
,
0
);
if
(
status
)
...
...
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