https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8db2fe8cb4bf5adccc714…
commit 8db2fe8cb4bf5adccc7149d278bf47fff01879a9
Author: winesync <ros-dev(a)reactos.org>
AuthorDate: Sun Mar 13 01:24:00 2022 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Mar 20 19:28:19 2022 +0100
[WINESYNC] msi: Get rid of redundant KEY_WOW64_64KEY flags.
Signed-off-by: Hans Leidekker <hans(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id be02ecda3c27f4fa3ed574b1df4e51337f9304de by Hans Leidekker
<hans(a)codeweavers.com>
---
dll/win32/msi/msi.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dll/win32/msi/msi.c b/dll/win32/msi/msi.c
index 78ac6472ff6..7b6455b4a26 100644
--- a/dll/win32/msi/msi.c
+++ b/dll/win32/msi/msi.c
@@ -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;