- Fix KeAttackProcess, KeStackAttachProcess, KeUnstackDetachProcess and KeDetachProce...
[reactos.git] / reactos / ntoskrnl / ntoskrnl.def
index 30eedcc..56f23ea 100644 (file)
@@ -1,4 +1,4 @@
-; $Id: ntoskrnl.def,v 1.191 2004/09/16 11:46:17 ekohl Exp $
+; $Id$
 ;
 ; reactos/ntoskrnl/ntoskrnl.def
 ;
@@ -7,6 +7,7 @@
 EXPORTS
 CcRosInitializeFileCache@8
 CcRosReleaseFileCache@4
+CcRosTraceCacheMap@8
 CcCanIWrite@16
 CcCopyRead@24
 CcCopyWrite@20
@@ -62,7 +63,7 @@ DbgPrintEx
 DbgPrintReturnControlC
 DbgQueryDebugFilterState@8
 DbgSetDebugFilterState@12
-DpcQueueSize DATA
+@ExiAcquireFastMutex@4=@ExAcquireFastMutex@4
 @ExAcquireFastMutexUnsafe@4
 ExAcquireResourceExclusive@8
 ExAcquireResourceExclusiveLite@8
@@ -71,7 +72,7 @@ ExAcquireResourceSharedLite@8
 @ExAcquireRundownProtectionEx@8
 ExAcquireSharedStarveExclusive@8
 ExAcquireSharedWaitForExclusive@8
-@ExAllocateFromPagedLookasideList@4=@ExiAllocateFromPagedLookasideList@4
+ExAllocateFromPagedLookasideList@4=ExiAllocateFromPagedLookasideList@4
 ExAllocatePool@8
 ExAllocatePoolWithQuota@8
 ExAllocatePoolWithQuotaTag@12
@@ -86,6 +87,7 @@ ExDeleteResourceLite@4
 ExDesktopObjectType DATA
 ExDisableResourceBoostLite@4
 ExEnumHandleTable@16
+@ExEnterCriticalRegionAndAcquireFastMutexUnsafe@4
 ExEventObjectType DATA
 ExExtendZone@12
 ExFreePool@4
@@ -104,43 +106,45 @@ ExInitializeResourceLite@4
 ExInitializeZone@16
 ExInterlockedAddLargeInteger@16
 @ExInterlockedAddLargeStatistic@8
-@ExInterlockedAddUlong@12
+ExInterlockedAddUlong@12
 @ExInterlockedCompareExchange64@16
 ExInterlockedDecrementLong@8
 ExInterlockedExchangeUlong@12
 ExInterlockedExtendZone@16
 ExInterlockedIncrementLong@8
 @ExInterlockedFlushSList@4
-@ExInterlockedInsertHeadList@12
-@ExInterlockedInsertTailList@12
-@ExInterlockedPopEntryList@8
+ExInterlockedInsertHeadList@12
+ExInterlockedInsertTailList@12
+ExInterlockedPopEntryList@8
 @ExInterlockedPopEntrySList@8
-@ExInterlockedPushEntryList@12
+ExInterlockedPushEntryList@12
 @ExInterlockedPushEntrySList@12
-@ExInterlockedRemoveHeadList@8
+ExInterlockedRemoveHeadList@8
 ExIsProcessorFeaturePresent@4
 ExIsResourceAcquiredExclusiveLite@4
 ExIsResourceAcquiredSharedLite@4
 ExLocalTimeToSystemTime@8
 ExNotifyCallback@12
-ExPostSystemEvent@12
 ExQueryPoolBlockSize@8
 ExQueueWorkItem@8
 ExRaiseAccessViolation@0
 ExRaiseDatatypeMisalignment@0
-ExRaiseException@4
+ExRaiseException@4=RtlRaiseException@4
 ExRaiseHardError@24
-ExRaiseStatus@4
+ExRaiseStatus@4=RtlRaiseStatus@4
 ExRegisterCallback@12
 ExReinitializeResourceLite@4
 @ExReInitializeRundownProtection@4
+@ExiReleaseFastMutex@4=@ExReleaseFastMutex@4
 @ExReleaseFastMutexUnsafe@4
+@ExReleaseFastMutexUnsafeAndLeaveCriticalRegion@4
 ExReleaseResourceForThread@8
 ExReleaseResourceForThreadLite@8
 @ExReleaseResourceLite@4
 @ExReleaseRundownProtection@4
 @ExReleaseRundownProtectionEx@8
 @ExRundownCompleted@4
+ExSemaphoreObjectType DATA
 ExSetResourceOwnerPointer@8
 ExSetTimerResolution@8
 ExSystemExceptionFilter@0
@@ -151,24 +155,6 @@ ExUuidCreate@4
 ExVerifySuite@4
 @ExWaitForRundownProtectionRelease@4
 ExWindowStationObjectType DATA
-ExInitializeBinaryTree@12
-ExDeleteBinaryTree@4
-ExInsertBinaryTree@12
-ExSearchBinaryTree@12
-ExRemoveBinaryTree@12
-ExTraverseBinaryTree@16
-ExInitializeSplayTree@16
-ExDeleteSplayTree@4
-ExInsertSplayTree@12
-ExSearchSplayTree@12
-ExRemoveSplayTree@12
-ExWeightOfSplayTree@8
-ExTraverseSplayTree@16
-ExInitializeHashTable@16
-ExDeleteHashTable@4
-ExInsertHashTable@16
-ExSearchHashTable@16
-ExRemoveHashTable@16
 @ExfAcquirePushLockExclusive@4
 @ExfAcquirePushLockShared@4
 @ExfReleasePushLock@4
@@ -237,12 +223,12 @@ FsRtlIsFatDbcsLegal@20
 FsRtlIsHpfsDbcsLegal@20
 FsRtlIsNameInExpression@16
 FsRtlIsNtstatusExpected@4
-FsRtlIsPagingFile
+FsRtlIsPagingFile@4
 FsRtlIsTotalDeviceFailure@4
 FsRtlLegalAnsiCharacterArray DATA
 FsRtlLookupLargeMcbEntry@32
 FsRtlLookupLastLargeMcbEntry@12
-FsRtlLookupLastLargeMcbEntryAndInde@16=FsRtlLookupLastLargeMcbEntryAndIndex@16
+FsRtlLookupLastLargeMcbEntryAndIndex@16
 FsRtlLookupLastMcbEntry@12
 FsRtlLookupMcbEntry@20
 FsRtlLookupPerFileObjectContext@12
@@ -283,6 +269,7 @@ FsRtlRemovePerStreamContext@12
 FsRtlResetLargeMcb@8
 FsRtlSplitLargeMcb@20
 FsRtlSyncVolumes@12
+FsRtlTeardownPerStreamContexts@4
 FsRtlTruncateLargeMcb@12
 FsRtlTruncateMcb@8
 FsRtlUninitializeFileLock@4
@@ -291,7 +278,7 @@ FsRtlUninitializeMcb@4
 FsRtlUninitializeOplock@4
 HalDispatchTable DATA
 HalPrivateDispatchTable DATA
-@HalExamineMBR=@xHalExamineMBR@16
+@HalExamineMBR@16
 InbvAcquireDisplayOwnership@0
 InbvCheckDisplayOwnership@0
 InbvDisplayString@4
@@ -304,6 +291,7 @@ InbvResetDisplay@0
 InbvSetScrollRegion@16
 InbvSetTextColor@4
 InbvSolidColorFill@20
+InitSafeBootMode DATA
 @InterlockedCompareExchange@12
 @InterlockedDecrement@4
 @InterlockedExchange@8
@@ -357,6 +345,12 @@ IoCreateStreamFileObjectLite@8
 IoCreateSymbolicLink@8
 IoCreateSynchronizationEvent@8
 IoCreateUnprotectedSymbolicLink@8
+IoCsqInitialize@28
+IoCsqInitializeEx@28
+IoCsqInsertIrp@12
+IoCsqInsertIrpEx@16
+IoCsqRemoveIrp@8
+IoCsqRemoveNextIrp@8
 IoDeleteController@4
 IoDeleteDevice@4
 IoDeleteDriver@4
