[WINESYNC] reg: Use RegOpenKeyExW() instead of RegOpenKeyW().

Signed-off-by: Hugh McMaster <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id eee0c1f8f97d2d77118abb692e277dd440eed693 by Hugh McMaster <[email protected]>
This commit is contained in:
winesync
2022-06-19 13:06:31 +02:00
committed by Thomas Csovcsity
parent 8dc46f32b0
commit 6b9db85aaf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ int reg_delete(HKEY root, WCHAR *path, WCHAR *key_name, WCHAR *value_name,
return 0;
}
if (RegOpenKeyW(root, path, &key) != ERROR_SUCCESS)
if (RegOpenKeyExW(root, path, 0, KEY_READ|KEY_SET_VALUE, &key))
{
output_message(STRING_CANNOT_FIND);
return 1;
+1 -1
View File
@@ -4,4 +4,4 @@ directories:
files:
programs/reg/resource.h: base/applications/cmdutils/reg/resource.h
tags:
wine: 2c84ec7ee04ab03883907691f115e01a7165b6e9
wine: eee0c1f8f97d2d77118abb692e277dd440eed693