Aric Stewart : advapi32: Fix for RegNotifyChangeKeyValue.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Feb 9 05:47:25 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 910806393dbffc77094652cb7dfff93217e3e4eb
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=910806393dbffc77094652cb7dfff93217e3e4eb

Author: Aric Stewart <aric at codeweavers.com>
Date:   Thu Feb  9 12:08:47 2006 +0100

advapi32: Fix for RegNotifyChangeKeyValue.
Flip fAsync and fWatchSubTree into their proper places.

---

 dlls/advapi32/registry.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

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 @@ LONG WINAPI RegNotifyChangeKeyValue( HKE
           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 );




More information about the wine-cvs mailing list