diff --git a/dlls/ntdll/tests/reg.c b/dlls/ntdll/tests/reg.c index 3dfca57be2..b6ff53ebb4 100644 --- a/dlls/ntdll/tests/reg.c +++ b/dlls/ntdll/tests/reg.c @@ -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); diff --git a/server/registry.c b/server/registry.c index f9b1cd590a..3c9ae70363 100644 --- a/server/registry.c +++ b/server/registry.c @@ -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; }