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
292b7289
Commit
292b7289
authored
Nov 12, 2019
by
Piotr Caban
Committed by
Alexandre Julliard
Nov 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Store device state in volatile key.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f3c1d663
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pnp.c
dlls/ntoskrnl.exe/pnp.c
+1
-1
No files found.
dlls/ntoskrnl.exe/pnp.c
View file @
292b7289
...
@@ -722,7 +722,7 @@ NTSTATUS WINAPI IoSetDeviceInterfaceState( UNICODE_STRING *name, BOOLEAN enable
...
@@ -722,7 +722,7 @@ NTSTATUS WINAPI IoSetDeviceInterfaceState( UNICODE_STRING *name, BOOLEAN enable
attr
.
RootDirectory
=
iface_key
;
attr
.
RootDirectory
=
iface_key
;
RtlInitUnicodeString
(
&
string
,
controlW
);
RtlInitUnicodeString
(
&
string
,
controlW
);
ret
=
NtCreateKey
(
&
control_key
,
KEY_SET_VALUE
,
&
attr
,
0
,
NULL
,
0
,
NULL
);
ret
=
NtCreateKey
(
&
control_key
,
KEY_SET_VALUE
,
&
attr
,
0
,
NULL
,
REG_OPTION_VOLATILE
,
NULL
);
NtClose
(
iface_key
);
NtClose
(
iface_key
);
if
(
ret
)
if
(
ret
)
return
ret
;
return
ret
;
...
...
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