server: Notify parent key when subkey is created.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
deba2faf60
commit
e0d51609a1
|
@ -1538,7 +1538,7 @@ static void test_notify(void)
|
|||
ok(status == STATUS_SUCCESS, "NtCreateKey failed: 0x%08x\n", status);
|
||||
|
||||
status = pNtWaitForSingleObject(event, FALSE, &timeout);
|
||||
todo_wine ok(status == STATUS_SUCCESS, "NtWaitForSingleObject returned %x\n", status);
|
||||
ok(status == STATUS_SUCCESS, "NtWaitForSingleObject returned %x\n", status);
|
||||
|
||||
status = pNtDeleteKey(subkey);
|
||||
ok(status == STATUS_SUCCESS, "NtDeleteSubkey failed: %x\n", status);
|
||||
|
|
|
@ -814,6 +814,7 @@ static struct key *create_key( struct key *key, const struct unicode_str *name,
|
|||
free(key->class);
|
||||
if (!(key->class = memdup( class->str, key->classlen ))) key->classlen = 0;
|
||||
}
|
||||
touch_key( key->parent, REG_NOTIFY_CHANGE_NAME );
|
||||
grab_object( key );
|
||||
return key;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue