Commit 1353d029 authored by Daniel Lehman's avatar Daniel Lehman Committed by Alexandre Julliard

server: Notify parents of registry value changes.

parent 8dee2df6
......@@ -3525,7 +3525,7 @@ static void test_RegNotifyChangeKeyValue(void)
ret = RegSetValueA(subsubkey, NULL, REG_SZ, "SubSubKeyValue", 0);
ok(ret == ERROR_SUCCESS, "expected ERROR_SUCCESS, got %d\n", ret);
dwret = WaitForSingleObject(event, 0);
todo_wine ok(dwret == WAIT_OBJECT_0, "expected WAIT_OBJECT_0, got %u\n", dwret);
ok(dwret == WAIT_OBJECT_0, "expected WAIT_OBJECT_0, got %u\n", dwret);
/* don't watch deeper values */
RegCloseKey(key);
......
......@@ -548,7 +548,7 @@ static void touch_key( struct key *key, unsigned int change )
/* do notifications */
check_notify( key, change, 1 );
for ( k = key->parent; k; k = k->parent )
check_notify( k, change & ~REG_NOTIFY_CHANGE_LAST_SET, 0 );
check_notify( k, change, 0 );
}
/* try to grow the array of subkeys; return 1 if OK, 0 on error */
......
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