advapi32: Fix for RegNotifyChangeKeyValue.
Flip fAsync and fWatchSubTree into their proper places.
This commit is contained in:
parent
ba9ec9e233
commit
910806393d
|
@ -2337,8 +2337,8 @@ LONG WINAPI RegNotifyChangeKeyValue( HKEY hkey, BOOL fWatchSubTree,
|
||||||
hEvent, fAsync);
|
hEvent, fAsync);
|
||||||
|
|
||||||
status = NtNotifyChangeKey( hkey, hEvent, NULL, NULL, &iosb,
|
status = NtNotifyChangeKey( hkey, hEvent, NULL, NULL, &iosb,
|
||||||
fdwNotifyFilter, fWatchSubTree, NULL, 0,
|
fdwNotifyFilter, fAsync, NULL, 0,
|
||||||
fAsync );
|
fWatchSubTree);
|
||||||
|
|
||||||
if (status && status != STATUS_TIMEOUT)
|
if (status && status != STATUS_TIMEOUT)
|
||||||
return RtlNtStatusToDosError( status );
|
return RtlNtStatusToDosError( status );
|
||||||
|
|
Loading…
Reference in New Issue