[ros-diffs] [sginsberg] 35629: - NtLoadKey: Call NtLoadKeyEx directly instead of calling NtLoadKey2 (which forwards to NtLoadKeyEx)

sginsberg at svn.reactos.org sginsberg at svn.reactos.org
Mon Aug 25 17:10:27 CEST 2008


Author: sginsberg
Date: Mon Aug 25 10:10:27 2008
New Revision: 35629

URL: http://svn.reactos.org/svn/reactos?rev=35629&view=rev
Log:
- NtLoadKey: Call NtLoadKeyEx directly instead of calling NtLoadKey2 (which forwards to NtLoadKeyEx)

Modified:
    trunk/reactos/ntoskrnl/config/ntapi.c

Modified: trunk/reactos/ntoskrnl/config/ntapi.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/ntapi.c?rev=35629&r1=35628&r2=35629&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/config/ntapi.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/config/ntapi.c [iso-8859-1] Mon Aug 25 10:10:27 2008
@@ -707,7 +707,7 @@
           IN POBJECT_ATTRIBUTES FileObjectAttributes)
 {
     /* Call the newer API */
-    return NtLoadKey2(KeyObjectAttributes, FileObjectAttributes, 0);
+    return NtLoadKeyEx(KeyObjectAttributes, FileObjectAttributes, 0, NULL);
 }
 
 NTSTATUS



More information about the Ros-diffs mailing list