Author: ion Date: Tue Oct 24 01:28:17 2006 New Revision: 24638
URL: http://svn.reactos.org/svn/reactos?rev=24638&view=rev Log: - Fix/add some remaining prototypes. - Add all the Nt functions to sysfuncs.lst and fixup some entries which were out-of-order. Unless I skipped anything (might've skipped 1 or 2 APIs), we should now have the same system call table as Windows 2003 SP1 (useful for my testing of ntdll.dll inside Windows).
Modified: trunk/reactos/include/ndk/iofuncs.h trunk/reactos/include/ndk/psfuncs.h trunk/reactos/ntoskrnl/ps/psmgr.c trunk/reactos/tools/nci/sysfuncs.lst
Modified: trunk/reactos/include/ndk/iofuncs.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/iofuncs.h?rev=2... ============================================================================== --- trunk/reactos/include/ndk/iofuncs.h (original) +++ trunk/reactos/include/ndk/iofuncs.h Tue Oct 24 01:28:17 2006 @@ -40,7 +40,7 @@ NTSTATUS NTAPI NtAddDriverEntry( - IN PBOOT_ENTRY BootEntry, + IN PEFI_DRIVER_ENTRY BootEntry, IN ULONG Id );
Modified: trunk/reactos/include/ndk/psfuncs.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/psfuncs.h?rev=2... ============================================================================== --- trunk/reactos/include/ndk/psfuncs.h (original) +++ trunk/reactos/include/ndk/psfuncs.h Tue Oct 24 01:28:17 2006 @@ -121,6 +121,14 @@ NtAlertResumeThread( IN HANDLE ThreadHandle, OUT PULONG SuspendCount +); + +typedef ULONG APPHELPCACHESERVICECLASS; +NTSTATUS +NTAPI +NtApphelpCacheControl( + IN APPHELPCACHESERVICECLASS Service, + IN PVOID ServiceData );
NTSYSCALLAPI
Modified: trunk/reactos/ntoskrnl/ps/psmgr.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ps/psmgr.c?rev=246... ============================================================================== --- trunk/reactos/ntoskrnl/ps/psmgr.c (original) +++ trunk/reactos/ntoskrnl/ps/psmgr.c Tue Oct 24 01:28:17 2006 @@ -530,11 +530,10 @@ return (NtBuildNumber >> 28) == 0xC; }
-typedef ULONG APPHELPCACHESERVICECLASS; NTSTATUS NTAPI -NtApphelpCacheControl(APPHELPCACHESERVICECLASS Service, - PVOID ServiceData) +NtApphelpCacheControl(IN APPHELPCACHESERVICECLASS Service, + IN PVOID ServiceData) { UNIMPLEMENTED; return STATUS_NOT_IMPLEMENTED;
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 Tue Oct 24 01:28:17 2006 @@ -1,15 +1,24 @@ NtAcceptConnectPort 6 NtAccessCheck 8 NtAccessCheckAndAuditAlarm 11 +NtAccessCheckByType 11 +NtAccessCheckByTypeAndAuditAlarm 16 +NtAccessCheckByTypeResultList 11 +NtAccessCheckByTypeResultListAndAuditAlarm 16 +NtAccessCheckByTypeResultListAndAuditAlarmByHandle 17 NtAddAtom 3 NtAddBootEntry 2 +NtAddDriverEntry 2 NtAdjustGroupsToken 6 NtAdjustPrivilegesToken 6 NtAlertResumeThread 2 NtAlertThread 1 NtAllocateLocallyUniqueId 1 +NtAllocateUserPhysicalPages 3 NtAllocateUuids 4 NtAllocateVirtualMemory 6 +NtApphelpCacheControl 2 +NtAreMappedFilesTheSame 2 NtAssignProcessToJobObject 2 NtCallbackReturn 3 NtCancelIoFile 2 @@ -17,8 +26,10 @@ NtClearEvent 1 NtClose 1 NtCloseObjectAuditAlarm 3 +NtCompactKeys 2 NtCompareTokens 3 NtCompleteConnectPort 1 +NtCompressKey 1 NtConnectPort 8 NtContinue 2 NtCreateDebugObject 4 @@ -28,6 +39,7 @@ NtCreateFile 11 NtCreateIoCompletion 4 NtCreateJobObject 3 +NtCreateJobSet 3 NtCreateKey 7 NtCreateMailslotFile 8 NtCreateMutant 4 @@ -35,6 +47,7 @@ NtCreatePagingFile 4 NtCreatePort 5 NtCreateProcess 8 +NtCreateProcessEx 9 NtCreateProfile 9 NtCreateSection 7 NtCreateSemaphore 5 @@ -47,7 +60,8 @@ NtDebugContinue 3 NtDelayExecution 2 NtDeleteAtom 1 -NtDeleteBootEntry 2 +NtDeleteBootEntry 1 +NtDeleteDriverEntry 1 NtDeleteFile 1 NtDeleteKey 1 NtDeleteObjectAuditAlarm 3 @@ -57,37 +71,51 @@ NtDuplicateObject 7 NtDuplicateToken 6 NtEnumerateBootEntries 2 +NtEnumerateDriverEntries 2 NtEnumerateKey 6 +NtEnumerateSystemEnvironmentValuesEx 3 NtEnumerateValueKey 6 NtExtendSection 2 +NtFilterToken 6 NtFindAtom 3 NtFlushBuffersFile 2 NtFlushInstructionCache 3 NtFlushKey 1 NtFlushVirtualMemory 4 NtFlushWriteBuffer 0 +NtFreeUserPhysicalPages 3 NtFreeVirtualMemory 4 NtFsControlFile 10 NtGetContextThread 2 +NtGetDevicePowerState 2 NtGetPlugPlayEvent 4 -NtGetTickCount 0 +NtGetWriteWatch 7 NtImpersonateAnonymousToken 1 NtImpersonateClientOfPort 2 NtImpersonateThread 3 NtInitializeRegistry 1 NtInitiatePowerAction 4 NtIsProcessInJob 2 +NtIsSystemResumeAutomatic 0 NtListenPort 2 NtLoadDriver 1 NtLoadKey 2 NtLoadKey2 3 +NtLoadKeyEx 3 NtLockFile 10 +NtLockProductActivationKeys 2 +NtLockRegistryKey 1 NtLockVirtualMemory 4 NtMakePermanentObject 1 NtMakeTemporaryObject 1 +NtMapUserPhysicalPages 3 +NtMapUserPhysicalPagesScatter 3 NtMapViewOfSection 10 +NtModifyBootEntry 1 +NtModifyDriverEntry 1 NtNotifyChangeDirectoryFile 9 NtNotifyChangeKey 10 +NtNotifyChangeMultipleKeys 12 NtOpenDirectoryObject 3 NtOpenEvent 3 NtOpenEventPair 3 @@ -114,7 +142,6 @@ NtPrivilegeObjectAuditAlarm 6 NtProtectVirtualMemory 5 NtPulseEvent 2 -NtQueryInformationAtom 5 NtQueryAttributesFile 2 NtQueryBootEntryOrder 2 NtQueryBootOptions 2 @@ -123,9 +150,11 @@ NtQueryDefaultUILanguage 1 NtQueryDirectoryFile 11 NtQueryDirectoryObject 7 +NtQueryDriverEntryOrder 2 NtQueryEaFile 9 NtQueryEvent 5 NtQueryFullAttributesFile 2 +NtQueryInformationAtom 5 NtQueryInformationFile 5 NtQueryInformationJobObject 5 NtQueryInformationPort 5 @@ -139,6 +168,8 @@ NtQueryMultipleValueKey 6 NtQueryMutant 5 NtQueryObject 5 +NtQueryOpenSubKeys 2 +NtQueryOpenSubKeysEx 2 NtQueryPerformanceCounter 2 NtQueryQuotaInformationFile 9 NtQuerySection 5 @@ -146,6 +177,7 @@ NtQuerySemaphore 5 NtQuerySymbolicLinkObject 3 NtQuerySystemEnvironmentValue 4 +NtQuerySystemEnvironmentValueEx 5 NtQuerySystemInformation 4 NtQuerySystemTime 1 NtQueryTimer 5 @@ -172,43 +204,50 @@ NtReplyWaitReplyPort 2 NtRequestPort 2 NtRequestWaitReplyPort 3 +NtRequestWakeupLatency 1 NtResetEvent 2 +NtResetWriteWatch 3 NtRestoreKey 3 NtResumeProcess 1 NtResumeThread 2 NtSaveKey 2 NtSaveKeyEx 3 +NtSaveMergedKeys 3 NtSecureConnectPort 9 NtSetBootEntryOrder 2 NtSetBootOptions 2 +NtSetContextThread 2 NtSetDebugFilterState 3 -NtSetIoCompletion 5 -NtSetContextThread 2 NtSetDefaultHardErrorPort 1 NtSetDefaultLocale 2 NtSetDefaultUILanguage 1 +NtSetDriverEntryOrder 2 NtSetEaFile 4 NtSetEvent 2 +NtSetEventBoostPriority 1 NtSetHighEventPair 1 NtSetHighWaitLowEventPair 1 NtSetInformationDebugObject 5 NtSetInformationFile 5 +NtSetInformationJobObject 4 NtSetInformationKey 4 -NtSetInformationJobObject 4 NtSetInformationObject 4 NtSetInformationProcess 4 NtSetInformationThread 4 NtSetInformationToken 4 NtSetIntervalProfile 2 +NtSetIoCompletion 5 NtSetLdtEntries 6 NtSetLowEventPair 1 NtSetLowWaitHighEventPair 1 NtSetQuotaInformationFile 4 NtSetSecurityObject 3 NtSetSystemEnvironmentValue 2 +NtSetSystemEnvironmentValueEx 2 NtSetSystemInformation 3 NtSetSystemPowerState 3 NtSetSystemTime 2 +NtSetThreadExecutionState 2 NtSetTimer 7 NtSetTimerResolution 3 NtSetUuidSeed 1 @@ -229,6 +268,8 @@ NtTranslateFilePath 3 NtUnloadDriver 1 NtUnloadKey 1 +NtUnloadKey2 2 +NtUnloadKeyEx 2 NtUnlockFile 5 NtUnlockVirtualMemory 4 NtUnmapViewOfSection 2 @@ -242,5 +283,11 @@ NtWriteFileGather 9 NtWriteRequestData 6 NtWriteVirtualMemory 5 -NtW32Call 5 NtYieldExecution 0 +NtCreateKeyedEvent 4 +NtOpenKeyedEvent 3 +NtReleaseKeyedEvent 4 +NtWaitForKeyedEvent 4 +NtQueryPortInformationProcess 0 +NtGetCurrentProcessorNumber 0 +NtWaitForMultipleObjects32 5