mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
[WINESYNC] reg: Use RegOpenKeyExW() instead of RegOpenKeyW().
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id eee0c1f8f97d2d77118abb692e277dd440eed693 by Hugh McMaster <hugh.mcmaster@outlook.com>
This commit is contained in:
parent
8dc46f32b0
commit
6b9db85aaf
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -4,4 +4,4 @@ directories:
|
|||
files:
|
||||
programs/reg/resource.h: base/applications/cmdutils/reg/resource.h
|
||||
tags:
|
||||
wine: 2c84ec7ee04ab03883907691f115e01a7165b6e9
|
||||
wine: eee0c1f8f97d2d77118abb692e277dd440eed693
|
||||
|
|
Loading…
Reference in a new issue