mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 23:22:59 +00:00
[WINESYNC] reg: Use RegCreateKeyExW() instead of RegCreateKeyW().
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id aaf503e1de3f476639113b7ab7988c8628529e03 by Hugh McMaster <hugh.mcmaster@outlook.com>
This commit is contained in:
parent
cb66fe28ba
commit
b1bb43c991
2 changed files with 3 additions and 2 deletions
|
@ -154,7 +154,8 @@ static int run_add(HKEY root, WCHAR *path, WCHAR *value_name, BOOL value_empty,
|
|||
{
|
||||
HKEY key;
|
||||
|
||||
if (RegCreateKeyW(root, path, &key) != ERROR_SUCCESS)
|
||||
if (RegCreateKeyExW(root, path, 0, NULL, REG_OPTION_NON_VOLATILE,
|
||||
KEY_READ|KEY_WRITE, NULL, &key, NULL))
|
||||
{
|
||||
output_message(STRING_INVALID_KEY);
|
||||
return 1;
|
||||
|
|
|
@ -4,4 +4,4 @@ directories:
|
|||
files:
|
||||
programs/reg/resource.h: base/applications/cmdutils/reg/resource.h
|
||||
tags:
|
||||
wine: 08976b3ee0db827bc5add829de1f148da89a6362
|
||||
wine: aaf503e1de3f476639113b7ab7988c8628529e03
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue