CVS: winex/dlls/advapi32 registry.c,1.5,1.6

[email protected] 31 Jul 2007 19:57:40 -0000
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex/dlls/advapi32 registry.c,1.5,1.6Update of /var/lib/cvsd/cvsroot/winex/dlls/advapi32
In directory agravaine:/tmp/cvs-serv1966/dlls/advapi32

Modified Files:
	registry.c 
Log Message:
Implement RegFlushKey.
Do some minor cleanups of duplicated functions.


Index: registry.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/dlls/advapi32/registry.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- registry.c	18 Feb 2004 22:27:35 -0000	1.5
+++ registry.c	31 Jul 2007 19:57:38 -0000	1.6
@@ -7,6 +7,7 @@
  * Copyright (C) 1996 Marcus Meissner
  * Copyright (C) 1998 Matthew Becker
  * Copyright (C) 1999 Sylvain St-Germain
+ * Copyright (C) 2007 TransGaming Technologies
  *
  * This file is concerned about handle management and interaction with the Wine server.
  * Registry file I/O is in misc/registry.c.
@@ -1535,8 +1536,9 @@
  */
 DWORD WINAPI RegFlushKey( HKEY hkey )
 {
-    FIXME( "(%x): stub\n", hkey );
-    return ERROR_SUCCESS;
+   TRACE ("(0x%lx\n", hkey);
+
+   return RtlNtStatusToDosError (NtFlushKey (hkey));
 }