Commit e0d51609 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

server: Notify parent key when subkey is created.

parent deba2faf
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment