NCI interface auditing, sysfuncs.lst.
authorAleksey Bragin <aleksey@reactos.org>
Sun, 3 Dec 2006 11:13:05 +0000 (11:13 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Sun, 3 Dec 2006 11:13:05 +0000 (11:13 +0000)
- 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.

svn path=/trunk/; revision=25029

reactos/include/ndk/cmfuncs.h
reactos/include/ndk/exfuncs.h
reactos/ntoskrnl/cm/ntfunc.c
reactos/ntoskrnl/ex/sysinfo.c
reactos/ntoskrnl/ntoskrnl.def
reactos/tools/nci/sysfuncs.lst

index 7f0d655..0d2f333 100644 (file)
@@ -37,8 +37,7 @@ NtCompactKeys(
 NTSTATUS
 NTAPI
 NtCompressKey(
-    IN HANDLE Key,
-    IN ULONG Mode
+    IN HANDLE Key
 );
 
 NTSYSCALLAPI
index fbcb8b0..0a404ed 100644 (file)
@@ -368,7 +368,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
 );
 
 NTSYSCALLAPI
index 3d41cdd..23d889e 100644 (file)
@@ -2838,8 +2838,7 @@ NtCompactKeys(IN ULONG Count,
 
 NTSTATUS
 NTAPI
-NtCompressKey(IN HANDLE Key,
-              IN ULONG Mode)
+NtCompressKey(IN HANDLE Key)
 {
     UNIMPLEMENTED;
     return STATUS_NOT_IMPLEMENTED;
index 06b7400..ee87bc6 100644 (file)
@@ -352,7 +352,10 @@ NtEnumerateSystemEnvironmentValuesEx(IN ULONG InformationClass,
 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;
index a721c80..9abda20 100644 (file)
@@ -1415,7 +1415,7 @@ ZwSetValueKey@24
 ZwSetVolumeInformationFile@20
 ZwTerminateJobObject@8
 ZwTerminateProcess@8
-ZwTranslateFilePath@12
+ZwTranslateFilePath@16
 ZwUnloadDriver@4
 ZwUnloadKey@4
 ZwUnmapViewOfSection@8
index 579545d..7e0ca01 100644 (file)
@@ -101,7 +101,7 @@ NtListenPort 2
 NtLoadDriver 1
 NtLoadKey 2
 NtLoadKey2 3
-NtLoadKeyEx 3
+NtLoadKeyEx 7
 NtLockFile 10
 NtLockProductActivationKeys 2
 NtLockRegistryKey 1
@@ -169,7 +169,7 @@ NtQueryMultipleValueKey 6
 NtQueryMutant 5
 NtQueryObject 5
 NtQueryOpenSubKeys 2
-NtQueryOpenSubKeysEx 2
+NtQueryOpenSubKeysEx 4
 NtQueryPerformanceCounter 2
 NtQueryQuotaInformationFile 9
 NtQuerySection 5
@@ -265,7 +265,7 @@ NtTerminateProcess 2
 NtTerminateThread 2
 NtTestAlert 0
 NtTraceEvent 4
-NtTranslateFilePath 3
+NtTranslateFilePath 4
 NtUnloadDriver 1
 NtUnloadKey 1
 NtUnloadKey2 2