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
9f9104d6
Commit
9f9104d6
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: Remove unused parameter.
parent
cbc8f3c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
registry.c
dlls/advapi32/registry.c
+3
-3
No files found.
dlls/advapi32/registry.c
View file @
9f9104d6
...
...
@@ -103,7 +103,7 @@ static BOOL is_wow6432node( const UNICODE_STRING *name )
}
/* open the Wow6432Node subkey of the specified key */
static
HANDLE
open_wow6432node
(
HANDLE
key
,
const
UNICODE_STRING
*
name
)
static
HANDLE
open_wow6432node
(
HANDLE
key
)
{
static
const
WCHAR
wow6432nodeW
[]
=
{
'W'
,
'o'
,
'w'
,
'6'
,
'4'
,
'3'
,
'2'
,
'N'
,
'o'
,
'd'
,
'e'
,
0
};
OBJECT_ATTRIBUTES
attr
;
...
...
@@ -150,7 +150,7 @@ static NTSTATUS create_key( HKEY *retkey, ACCESS_MASK access, OBJECT_ATTRIBUTES
if
(
force_wow32
&&
pos
)
{
if
(
is_wow6432node
(
&
str
))
force_wow32
=
FALSE
;
else
if
((
subkey
=
open_wow6432node
(
attr
->
RootDirectory
,
&
str
)))
else
if
((
subkey
=
open_wow6432node
(
attr
->
RootDirectory
)))
{
if
(
attr
->
RootDirectory
!=
root
)
NtClose
(
attr
->
RootDirectory
);
attr
->
RootDirectory
=
subkey
;
...
...
@@ -204,7 +204,7 @@ static NTSTATUS open_key( HKEY *retkey, ACCESS_MASK access, OBJECT_ATTRIBUTES *a
if
(
force_wow32
&&
pos
)
{
if
(
is_wow6432node
(
&
str
))
force_wow32
=
FALSE
;
else
if
((
subkey
=
open_wow6432node
(
attr
->
RootDirectory
,
&
str
)))
else
if
((
subkey
=
open_wow6432node
(
attr
->
RootDirectory
)))
{
if
(
attr
->
RootDirectory
!=
root
)
NtClose
(
attr
->
RootDirectory
);
attr
->
RootDirectory
=
subkey
;
...
...
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