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
be02ecda
Commit
be02ecda
authored
Apr 19, 2019
by
Hans Leidekker
Committed by
Alexandre Julliard
Apr 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Get rid of redundant KEY_WOW64_64KEY flags.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2ca469f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
msi.c
dlls/msi/msi.c
+3
-3
No files found.
dlls/msi/msi.c
View file @
be02ecda
...
...
@@ -1747,11 +1747,11 @@ UINT WINAPI MsiGetPatchInfoExW(LPCWSTR szPatchCode, LPCWSTR szProductCode,
r
=
ERROR_UNKNOWN_PATCH
;
res
=
RegOpenKeyExW
(
udprod
,
szPatches
,
0
,
KEY_
WOW64_64KEY
|
KEY_
READ
,
&
patches
);
res
=
RegOpenKeyExW
(
udprod
,
szPatches
,
0
,
KEY_READ
,
&
patches
);
if
(
res
!=
ERROR_SUCCESS
)
goto
done
;
res
=
RegOpenKeyExW
(
patches
,
squashed_patch
,
0
,
KEY_
WOW64_64KEY
|
KEY_
READ
,
&
patch
);
res
=
RegOpenKeyExW
(
patches
,
squashed_patch
,
0
,
KEY_READ
,
&
patch
);
if
(
res
!=
ERROR_SUCCESS
)
goto
done
;
...
...
@@ -1761,7 +1761,7 @@ UINT WINAPI MsiGetPatchInfoExW(LPCWSTR szPatchCode, LPCWSTR szProductCode,
&
prod
,
FALSE
)
!=
ERROR_SUCCESS
)
goto
done
;
res
=
RegOpenKeyExW
(
prod
,
szPatches
,
0
,
KEY_
WOW64_64KEY
|
KEY_
ALL_ACCESS
,
&
prodpatches
);
res
=
RegOpenKeyExW
(
prod
,
szPatches
,
0
,
KEY_ALL_ACCESS
,
&
prodpatches
);
if
(
res
!=
ERROR_SUCCESS
)
goto
done
;
...
...
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