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
88778ec0
Commit
88778ec0
authored
Dec 19, 2014
by
Akihiro Sagawa
Committed by
Alexandre Julliard
Dec 18, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Add more KEY_WOW64_32KEY tests for 64-bit.
parent
9f9104d6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
registry.c
dlls/advapi32/tests/registry.c
+23
-0
No files found.
dlls/advapi32/tests/registry.c
View file @
88778ec0
...
...
@@ -2106,6 +2106,29 @@ static void test_redirection(void)
check_key_value
(
key
,
"Wow6432Node
\\
Wine
\\
Winetest"
,
KEY_WOW64_32KEY
,
is_vista
?
32
:
0
);
RegCloseKey
(
key
);
}
else
{
err
=
RegCreateKeyExA
(
HKEY_LOCAL_MACHINE
,
"Software"
,
0
,
NULL
,
0
,
KEY_WOW64_64KEY
|
KEY_ALL_ACCESS
,
NULL
,
&
key
,
NULL
);
ok
(
err
==
ERROR_SUCCESS
,
"RegCreateKeyExA failed: %u
\n
"
,
err
);
check_key_value
(
key
,
"Wine
\\
Winetest"
,
0
,
64
);
check_key_value
(
key
,
"Wine
\\
Winetest"
,
KEY_WOW64_64KEY
,
64
);
dw
=
get_key_value
(
key
,
"Wine
\\
Winetest"
,
KEY_WOW64_32KEY
);
todo_wine
ok
(
dw
==
32
,
"wrong value %u
\n
"
,
dw
);
check_key_value
(
key
,
"Wow6432Node
\\
Wine
\\
Winetest"
,
0
,
32
);
RegCloseKey
(
key
);
err
=
RegCreateKeyExA
(
HKEY_LOCAL_MACHINE
,
"Software"
,
0
,
NULL
,
0
,
KEY_WOW64_32KEY
|
KEY_ALL_ACCESS
,
NULL
,
&
key
,
NULL
);
ok
(
err
==
ERROR_SUCCESS
,
"RegCreateKeyExA failed: %u
\n
"
,
err
);
dw
=
get_key_value
(
key
,
"Wine
\\
Winetest"
,
0
);
todo_wine
ok
(
dw
==
32
,
"wrong value %u
\n
"
,
dw
);
dw
=
get_key_value
(
key
,
"Wine
\\
Winetest"
,
KEY_WOW64_64KEY
);
todo_wine
ok
(
dw
==
32
||
broken
(
dw
==
64
)
/* vista */
,
"wrong value %u
\n
"
,
dw
);
dw
=
get_key_value
(
key
,
"Wine
\\
Winetest"
,
KEY_WOW64_32KEY
);
todo_wine
ok
(
dw
==
32
,
"wrong value %u
\n
"
,
dw
);
RegCloseKey
(
key
);
}
check_key_value
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Wine
\\
Winetest"
,
0
,
ptr_size
);
check_key_value
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Wow6432Node
\\
Wine
\\
Winetest"
,
0
,
32
);
...
...
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