advapi32: Fix for RegNotifyChangeKeyValue.
Flip fAsync and fWatchSubTree into their proper places.
diff --git a/dlls/advapi32/registry.c b/dlls/advapi32/registry.c
index 4cb6add..df56997 100644
--- a/dlls/advapi32/registry.c
+++ b/dlls/advapi32/registry.c
@@ -2337,8 +2337,8 @@
hEvent, fAsync);
status = NtNotifyChangeKey( hkey, hEvent, NULL, NULL, &iosb,
- fdwNotifyFilter, fWatchSubTree, NULL, 0,
- fAsync );
+ fdwNotifyFilter, fAsync, NULL, 0,
+ fWatchSubTree);
if (status && status != STATUS_TIMEOUT)
return RtlNtStatusToDosError( status );