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
b1a9039c
Commit
b1a9039c
authored
Sep 23, 2022
by
Sven Baars
Committed by
Alexandre Julliard
Nov 18, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Test that NtCreateKeyEx() also recursively obtains the Wow6432Node parent.
parent
b8d7434e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
reg.c
dlls/ntdll/tests/reg.c
+16
-0
No files found.
dlls/ntdll/tests/reg.c
View file @
b1a9039c
...
...
@@ -1648,6 +1648,22 @@ static void test_redirection(void)
ok
(
status
==
STATUS_SUCCESS
,
"NtDeleteKey failed: 0x%08lx
\n
"
,
status
);
pNtClose
(
key64
);
pRtlInitUnicodeString
(
&
str
,
L"Winetest"
);
attr
.
RootDirectory
=
root64
;
status
=
pNtCreateKey
(
&
key32
,
KEY_WOW64_32KEY
|
KEY_ALL_ACCESS
,
&
attr
,
0
,
0
,
0
,
0
);
ok
(
status
==
STATUS_SUCCESS
,
"NtCreateKey failed: 0x%08lx
\n
"
,
status
);
pRtlInitUnicodeString
(
&
str
,
L"
\\
Registry
\\
Machine
\\
Software
\\
Wow6432Node
\\
Wine
\\
Winetest"
);
attr
.
RootDirectory
=
0
;
status
=
pNtOpenKey
(
&
key
,
KEY_WOW64_32KEY
|
KEY_ALL_ACCESS
,
&
attr
);
ok
(
status
==
(
ptr_size
==
64
?
STATUS_OBJECT_NAME_NOT_FOUND
:
STATUS_SUCCESS
),
"NtOpenKey failed: 0x%08lx
\n
"
,
status
);
pNtClose
(
key
);
status
=
pNtDeleteKey
(
key32
);
ok
(
status
==
STATUS_SUCCESS
,
"NtDeleteKey failed: 0x%08lx
\n
"
,
status
);
pNtClose
(
key32
);
pNtDeleteKey
(
root32
);
pNtClose
(
root32
);
pNtDeleteKey
(
root64
);
...
...
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