@@ -412,13 +406,11 @@ IoIsSystemThread@4
 IoIsValidNameGraftingBuffer@8
 IoIsOperationSynchronous@4
 IoMakeAssociatedIrp@8
-IoOpenDeviceInstanceKey@20
 IoOpenDeviceInterfaceRegistryKey@12
 IoOpenDeviceRegistryKey@16
 IoPageRead@20
 IoPnPDeliverServicePowerNotification@16
 IoQueryDeviceDescription@32
-IoQueryDeviceEnumInfo@8
 IoQueryFileDosDeviceName@8
 IoQueryFileInformation@20
 IoQueryVolumeInformation@20
@@ -428,7 +420,7 @@ IoRaiseHardError@12
 IoRaiseInformationalHardError@12
 IoReadDiskSignature@12
 IoReadOperationCount DATA
-IoReadPartitionTable@16
+@IoReadPartitionTable@16
 IoReadPartitionTableEx@8
 IoReadTransferCount DATA
 IoRegisterBootDriverReinitialization@12
@@ -460,7 +452,7 @@ IoSetFileOrigin@8
 IoSetHardErrorOrVerifyDevice@8
 IoSetInformation@16
 IoSetIoCompletion@24
-IoSetPartitionInformation@16
+@IoSetPartitionInformation@16
 IoSetPartitionInformationEx@12
 IoSetStartIoAttributes@12
 IoSetShareAccess@16
@@ -501,7 +493,7 @@ IoWMISuggestInstanceName@16
 IoWMIWriteEvent@4
 IoWriteErrorLogEntry@4
 IoWriteOperationCount DATA
-IoWritePartitionTable@20
+@IoWritePartitionTable@20
 IoWritePartitionTableEx@8
 IoWriteTransferCount DATA
 @IofCallDriver@8
@@ -514,13 +506,15 @@ KdEnableDebugger@0
 KdEnteredDebugger
 KdPollBreakIn@0
 KdPowerTransition@4
-KdSystemDebugControl@4
+KdpServiceDispatcher@12
 Ke386CallBios@8
 Ke386IoSetAccessProcess@8
 Ke386QueryIoAccessMap@8
 Ke386SetIoAccessMap@8
+@KeAcquireGuardedMutex@4
+@KeAcquireGuardedMutexUnsafe@4
 KeAcquireSpinLockAtDpcLevel@4
-KeAcquireDispatcherDatabaseLockAtDpcLevel
+@KeAcquireDispatcherDatabaseLockAtDpcLevel@0
 @KeAcquireInStackQueuedSpinLockAtDpcLevel@8
 KeAcquireInterruptSpinLock@4
 KeAddSystemServiceTable@20
@@ -540,6 +534,7 @@ KeDeregisterBugCheckReasonCallback@4
 KeDetachProcess@0
 KeDisconnectInterrupt@4
 KeEnterCriticalRegion@0
+KeEnterGuardedRegion@0
 KeEnterKernelDebugger@0
 KeFindConfigurationEntry@16
 KeFindConfigurationNextEntry@20
@@ -549,13 +544,13 @@ KeGetCurrentThread@0
 KeGetPreviousMode@0
 KeGetRecommendedSharedDataAlignment@0
 ;KeI386AbiosCall
-KeI386AllocateGdtSelectors
+KeI386AllocateGdtSelectors@8
 ;KeI386Call16BitCStyleFunction
 ;KeI386Call16BitFunction
-KeI386FlatToGdtSelector
+KeI386FlatToGdtSelector@12
 ;KeI386GetLid
 ;KeI386MachineType DATA
-KeI386ReleaseGdtSelectors
+KeI386ReleaseGdtSelectors@8
 ;KeI386ReleaseLid
 ;KeI386SetGdtSelector
 KeIcacheFlushCount DATA
@@ -563,6 +558,7 @@ KeInitializeApc@32
 KeInitializeDeviceQueue@4
 KeInitializeDpc@12
 KeInitializeEvent@12
+@KeInitializeGuardedMutex@4
 KeInitializeInterrupt@44
 KeInitializeMutant@8
 KeInitializeMutex@8
@@ -580,6 +576,7 @@ KeInsertQueueDpc@12
 KeIsAttachedProcess@0
 KeIsExecutingDpc@0
 KeLeaveCriticalRegion@0
+KeLeaveGuardedRegion@0
 KeLoaderBlock DATA
 KeNumberProcessors DATA
 KeProfileInterrupt@4
@@ -593,16 +590,17 @@ KeQuerySystemTime@4
 KeQueryTickCount@4
 KeQueryTimeIncrement@0
 KeRaiseUserException@4
-KeRescheduleThread@0
 KeReadStateEvent@4
 KeReadStateMutant@4
-KeReadStateMutex@4
+KeReadStateMutex@4=KeReadStateMutant@4
 KeReadStateQueue@4
 KeReadStateSemaphore@4
 KeReadStateTimer@4
 KeRegisterBugCheckCallback@20
 KeRegisterBugCheckReasonCallback@16
-KeReleaseDispatcherDatabaseLockFromDpcLevel
+@KeReleaseDispatcherDatabaseLockFromDpcLevel@0
+@KeReleaseGuardedMutexUnsafe@4
+@KeReleaseGuardedMutex@4
 @KeReleaseInStackQueuedSpinLockFromDpcLevel@4
 KeReleaseInterruptSpinLock@8
 KeReleaseMutant@16
@@ -645,12 +643,13 @@ KeStackAttachProcess@8
 KeSynchronizeExecution@12
 KeTerminateThread@4
 KeTickCount DATA
-KeUpdateRunTime@4
+@KeTryToAcquireGuardedMutex@4
+KeUpdateRunTime@8
 KeUpdateSystemTime@8
 KeUnstackDetachProcess@4
 KeUserModeCallback@20
 KeWaitForMultipleObjects@32
-KeWaitForMutexObject@20
+KeWaitForMutexObject@20=KeWaitForSingleObject@20
 KeWaitForSingleObject@20
 @KefAcquireSpinLockAtDpcLevel@4
 @KefReleaseSpinLockFromDpcLevel@4
@@ -658,6 +657,7 @@ KeWaitForSingleObject@20
 @KiAcquireSpinLock@4
 ;KiBugCheckData DATA
 KiCoprocessorError@0
+KiCheckForKernelApcDelivery@0
 KiDeliverApc@12
 KiDispatchInterrupt@0
 KiEnableTimerWatchdog
@@ -671,6 +671,7 @@ LdrAccessResource@16
 LdrEnumResources@20
 LdrFindResourceDirectory_U@16
 LdrFindResource_U@16
+LpcPortObjectType DATA
 LpcRequestPort@8
 LpcRequestWaitReplyPort@12
 LsaCallAuthenticationPackage@28
@@ -684,7 +685,6 @@ MmAddPhysicalMemory@8
 MmAddVerifierThunks@8
 MmAdjustWorkingSetSize@12
 MmAdvanceMdl@8
-MmAllocateContiguousAlignedMemory@36
 MmAllocateContiguousMemory@12
 MmAllocateContiguousMemorySpecifyCache@32
 MmAllocateMappingAddress@8
@@ -692,8 +692,6 @@ MmAllocateNonCachedMemory@4
 MmAllocatePagesForMdl@28
 MmBuildMdlForNonPagedPool@4
 MmCanFileBeTruncated@8
-MmCopyFromCaller@12
-MmCopyToCaller@12
 MmCreateMdl@12
 MmCreateSection@32
 MmDbgTranslatePhysicalAddress@8
@@ -763,12 +761,13 @@ NlsAnsiCodePage DATA
 NlsLeadByteInfo DATA
 NlsMbCodePageTag DATA
 NlsMbOemCodePageTag DATA
+NlsOemCodePage DATA
 NlsOemLeadByteInfo DATA
 NtAddAtom@12
 NtAdjustPrivilegesToken@24
 NtAlertThread@4
 NtAllocateLocallyUniqueId@4
-NtAllocateUuids@12
+NtAllocateUuids@16
 NtAllocateVirtualMemory@24
 NtBuildNumber DATA
 NtClose@4
@@ -805,7 +804,6 @@ NtQueryInformationFile@20
 NtQueryInformationProcess@20
 NtQueryInformationThread@20
 NtQueryInformationToken@20
-;NtQueryOleDirectoryFile@44 <--- ?
 NtQueryQuotaInformationFile@36
 NtQuerySecurityObject@20
 NtQuerySystemInformation@16
@@ -834,10 +832,12 @@ ObAssignSecurity@16
 ;ObCheckCreateObjectAccess@28
 ;ObCheckObjectAccess@20
 ObCreateObject@36
-;ObFindHandleForObject@20
+ObDereferenceSecurityDescriptor@8
+ObFindHandleForObject@20
 ObGetObjectPointerCount@4
 ObGetObjectSecurity@12
 ObInsertObject@24
+ObLogSecurityDescriptor@12
 ObMakeTemporaryObject@4
 ObOpenObjectByName@28
 ObOpenObjectByPointer@28
@@ -856,6 +856,7 @@ ObDereferenceObject@4
 ;PfxInsertPrefix
 ;PfxRemovePrefix
 PoCallDriver@8
+PoQueueShutdownWorkItem@4
 PoRegisterDeviceForIdleDetection@16
 PoRegisterSystemState@8
 PoRequestPowerIrp@24
@@ -873,13 +874,14 @@ PsChargeProcessPagedPoolQuota@8
 PsChargeProcessPoolQuota@12
 PsCreateSystemProcess@12
 PsCreateSystemThread@28
-PsCreateWin32Process@4
 PsDereferenceImpersonationToken@4=PsDereferencePrimaryToken@4
 PsDereferencePrimaryToken@4
 PsDisableImpersonation@8
-PsEstablishWin32Callouts@24
+PsEstablishWin32Callouts@4
+PsGetCurrentProcess@0=KeGetCurrentProcess@0
 PsGetCurrentProcessId@0
 PsGetCurrentProcessSessionId@0
+PsGetCurrentThread@0=KeGetCurrentThread@0
 PsGetCurrentThreadId@0
 PsGetCurrentThreadPreviousMode@0
 PsGetCurrentThreadStackBase@0
@@ -920,7 +922,7 @@ PsIsProcessBeingDebugged@4
 PsIsSystemThread@4
 PsIsThreadImpersonating@4
 PsIsThreadTerminating@4
-;PsJobType DATA
+PsJobType DATA
 PsLookupProcessByProcessId@8
 PsLookupProcessThreadByCid@12
 PsLookupThreadByThreadId@8
@@ -940,9 +942,10 @@ PsSetCreateThreadNotifyRoutine@4
 PsSetJobUIRestrictionsClass@8
 PsSetLegoNotifyRoutine@4
 PsSetProcessPriorityClass@8
+PsSetProcessPriorityByClass@8
 PsSetProcessSecurityPort@8
 PsSetProcessWin32Process@8
-PsSetProcessWin32WindowStation@8
+PsSetProcessWindowStation@8
 PsSetThreadHardErrorsAreDisabled@8
 PsSetThreadWin32Thread@8
 PsSetLoadImageNotifyRoutine@4
@@ -954,8 +957,9 @@ READ_REGISTER_USHORT@4
 READ_REGISTER_BUFFER_UCHAR@12
 READ_REGISTER_BUFFER_ULONG@12
 READ_REGISTER_BUFFER_USHORT@12
-KeRosPrintAddress@4
+KiRosPrintAddress@4
 KeRosDumpStackFrames@8
+KeRosGetStackFrames@8
 RtlAbsoluteToSelfRelativeSD@12
 RtlAddAccessAllowedAce@16
 RtlAddAce@20
@@ -964,7 +968,7 @@ RtlAddRange@36
 ;RtlAllocateAndInitializeSid
 RtlAllocateHeap@12
 RtlAnsiCharToUnicodeChar@4
-RtlAnsiStringToUnicodeSize@4
+RtlAnsiStringToUnicodeSize@4=RtlxAnsiStringToUnicodeSize@4
 RtlAnsiStringToUnicodeString@12
 RtlAppendAsciizToString@8
 RtlAppendStringToString@8
@@ -1020,6 +1024,7 @@ RtlDescribeChunk@20
 RtlDestroyAtomTable@4
 RtlDestroyHeap@4
 RtlDowncaseUnicodeString@12
+RtlDuplicateUnicodeString@12
 RtlEmptyAtomTable@8
 RtlEnlargedIntegerMultiply@8
 RtlEnlargedUnsignedDivide@16
@@ -1112,10 +1117,10 @@ RtlIpv6AddressToStringA@8
 RtlIpv6AddressToStringExA@16
 RtlIpv6AddressToStringExW@16
 RtlIpv6AddressToStringW@8
-RtlIpv6StringToAddressA@16
+RtlIpv6StringToAddressA@12
 RtlIpv6StringToAddressExA@16
 RtlIpv6StringToAddressExW@16
-RtlIpv6StringToAddressW@16
+RtlIpv6StringToAddressW@12
 RtlIsGenericTableEmpty@4
 RtlIsGenericTableEmptyAvl@4
 RtlIsNameLegalDOS8Dot3@12
@@ -1151,7 +1156,7 @@ RtlNumberGenericTableElementsAvl@4
 RtlNumberOfClearBits@4
 RtlNumberOfSetBits@4
 RtlOemStringToCountedUnicodeString@12
-RtlOemStringToUnicodeSize@4
+RtlOemStringToUnicodeSize@4=RtlxOemStringToUnicodeSize@4
 RtlOemStringToUnicodeString@12
 RtlOemToUnicodeN@20
 RtlPinAtomInAtomTable@8
@@ -1195,11 +1200,11 @@ RtlTimeToSecondsSince1980@8
 RtlTimeToTimeFields@8
 @RtlUlongByteSwap@4
 @RtlUlonglongByteSwap@8
-RtlUnicodeStringToAnsiSize@4
+RtlUnicodeStringToAnsiSize@4=RtlxUnicodeStringToAnsiSize@4
 RtlUnicodeStringToAnsiString@12
 RtlUnicodeStringToCountedOemString@12
 RtlUnicodeStringToInteger@12
-RtlUnicodeStringToOemSize@4
+RtlUnicodeStringToOemSize@4=RtlxUnicodeStringToOemSize@4
 RtlUnicodeStringToOemString@12
 RtlUnicodeToCustomCPN@24
 RtlUnicodeToMultiByteN@20
@@ -1221,7 +1226,7 @@ RtlUpperString@8
 RtlValidRelativeSecurityDescriptor@12
 RtlValidSecurityDescriptor@4
 RtlValidSid@4
-;RtlVerifyVersionInfo@16
+RtlVerifyVersionInfo@16
 RtlVolumeDeviceToDosName@8
 RtlWalkFrameChain@12
 RtlWriteRegistryValue@24
@@ -1282,6 +1287,7 @@ SeTokenType@4
 SeUnlockSubjectContext@4
 SeUnregisterLogonSessionTerminatedRoutine@4
 SeValidSecurityDescriptor@8
+VerSetConditionMask@16
 WRITE_REGISTER_UCHAR@8
 WRITE_REGISTER_ULONG@8
 WRITE_REGISTER_USHORT@8
@@ -1408,10 +1414,13 @@ ZwYieldExecution@0
 _abnormal_termination
 _alldiv
 _allmul
+_alloca_probe
 _allrem
 _allshl
 _allshr
+_alldvrm
 _aulldiv
+_aulldvrm
 _aullrem
 _aullshr
 _except_handler2
@@ -1431,6 +1440,7 @@ _strrev
 _strset
 _strupr
 _vsnprintf
+_vsnwprintf
 _wcsicmp
 _wcslwr
 _wcsnicmp