Author: fireball
Date: Sun Dec  3 14:13:05 2006
New Revision: 25029
URL: 
http://svn.reactos.org/svn/reactos?rev=25029&view=rev
Log:
NCI interface auditing, sysfuncs.lst.
- Fixed NtCompressKey() and NtQuerySystemEnvironmentValueEx() prototypes (they were
incorrectly declared/defined, but had a correct number of params in sysfuncs.lst)
- Fixed incorrect number of parameters specified in sysfuncs.lst for NtLoadKeyEx(),
NtQueryOpenSubKeysEx(), NtTranslateFilePath()
sysfuncs.lst now perfectly matches all functions definitions.
Modified:
    trunk/reactos/include/ndk/cmfuncs.h
    trunk/reactos/include/ndk/exfuncs.h
    trunk/reactos/ntoskrnl/cm/ntfunc.c
    trunk/reactos/ntoskrnl/ex/sysinfo.c
    trunk/reactos/ntoskrnl/ntoskrnl.def
    trunk/reactos/tools/nci/sysfuncs.lst
Modified: trunk/reactos/include/ndk/cmfuncs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/cmfuncs.h?rev=…
==============================================================================
--- trunk/reactos/include/ndk/cmfuncs.h (original)
+++ trunk/reactos/include/ndk/cmfuncs.h Sun Dec  3 14:13:05 2006
@@ -37,8 +37,7 @@
 NTSTATUS
 NTAPI
 NtCompressKey(
-    IN HANDLE Key,
-    IN ULONG Mode
+    IN HANDLE Key
 );
 NTSYSCALLAPI
Modified: trunk/reactos/include/ndk/exfuncs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/exfuncs.h?rev=…
==============================================================================
--- trunk/reactos/include/ndk/exfuncs.h (original)
+++ trunk/reactos/include/ndk/exfuncs.h Sun Dec  3 14:13:05 2006
@@ -368,7 +368,10 @@
 NTAPI
 NtQuerySystemEnvironmentValueEx(
     IN PUNICODE_STRING VariableName,
-    IN LPGUID VendorGuid
+    IN LPGUID VendorGuid,
+    IN PVOID Value,
+    IN OUT PULONG ReturnLength,
+    IN OUT PULONG Attributes
 );
 NTSYSCALLAPI
Modified: trunk/reactos/ntoskrnl/cm/ntfunc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/cm/ntfunc.c?rev=2…
==============================================================================
--- trunk/reactos/ntoskrnl/cm/ntfunc.c (original)
+++ trunk/reactos/ntoskrnl/cm/ntfunc.c Sun Dec  3 14:13:05 2006
@@ -2838,8 +2838,7 @@
 NTSTATUS
 NTAPI
-NtCompressKey(IN HANDLE Key,
-              IN ULONG Mode)
+NtCompressKey(IN HANDLE Key)
 {
     UNIMPLEMENTED;
     return STATUS_NOT_IMPLEMENTED;
Modified: trunk/reactos/ntoskrnl/ex/sysinfo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/sysinfo.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/ex/sysinfo.c (original)
+++ trunk/reactos/ntoskrnl/ex/sysinfo.c Sun Dec  3 14:13:05 2006
@@ -352,7 +352,10 @@
 NTSTATUS
 NTAPI
 NtQuerySystemEnvironmentValueEx(IN PUNICODE_STRING VariableName,
-                                IN LPGUID VendorGuid)
+                                IN LPGUID VendorGuid,
+                                IN PVOID Value,
+                                IN OUT PULONG ReturnLength,
+                                IN OUT PULONG Attributes)
 {
     UNIMPLEMENTED;
     return STATUS_NOT_IMPLEMENTED;
Modified: trunk/reactos/ntoskrnl/ntoskrnl.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ntoskrnl.def?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/ntoskrnl.def (original)
+++ trunk/reactos/ntoskrnl/ntoskrnl.def Sun Dec  3 14:13:05 2006
@@ -1415,7 +1415,7 @@
 ZwSetVolumeInformationFile@20
 ZwTerminateJobObject@8
 ZwTerminateProcess@8
-ZwTranslateFilePath@12
+ZwTranslateFilePath@16
 ZwUnloadDriver@4
 ZwUnloadKey@4
 ZwUnmapViewOfSection@8
Modified: trunk/reactos/tools/nci/sysfuncs.lst
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/nci/sysfuncs.lst?rev…
==============================================================================
--- trunk/reactos/tools/nci/sysfuncs.lst (original)
+++ trunk/reactos/tools/nci/sysfuncs.lst Sun Dec  3 14:13:05 2006
@@ -101,7 +101,7 @@
 NtLoadDriver 1
 NtLoadKey 2
 NtLoadKey2 3
-NtLoadKeyEx 3
+NtLoadKeyEx 7
 NtLockFile 10
 NtLockProductActivationKeys 2
 NtLockRegistryKey 1
@@ -169,7 +169,7 @@
 NtQueryMutant 5
 NtQueryObject 5
 NtQueryOpenSubKeys 2
-NtQueryOpenSubKeysEx 2
+NtQueryOpenSubKeysEx 4
 NtQueryPerformanceCounter 2
 NtQueryQuotaInformationFile 9
 NtQuerySection 5
@@ -265,7 +265,7 @@
 NtTerminateThread 2
 NtTestAlert 0
 NtTraceEvent 4
-NtTranslateFilePath 3
+NtTranslateFilePath 4
 NtUnloadDriver 1
 NtUnloadKey 1
 NtUnloadKey2 2