From 910806393dbffc77094652cb7dfff93217e3e4eb Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Thu, 9 Feb 2006 12:08:47 +0100 Subject: [PATCH] advapi32: Fix for RegNotifyChangeKeyValue. Flip fAsync and fWatchSubTree into their proper places. --- dlls/advapi32/registry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/advapi32/registry.c b/dlls/advapi32/registry.c index 4cb6add12b1..df569973c48 100644 --- a/dlls/advapi32/registry.c +++ b/dlls/advapi32/registry.c @@ -2337,8 +2337,8 @@ LONG WINAPI RegNotifyChangeKeyValue( HKEY hkey, BOOL fWatchSubTree, 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 );