advapi32: Fix for RegNotifyChangeKeyValue.

Flip fAsync and fWatchSubTree into their proper places.
This commit is contained in:
Aric Stewart 2006-02-09 12:08:47 +01:00 committed by Alexandre Julliard
parent ba9ec9e233
commit 910806393d
1 changed files with 2 additions and 2 deletions

View File

@ -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 );