mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:22:58 +00:00
[WINESYNC] reg: Use correct error message if RegCreateKeyExW() fails.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id dedcd7c100461cf8be46387ebd65b60488c13ecf by Hugh McMaster <hugh.mcmaster@outlook.com> manual adjustment needed
This commit is contained in:
parent
40d62f3c5b
commit
123e459be5
4 changed files with 4 additions and 2 deletions
|
@ -157,7 +157,7 @@ static int run_add(HKEY root, WCHAR *path, WCHAR *value_name, BOOL value_empty,
|
|||
if (RegCreateKeyExW(root, path, 0, NULL, REG_OPTION_NON_VOLATILE,
|
||||
KEY_READ|KEY_WRITE, NULL, &hkey, NULL))
|
||||
{
|
||||
output_message(STRING_INVALID_KEY);
|
||||
output_message(STRING_ACCESS_DENIED);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue