17#elif defined(_M_ARM64)
20#error Unknown Architecture
45KeInvalidateRangeAllCaches(
50#if (NTDDI_VERSION >= NTDDI_WIN2K)
53#if defined(_NTDDK_) || defined(_NTIFS_)
124#if defined(SINGLE_GROUP_LEGACY_API)
160#if !defined(_M_AMD64)
173#if !defined(_X86_) && !defined(_M_ARM)
185#define KeAcquireSpinLock(SpinLock, OldIrql) \
186 *(OldIrql) = KeAcquireSpinLockRaiseToDpc(SpinLock)
217#if defined(_X86_) && (defined(_WDM_INCLUDED_) || defined(WIN9X_COMPAT_SPINLOCK))
543#define KeWaitForMutexObject KeWaitForSingleObject
703#if (NTDDI_VERSION >= NTDDI_WINXP)
839#if (NTDDI_VERSION >= NTDDI_WINXPSP1)
860#if (NTDDI_VERSION >= NTDDI_WINXPSP2)
869#if (NTDDI_VERSION >= NTDDI_WS03)
943#if (NTDDI_VERSION >= NTDDI_WS03SP1)
1044KeExpandKernelStackAndCallout(
1067#if (NTDDI_VERSION >= NTDDI_VISTA)
1095KeQueryDpcWatchdogInformation(
1099#if defined(SINGLE_GROUP_LEGACY_API)
1108KeSetSystemAffinityThreadEx(
1116KeRevertToUserAffinityThreadEx(
1128KeQueryMaximumProcessorCount(
VOID);
1140KeQueryMaximumProcessorCount(
VOID);
1171#if (NTDDI_VERSION >= NTDDI_WS08)
1176KeRegisterProcessorChangeCallback(
1184KeDeregisterProcessorChangeCallback(
1190#if (NTDDI_VERSION >= NTDDI_WIN7)
1195KeQueryActiveProcessorCountEx(
1254KeQueryLogicalProcessorRelationship(
1268KeQueryTotalCycleTimeProcess(
1277KeQueryTotalCycleTimeThread(
1294KeSetSystemGroupAffinityThread(
1303KeRevertToUserGroupAffinityThread(
1310KeSetCoalescableTimer(
1329KeSaveExtendedProcessorState(
1359KeSetHardwareCounterConfiguration(
1367KeQueryHardwareCounterConfiguration(
1387#define KeInitializeCallbackRecord(CallbackRecord) \
1388 (CallbackRecord)->State = BufferEmpty;
1390#if defined(_PREFAST_)
1392void __PREfastPagedCode(
void);
1393void __PREfastPagedCodeLocked(
void);
1394#define PAGED_CODE() __PREfastPagedCode();
1395#define PAGED_CODE_LOCKED() __PREfastPagedCodeLocked();
1399#if (NTDDI_VERSION >= NTDDI_VISTA)
1400#define PAGED_ASSERT( exp ) NT_ASSERT( exp )
1402#define PAGED_ASSERT( exp ) ASSERT( exp )
1405#define PAGED_CODE() { \
1406 if (KeGetCurrentIrql() > APC_LEVEL) { \
1407 KdPrint( ("NTDDK: Pageable code called at IRQL > APC_LEVEL (%d)\n", KeGetCurrentIrql() )); \
1408 PAGED_ASSERT(FALSE); \
1412#define PAGED_CODE_LOCKED() NOP_FUNCTION;
1416#define PAGED_CODE() NOP_FUNCTION;
1417#define PAGED_CODE_LOCKED() NOP_FUNCTION;
KBUGCHECK_REASON_CALLBACK_RECORD CallbackRecord
PVOID NTAPI KeRegisterNmiCallback(IN PNMI_CALLBACK CallbackRoutine, IN PVOID Context)
BOOLEAN NTAPI KeDeregisterBugCheckReasonCallback(IN PKBUGCHECK_REASON_CALLBACK_RECORD CallbackRecord)
NTSTATUS NTAPI KeDeregisterNmiCallback(IN PVOID Handle)
#define _Acquires_lock_(lock)
#define _Requires_lock_held_(lock)
#define _Acquires_exclusive_lock_(lock)
#define _Requires_lock_not_held_(lock)
#define _Releases_lock_(lock)
#define _Post_same_lock_(lock1, lock2)
PKDEVICE_QUEUE_ENTRY NTAPI KeRemoveDeviceQueue(IN PKDEVICE_QUEUE DeviceQueue)
BOOLEAN NTAPI KeInsertByKeyDeviceQueue(IN PKDEVICE_QUEUE DeviceQueue, IN PKDEVICE_QUEUE_ENTRY DeviceQueueEntry, IN ULONG SortKey)
PKDEVICE_QUEUE_ENTRY NTAPI KeRemoveByKeyDeviceQueueIfBusy(IN PKDEVICE_QUEUE DeviceQueue, IN ULONG SortKey)
BOOLEAN NTAPI KeInsertDeviceQueue(IN PKDEVICE_QUEUE DeviceQueue, IN PKDEVICE_QUEUE_ENTRY DeviceQueueEntry)
VOID NTAPI KeInitializeDeviceQueue(IN PKDEVICE_QUEUE DeviceQueue)
PKDEVICE_QUEUE_ENTRY NTAPI KeRemoveByKeyDeviceQueue(IN PKDEVICE_QUEUE DeviceQueue, IN ULONG SortKey)
BOOLEAN NTAPI KeRemoveEntryDeviceQueue(IN PKDEVICE_QUEUE DeviceQueue, IN PKDEVICE_QUEUE_ENTRY DeviceQueueEntry)
VOID NTAPI KeSetTargetProcessorDpc(IN PKDPC Dpc, IN CCHAR Number)
BOOLEAN NTAPI KeRemoveQueueDpc(IN PKDPC Dpc)
VOID NTAPI KeFlushQueuedDpcs(VOID)
#define _Kernel_float_restored_
#define __drv_strictType(typename, mode)
#define _IRQL_requires_same_
#define _IRQL_requires_min_(irql)
#define _IRQL_requires_max_(irql)
#define _IRQL_requires_(irql)
#define _IRQL_raises_(irql)
#define _Kernel_float_saved_
#define _IRQL_saves_global_(kind, param)
#define _IRQL_restores_global_(kind, param)
#define __drv_strictTypeMatch(mode)
#define KeWaitForSingleObject(pEvt, foo, a, b, c)
#define KeInitializeEvent(pEvt, foo, foo2)
#define KeReleaseSpinLock(sl, irql)
#define KeSetEvent(pEvt, foo, foo2)
#define KeQuerySystemTime(t)
#define KeDelayExecutionThread(mode, foo, t)
#define KeInitializeSpinLock(sl)
LONG NTAPI KePulseEvent(IN PKEVENT Event, IN KPRIORITY Increment, IN BOOLEAN Wait)
VOID NTAPI KeClearEvent(IN PKEVENT Event)
LONG NTAPI KeReadStateEvent(IN PKEVENT Event)
LONG NTAPI KeResetEvent(IN PKEVENT Event)
VOID NTAPI ProbeForRead(IN CONST VOID *Address, IN SIZE_T Length, IN ULONG Alignment)
VOID NTAPI ProbeForWrite(IN PVOID Address, IN SIZE_T Length, IN ULONG Alignment)
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG Increment
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
_Must_inspect_result_ _In_ PFLT_GET_OPERATION_STATUS_CALLBACK CallbackRoutine
_Must_inspect_result_ _In_ WAIT_TYPE _In_opt_ PLARGE_INTEGER _In_opt_ PKWAIT_BLOCK WaitBlockArray
_Must_inspect_result_ _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ ULONG _In_ PFILE_OBJECT _In_ PVOID Process
VOID FASTCALL KeReleaseGuardedMutexUnsafe(IN OUT PKGUARDED_MUTEX GuardedMutex)
VOID FASTCALL KeInitializeGuardedMutex(OUT PKGUARDED_MUTEX GuardedMutex)
VOID FASTCALL KeAcquireGuardedMutexUnsafe(IN OUT PKGUARDED_MUTEX GuardedMutex)
BOOLEAN FASTCALL KeTryToAcquireGuardedMutex(IN OUT PKGUARDED_MUTEX GuardedMutex)
VOID FASTCALL KeReleaseGuardedMutex(IN OUT PKGUARDED_MUTEX GuardedMutex)
VOID FASTCALL KeAcquireGuardedMutex(IN PKGUARDED_MUTEX GuardedMutex)
VOID NTAPI KeFlushWriteBuffer(VOID)
VOID FASTCALL KeAcquireInStackQueuedSpinLock(IN PKSPIN_LOCK SpinLock, IN PKLOCK_QUEUE_HANDLE LockHandle)
VOID FASTCALL KeReleaseQueuedSpinLock(IN KSPIN_LOCK_QUEUE_NUMBER LockNumber, IN KIRQL OldIrql)
KIRQL FASTCALL KeAcquireSpinLockRaiseToSynch(PKSPIN_LOCK SpinLock)
LOGICAL FASTCALL KeTryToAcquireQueuedSpinLock(IN KSPIN_LOCK_QUEUE_NUMBER LockNumber, OUT PKIRQL OldIrql)
KIRQL FASTCALL KeAcquireQueuedSpinLock(IN KSPIN_LOCK_QUEUE_NUMBER LockNumber)
NTKRNLVISTAAPI USHORT NTAPI KeQueryHighestNodeNumber()
NTKRNLVISTAAPI USHORT NTAPI KeGetCurrentNodeNumber()
NTKRNLVISTAAPI ULONG NTAPI KeQueryActiveProcessorCount(OUT PKAFFINITY ActiveProcessors OPTIONAL)
#define KeLeaveGuardedRegion()
#define KeLeaveCriticalRegion()
#define KeEnterCriticalRegion()
#define KeEnterGuardedRegion()
unsigned __int64 * PULONG64
PVOID PVOID PWCHAR PVOID USHORT PULONG Reason
#define KeStallExecutionProcessor(MicroSeconds)
#define _In_reads_bytes_(size)
#define _Out_writes_bytes_(size)
#define _Ret_range_(lb, ub)
#define _At_(target, annos)
#define _Must_inspect_result_
#define _When_(expr, annos)
#define _In_reads_bytes_opt_(size)
#define _Post_satisfies_(cond)
#define _Out_writes_to_(size, count)
#define _Out_writes_bytes_opt_(size)
#define _Maybe_raises_SEH_exception_
_In_ PVOID _In_ BOOLEAN Alertable
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID * BaseAddress
#define DECLSPEC_NORETURN
_In_ ULONG _In_ ULONG _In_ ULONG Length
_In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN Enable
enum _TIMER_TYPE TIMER_TYPE
enum _EVENT_TYPE EVENT_TYPE
enum _WAIT_TYPE WAIT_TYPE
$include(setypes.h) $include(obtypes.h) $include(rtltypes.h) $include(rtlfuncs.h) _IRQL_requires_max_(PASSIVE_LEVEL) __kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQueryObject(_In_opt_ HANDLE Handle
BOOLEAN NTAPI KeInvalidateAllCaches(VOID)
KAFFINITY NTAPI KeQueryActiveProcessors(VOID)
BOOLEAN NTAPI KeSynchronizeExecution(IN OUT PKINTERRUPT Interrupt, IN PKSYNCHRONIZE_ROUTINE SynchronizeRoutine, IN PVOID SynchronizeContext OPTIONAL)
ULONG_PTR NTAPI KeIpiGenericCall(_In_ PKIPI_BROADCAST_WORKER Function, _In_ ULONG_PTR Argument)
KIRQL NTAPI KeAcquireSpinLockRaiseToDpc(PKSPIN_LOCK SpinLock)
BOOLEAN NTAPI KeAreAllApcsDisabled(VOID)
BOOLEAN NTAPI KeAreApcsDisabled(VOID)
LONG NTAPI KeReleaseMutant(IN PKMUTANT Mutant, IN KPRIORITY Increment, IN BOOLEAN Abandon, IN BOOLEAN Wait)
VOID NTAPI KeInitializeMutant(IN PKMUTANT Mutant, IN BOOLEAN InitialOwner)
LONG NTAPI KeReadStateMutant(IN PKMUTANT Mutant)
LONG NTAPI KeReleaseMutex(IN PKMUTEX Mutex, IN BOOLEAN Wait)
LONG NTAPI KeReadStateQueue(IN PKQUEUE Queue)
LONG NTAPI KeInsertHeadQueue(IN PKQUEUE Queue, IN PLIST_ENTRY Entry)
LONG NTAPI KeInsertQueue(IN PKQUEUE Queue, IN PLIST_ENTRY Entry)
PLIST_ENTRY NTAPI KeRundownQueue(IN PKQUEUE Queue)
PLIST_ENTRY NTAPI KeRemoveQueue(IN PKQUEUE Queue, IN KPROCESSOR_MODE WaitMode, IN PLARGE_INTEGER Timeout OPTIONAL)
KIRQL NTAPI KeAcquireInterruptSpinLock(IN PKINTERRUPT Interrupt)
VOID FASTCALL KeAcquireInStackQueuedSpinLockAtDpcLevel(IN PKSPIN_LOCK SpinLock, IN PKLOCK_QUEUE_HANDLE LockHandle)
VOID FASTCALL KeReleaseInStackQueuedSpinLockFromDpcLevel(IN PKLOCK_QUEUE_HANDLE LockHandle)
VOID FASTCALL KeReleaseSpinLockForDpc(IN PKSPIN_LOCK SpinLock, IN KIRQL OldIrql)
VOID NTAPI KeReleaseInterruptSpinLock(IN PKINTERRUPT Interrupt, IN KIRQL OldIrql)
BOOLEAN FASTCALL KeTryToAcquireSpinLockAtDpcLevel(IN OUT PKSPIN_LOCK SpinLock)
KIRQL FASTCALL KeAcquireSpinLockForDpc(IN PKSPIN_LOCK SpinLock)
NTSTATUS NTAPI KeWaitForMultipleObjects(IN ULONG Count, IN PVOID Object[], IN WAIT_TYPE WaitType, IN KWAIT_REASON WaitReason, IN KPROCESSOR_MODE WaitMode, IN BOOLEAN Alertable, IN PLARGE_INTEGER Timeout OPTIONAL, OUT PKWAIT_BLOCK WaitBlockArray OPTIONAL)
_In_opt_ PENTER_STATE_SYSTEM_HANDLER _In_opt_ PVOID _In_ LONG _In_opt_ LONG volatile * Number
VOID NTAPI KeDetachProcess(VOID)
VOID NTAPI KeStackAttachProcess(IN PKPROCESS Process, OUT PRKAPC_STATE ApcState)
VOID NTAPI KeUnstackDetachProcess(IN PRKAPC_STATE ApcState)
VOID NTAPI KeAttachProcess(IN PKPROCESS Process)
#define KeQueryInterruptTime()
#define KeAcquireSpinLockAtDpcLevel(SpinLock)
#define KeReleaseSpinLockFromDpcLevel(SpinLock)
LONG NTAPI KeReadStateSemaphore(IN PKSEMAPHORE Semaphore)
VOID NTAPI KeInitializeSemaphore(IN PKSEMAPHORE Semaphore, IN LONG Count, IN LONG Limit)
LONG NTAPI KeReleaseSemaphore(IN PKSEMAPHORE Semaphore, IN KPRIORITY Increment, IN LONG Adjustment, IN BOOLEAN Wait)
#define __in_data_source(src_sym)
PULONG MinorVersion OPTIONAL
base of all file and directory entries
KPRIORITY NTAPI KeQueryPriorityThread(IN PKTHREAD Thread)
VOID NTAPI KeSetSystemAffinityThread(IN KAFFINITY Affinity)
UCHAR NTAPI KeSetIdealProcessorThread(IN PKTHREAD Thread, IN UCHAR Processor)
LONG NTAPI KeSetBasePriorityThread(IN PKTHREAD Thread, IN LONG Increment)
BOOLEAN NTAPI KeSetKernelStackSwapEnable(IN BOOLEAN Enable)
VOID NTAPI KeRevertToUserAffinityThread(VOID)
KPRIORITY NTAPI KeSetPriorityThread(IN PKTHREAD Thread, IN KPRIORITY Priority)
ULONG NTAPI KeQueryRuntimeThread(IN PKTHREAD Thread, OUT PULONG UserTime)
BOOLEAN NTAPI KeSetTimer(IN OUT PKTIMER Timer, IN LARGE_INTEGER DueTime, IN PKDPC Dpc OPTIONAL)
BOOLEAN NTAPI KeReadStateTimer(IN PKTIMER Timer)
BOOLEAN NTAPI KeSetTimerEx(IN OUT PKTIMER Timer, IN LARGE_INTEGER DueTime, IN LONG Period, IN PKDPC Dpc OPTIONAL)
BOOLEAN NTAPI KeCancelTimer(IN OUT PKTIMER Timer)
VOID NTAPI KeInitializeTimerEx(OUT PKTIMER Timer, IN TIMER_TYPE Type)
VOID NTAPI KeInitializeTimer(OUT PKTIMER Timer)
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
_Must_inspect_result_ _In_ WDFDEVICE _In_ PIRP _In_ WDFQUEUE Queue
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
_Must_inspect_result_ _In_ PWDF_DPC_CONFIG _In_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFDPC * Dpc
_In_ WDFDPC _In_ BOOLEAN Wait
_In_ WDFINTERRUPT _In_ WDF_INTERRUPT_POLICY _In_ WDF_INTERRUPT_PRIORITY Priority
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_INTERRUPT_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFINTERRUPT * Interrupt
_In_ WDFREQUEST _In_ NTSTATUS _In_ ULONG_PTR Information
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFSPINLOCK * SpinLock
_In_ WDFTIMER _In_ LONGLONG DueTime
#define _DECL_HAL_KE_IMPORT
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level
_Must_inspect_result_ _In_ ULONG Flags
_In_ PCALLBACK_FUNCTION CallbackFunction
_In_ ULONG _In_ ULONG _In_ ULONG _Out_ PKIRQL _Out_ PKAFFINITY Affinity
NTKERNELAPI USHORT NTAPI KeQueryMaximumGroupCount(VOID)
_Out_opt_ PGROUP_AFFINITY PreviousAffinity
_In_ KPRIORITY _In_ LONG Adjustment
NTKERNELAPI ULONG NTAPI KeQueryTimeIncrement(VOID)
_In_ LARGE_INTEGER _In_ ULONG _In_ ULONG TolerableDelay
_Requires_lock_held_ LockHandle _Releases_lock_ LockHandle LockHandle _DECL_HAL_KE_IMPORT VOID FASTCALL KeReleaseInStackQueuedSpinLock(_In_ PKLOCK_QUEUE_HANDLE LockHandle)
_Kernel_float_restored_ NTKERNELAPI VOID NTAPI KeRestoreExtendedProcessorState(_In_ _Requires_lock_held_(*_Curr_) _Releases_lock_(*_Curr_) PXSTATE_SAVE XStateSave)
NTKERNELAPI DECLSPEC_NORETURN VOID NTAPI KeBugCheck(_In_ ULONG BugCheckCode)
_In_ LOGICAL_PROCESSOR_RELATIONSHIP RelationshipType
NTKERNELAPI USHORT NTAPI KeQueryNodeMaximumProcessorCount(_In_ USHORT NodeNumber)
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _In_ _IRQL_restores_ KIRQL OldIrql
_Out_ PULONG64 CycleTimeStamp
_In_ PKSYNCHRONIZE_ROUTINE _In_opt_ __drv_aliasesMem PVOID SynchronizeContext
NTKERNELAPI ULONG NTAPI KeQueryMaximumProcessorCountEx(_In_ USHORT GroupNumber)
NTKERNELAPI VOID NTAPI KeInitializeDpc(_Out_ __drv_aliasesMem PRKDPC Dpc, _In_ PKDEFERRED_ROUTINE DeferredRoutine, _In_opt_ __drv_aliasesMem PVOID DeferredContext)
_In_ KDPC_IMPORTANCE Importance
NTHALAPI LARGE_INTEGER NTAPI KeQueryPerformanceCounter(_Out_opt_ PLARGE_INTEGER PerformanceFrequency)
_In_opt_ PVOID CallbackContext
_Requires_lock_held_ LockHandle _Releases_lock_ LockHandle LockHandle NTKERNELAPI VOID FASTCALL KeReleaseInStackQueuedSpinLockForDpc(_In_ PKLOCK_QUEUE_HANDLE LockHandle)
NTSTATUS NTAPI KeGetProcessorNumberFromIndex(_In_ ULONG ProcIndex, _Out_ PPROCESSOR_NUMBER ProcNumber)
NTKERNELAPI VOID NTAPI KeSetImportanceDpc(_Inout_ PRKDPC Dpc, _In_ KDPC_IMPORTANCE Importance)
_In_ LARGE_INTEGER _In_ ULONG Period
$endif(_WDMDDK_) $if(_NTDDK_) _IRQL_requires_min_(PASSIVE_LEVEL) _IRQL_requires_max_(DISPATCH_LEVEL) NTKERNELAPI VOID FASTCALL KeInvalidateRangeAllCaches(_In_ PVOID BaseAddress
_In_ PKSYNCHRONIZE_ROUTINE SynchronizeRoutine
ULONG NTAPI KeGetProcessorIndexFromNumber(_In_ PPROCESSOR_NUMBER ProcNumber)
_Must_inspect_result_ NTKERNELAPI BOOLEAN NTAPI KeDeregisterBugCheckCallback(_Inout_ PKBUGCHECK_CALLBACK_RECORD CallbackRecord)
NTKERNELAPI USHORT NTAPI KeQueryActiveGroupCount(VOID)
_Must_inspect_result_ NTKERNELAPI BOOLEAN NTAPI KeRegisterBugCheckCallback(_Out_ PKBUGCHECK_CALLBACK_RECORD CallbackRecord, _In_ PKBUGCHECK_CALLBACK_ROUTINE CallbackRoutine, _In_reads_bytes_opt_(Length) PVOID Buffer, _In_ ULONG Length, _In_ PUCHAR Component)
NTKERNELAPI ULONG NTAPI KeGetRecommendedSharedDataAlignment(VOID)
NTKERNELAPI VOID NTAPI KeQueryNodeActiveAffinity(_In_ USHORT NodeNumber, _Out_opt_ PGROUP_AFFINITY Affinity, _Out_opt_ PUSHORT Count)
*LockHandle LockHandle _Out_ PKLOCK_QUEUE_HANDLE LockHandle
_Inout_ PKDEVICE_QUEUE_ENTRY _In_ ULONG SortKey
NTKERNELAPI VOID NTAPI KeInitializeMutex(_Out_ PRKMUTEX Mutex, _In_ ULONG Level)
*Count PHARDWARE_COUNTER CounterArray
_Out_ PKAPC_STATE ApcState
NTKERNELAPI ULONG NTAPI KeGetCurrentProcessorNumberEx(_Out_opt_ PPROCESSOR_NUMBER ProcNumber)
_In_ KPRIORITY _In_ BOOLEAN Abandoned
*Count PHARDWARE_COUNTER _In_ ULONG MaximumCount
NTKERNELAPI KAFFINITY NTAPI KeQueryGroupAffinity(_In_ USHORT GroupNumber)
_In_ LONG _In_ LONG Limit
_Requires_lock_held_ SpinLock _Releases_lock_ SpinLock _In_ _IRQL_restores_ KIRQL NewIrql
*LockHandle LockHandle NTKERNELAPI VOID FASTCALL KeAcquireInStackQueuedSpinLockForDpc(_Inout_ PKSPIN_LOCK SpinLock, _Out_ PKLOCK_QUEUE_HANDLE LockHandle)
NTKERNELAPI BOOLEAN NTAPI KeInsertQueueDpc(_Inout_ PRKDPC Dpc, _In_opt_ PVOID SystemArgument1, _In_opt_ PVOID SystemArgument2)
NTKERNELAPI ULONGLONG NTAPI KeQueryUnbiasedInterruptTime(VOID)
_Inout_ PKDEVICE_QUEUE_ENTRY DeviceQueueEntry
_Must_inspect_result_ NTKERNELAPI BOOLEAN NTAPI KeRegisterBugCheckReasonCallback(_Out_ PKBUGCHECK_REASON_CALLBACK_RECORD CallbackRecord, _In_ PKBUGCHECK_REASON_CALLBACK_ROUTINE CallbackRoutine, _In_ KBUGCHECK_CALLBACK_REASON Reason, _In_ PUCHAR Component)
_Must_inspect_result_ NTKERNELAPI NTSTATUS NTAPI KeSetTargetProcessorDpcEx(_Inout_ PKDPC Dpc, _In_ PPROCESSOR_NUMBER ProcNumber)
_In_ BOOLEAN InitialOwner
_Out_ PCLIENT_ID ClientId
NTKERNELAPI DECLSPEC_NORETURN VOID NTAPI KeBugCheckEx(_In_ ULONG BugCheckCode, _In_ ULONG_PTR BugCheckParameter1, _In_ ULONG_PTR BugCheckParameter2, _In_ ULONG_PTR BugCheckParameter3, _In_ ULONG_PTR BugCheckParameter4)
NTKERNELAPI VOID NTAPI KeInitializeQueue(_Out_ PRKQUEUE Queue, _In_ ULONG Count)
NTKERNELAPI VOID NTAPI KeInitializeThreadedDpc(_Out_ PRKDPC Dpc, _In_ PKDEFERRED_ROUTINE DeferredRoutine, _In_opt_ PVOID DeferredContext)
_Must_inspect_result_ NTKERNELAPI BOOLEAN FASTCALL KeTestSpinLock(_In_ PKSPIN_LOCK SpinLock)
$if(_WDMDDK_) NTKERNELAPI VOID NTAPI KeInitializeEvent(_Out_ PRKEVENT Event
enum _KSPIN_LOCK_QUEUE_NUMBER KSPIN_LOCK_QUEUE_NUMBER
PROCESSOR_CALLBACK_FUNCTION * PPROCESSOR_CALLBACK_FUNCTION
NMI_CALLBACK * PNMI_CALLBACK
enum _KDPC_IMPORTANCE KDPC_IMPORTANCE
_In_opt_ PVOID _In_opt_ PVOID SystemArgument1
KSYNCHRONIZE_ROUTINE * PKSYNCHRONIZE_ROUTINE
KBUGCHECK_CALLBACK_ROUTINE * PKBUGCHECK_CALLBACK_ROUTINE
_In_opt_ PVOID DeferredContext
KIPI_BROADCAST_WORKER * PKIPI_BROADCAST_WORKER
KBUGCHECK_CALLBACK_REASON
enum _LOGICAL_PROCESSOR_RELATIONSHIP LOGICAL_PROCESSOR_RELATIONSHIP
KBUGCHECK_REASON_CALLBACK_ROUTINE * PKBUGCHECK_REASON_CALLBACK_ROUTINE
enum _KWAIT_REASON KWAIT_REASON
_In_opt_ PVOID _In_opt_ PVOID _In_opt_ PVOID SystemArgument2
EXPAND_STACK_CALLOUT * PEXPAND_STACK_CALLOUT
KDEFERRED_ROUTINE * PKDEFERRED_ROUTINE
_Inout_opt_ PVOID Parameter