ReactOS 0.4.15-dev-8393-g61b7fb9
kefuncs.h
Go to the documentation of this file.
1/******************************************************************************
2 * Kernel Functions *
3 ******************************************************************************/
5#if defined(_M_IX86)
6$include(x86/ke.h)
7#elif defined(_M_AMD64)
8$include(amd64/ke.h)
9#elif defined(_M_IA64)
10$include(ia64/ke.h)
11#elif defined(_M_PPC)
12$include(ppc/ke.h)
13#elif defined(_M_MIPS)
14$include(mips/ke.h)
15#elif defined(_M_ARM)
16$include(arm/ke.h)
17#elif defined(_M_ARM64)
18$include(arm64/ke.h)
19#else
20#error Unknown Architecture
21#endif
22
24VOID
30
33VOID
39
43VOID
45KeInvalidateRangeAllCaches(
49
50#if (NTDDI_VERSION >= NTDDI_WIN2K)
51
53#if defined(_NTDDK_) || defined(_NTIFS_)
57VOID
60 __in_data_source(USER_MODE) _In_reads_bytes_(Length) CONST VOID *Address, /* CONST is added */
63#endif /* defined(_NTDDK_) || defined(_NTIFS_) */
64
68VOID
74
78VOID
83
86LONG
92
96LONG
101
102_Acquires_lock_(_Global_critical_region_)
105VOID
106NTAPI
108
109_Releases_lock_(_Global_critical_region_)
112VOID
113NTAPI
115
118VOID
119NTAPI
121 _In_ ULONG BugCheckCode);
124#if defined(SINGLE_GROUP_LEGACY_API)
126
131VOID
132NTAPI
134
138VOID
139NTAPI
143
146VOID
147NTAPI
151
154NTAPI
156#endif /* defined(SINGLE_GROUP_LEGACY_API) */
158
160#if !defined(_M_AMD64)
163NTAPI
165
167VOID
168NTAPI
170 _Out_ PLARGE_INTEGER CurrentTime);
171#endif /* !_M_AMD64 */
172
173#if !defined(_X86_) && !defined(_M_ARM)
180KIRQL
181NTAPI
184
185#define KeAcquireSpinLock(SpinLock, OldIrql) \
186 *(OldIrql) = KeAcquireSpinLockRaiseToDpc(SpinLock)
187
192VOID
193NTAPI
196
201VOID
202NTAPI
206
211VOID
212NTAPI
215#endif /* !_X86_ */
216
217#if defined(_X86_) && (defined(_WDM_INCLUDED_) || defined(WIN9X_COMPAT_SPINLOCK))
219VOID
220NTAPI
223#else
225VOID
227{
228 /* Clear the lock */
229 *SpinLock = 0;
230}
231#endif
232
235VOID
236NTAPI
238 _In_ ULONG BugCheckCode,
239 _In_ ULONG_PTR BugCheckParameter1,
240 _In_ ULONG_PTR BugCheckParameter2,
241 _In_ ULONG_PTR BugCheckParameter3,
242 _In_ ULONG_PTR BugCheckParameter4);
243
247NTAPI
250
255NTAPI
257 _In_ KPROCESSOR_MODE WaitMode,
260
264NTAPI
267
268_Acquires_lock_(_Global_critical_region_)
271VOID
272NTAPI
274
277VOID
278NTAPI
280 _Out_ PKDEVICE_QUEUE DeviceQueue);
281
283VOID
284NTAPI
287 _In_ PKDEFERRED_ROUTINE DeferredRoutine,
289
291VOID
292NTAPI
296
299VOID
300NTAPI
302 _Out_ PRKSEMAPHORE Semaphore,
305
308VOID
309NTAPI
312
315VOID
316NTAPI
320
324NTAPI
326 _Inout_ PKDEVICE_QUEUE DeviceQueue,
329
333NTAPI
335 _Inout_ PKDEVICE_QUEUE DeviceQueue,
337
340NTAPI
345
346_Releases_lock_(_Global_critical_region_)
349VOID
350NTAPI
352
355NTAPI
357 _Out_opt_ PLARGE_INTEGER PerformanceFrequency);
358
362NTAPI
365
367ULONG
368NTAPI
370
373LONG
374NTAPI
377
380LONG
381NTAPI
382KeReadStateMutex(
384
387LONG
388NTAPI
390 _In_ PRKSEMAPHORE Semaphore);
391
395NTAPI
398
402NTAPI
409
413LONG
414NTAPI
418
422LONG
423NTAPI
425 _Inout_ PRKSEMAPHORE Semaphore,
429
433NTAPI
435 _Inout_ PKDEVICE_QUEUE DeviceQueue,
437
441NTAPI
443 _Inout_ PKDEVICE_QUEUE DeviceQueue);
444
448NTAPI
450 _Inout_ PKDEVICE_QUEUE DeviceQueue,
452
456NTAPI
459
462LONG
463NTAPI
466
470LONG
471NTAPI
476
478VOID
479NTAPI
483
488NTAPI
492
496NTAPI
501
505NTAPI
511
513VOID
514NTAPI
516 _In_ ULONG MicroSeconds);
517
521NTAPI
526
532NTAPI
537 _In_ __drv_strictTypeMatch(__drv_typeCond) KWAIT_REASON WaitReason,
538 _In_ __drv_strictType(KPROCESSOR_MODE/enum _MODE,__drv_typeConst) KPROCESSOR_MODE WaitMode,
542
543#define KeWaitForMutexObject KeWaitForSingleObject
544
550NTAPI
553 _In_ __drv_strictTypeMatch(__drv_typeCond) KWAIT_REASON WaitReason,
554 _In_ __drv_strictType(KPROCESSOR_MODE/enum _MODE,__drv_typeConst) KPROCESSOR_MODE WaitMode,
558$if (_NTIFS_)
559
561VOID
562NTAPI
564 _Out_ PRKMUTANT Mutant,
566
569LONG
570NTAPI
572 _In_ PRKMUTANT Mutant);
573
577LONG
578NTAPI
580 _Inout_ PRKMUTANT Mutant,
584
586VOID
587NTAPI
591
594LONG
595NTAPI
598
602LONG
603NTAPI
607
611LONG
612NTAPI
616
622NTAPI
625 _In_ KPROCESSOR_MODE WaitMode,
627
630VOID
631NTAPI
634
637VOID
638NTAPI
640
644NTAPI
647
650VOID
651NTAPI
655
658VOID
659NTAPI
662
666UCHAR
667NTAPI
671
675NTAPI
678
679#if defined(_X86_)
685KIRQL
689#else
695KIRQL
698#endif
700
701#endif /* (NTDDI_VERSION >= NTDDI_WIN2K) */
702
703#if (NTDDI_VERSION >= NTDDI_WINXP)
704
710_IRQL_saves_global_(QueuedSpinLock,LockHandle)
713VOID
718
724VOID
729
731_Acquires_lock_(*Interrupt->ActualLock)
736KIRQL
737NTAPI
740
745NTAPI
747
749ULONG
750NTAPI
752
755ULONG
756NTAPI
760
765VOID
769
771_Releases_lock_(*Interrupt->ActualLock)
774VOID
775NTAPI
779
783NTAPI
785 _Inout_ PKDEVICE_QUEUE DeviceQueue,
787
793VOID
798$if (_NTDDK_)
803NTAPI
806$if (_NTIFS_)
807
812KIRQL
816
820VOID
825
829LOGICAL
835
836#endif /* (NTDDI_VERSION >= NTDDI_WINXP) */
837
839#if (NTDDI_VERSION >= NTDDI_WINXPSP1)
840
844NTAPI
847
851NTAPI
857
858#endif /* (NTDDI_VERSION >= NTDDI_WINXPSP1) */
859
860#if (NTDDI_VERSION >= NTDDI_WINXPSP2)
863VOID
864NTAPI
866#endif /* (NTDDI_VERSION >= NTDDI_WINXPSP2) */
869#if (NTDDI_VERSION >= NTDDI_WS03)
871
875PVOID
876NTAPI
880
884NTAPI
887
889VOID
890NTAPI
893 _In_ PKDEFERRED_ROUTINE DeferredRoutine,
895
900NTAPI
902 _In_ PKIPI_BROADCAST_WORKER BroadcastFunction,
904
910KIRQL
914
919VOID
924
932
933$if (_NTDDK_)
936NTAPI
940#endif /* (NTDDI_VERSION >= NTDDI_WS03) */
943#if (NTDDI_VERSION >= NTDDI_WS03SP1)
945
949_Post_satisfies_(return == 1 || return == 0)
955 _When_(return!=0, _Acquires_lock_(*_Curr_))
957
962NTAPI
964
965_Acquires_lock_(_Global_critical_region_)
971VOID
974 _Inout_ PKGUARDED_MUTEX GuardedMutex);
975
976_Requires_lock_not_held_(*FastMutex)
977_Acquires_lock_(*FastMutex)
981VOID
984 _Inout_ PKGUARDED_MUTEX GuardedMutex);
985
986_Acquires_lock_(_Global_critical_region_)
989VOID
990NTAPI
992
993_Releases_lock_(_Global_critical_region_)
996VOID
997NTAPI
999
1003VOID
1006 _Out_ PKGUARDED_MUTEX GuardedMutex);
1007
1008_Requires_lock_held_(*FastMutex)
1009_Releases_lock_(*FastMutex)
1012VOID
1015 _Inout_ PKGUARDED_MUTEX GuardedMutex);
1016
1017_Releases_lock_(_Global_critical_region_)
1022VOID
1025 _Inout_ PKGUARDED_MUTEX GuardedMutex);
1026
1030_Post_satisfies_(return == 1 || return == 0)
1032BOOLEAN
1035 _When_ (return, _Requires_lock_not_held_(*_Curr_) _Acquires_exclusive_lock_(*_Curr_)) _Acquires_lock_(_Global_critical_region_)
1036 _Inout_ PKGUARDED_MUTEX GuardedMutex);
1038$if (_NTDDK_)
1043NTAPI
1044KeExpandKernelStackAndCallout(
1048
1049_Acquires_lock_(_Global_critical_region_)
1052VOID
1053NTAPI
1055
1056_Releases_lock_(_Global_critical_region_)
1059VOID
1060NTAPI
1063$if (_WDMDDK_ || _NTDDK_)
1064#endif /* (NTDDI_VERSION >= NTDDI_WS03SP1) */
1066
1067#if (NTDDI_VERSION >= NTDDI_VISTA)
1068$if (_WDMDDK_)
1073_IRQL_saves_global_(QueuedSpinLock,LockHandle)
1075VOID
1080
1084_IRQL_restores_global_(QueuedSpinLock,LockHandle)
1086VOID
1090
1094NTAPI
1095KeQueryDpcWatchdogInformation(
1096 _Out_ PKDPC_WATCHDOG_INFORMATION WatchdogInformation);
1098$if (_WDMDDK_ || _NTDDK_)
1099#if defined(SINGLE_GROUP_LEGACY_API)
1101
1102$if (_WDMDDK_)
1107NTAPI
1108KeSetSystemAffinityThreadEx(
1110
1114VOID
1115NTAPI
1116KeRevertToUserAffinityThreadEx(
1118
1120ULONG
1121NTAPI
1123 _Out_opt_ PKAFFINITY ActiveProcessors);
1124
1126ULONG
1127NTAPI
1128KeQueryMaximumProcessorCount(VOID);
1130$if (_NTDDK_)
1132ULONG
1133NTAPI
1135 _Out_opt_ PKAFFINITY ActiveProcessors);
1136
1138ULONG
1139NTAPI
1140KeQueryMaximumProcessorCount(VOID);
1142$if (_WDMDDK_ || _NTDDK_)
1143#endif /* SINGLE_GROUP_LEGACY_API */
1145$if (_NTIFS_)
1148VOID
1149KeQueryOwnerMutant(
1150 _In_ PKMUTANT Mutant,
1152
1157ULONG
1158NTAPI
1159KeRemoveQueueEx(
1161 _In_ KPROCESSOR_MODE WaitMode,
1164 _Out_writes_to_(Count, return) PLIST_ENTRY *EntryArray,
1165 _In_ ULONG Count);
1167
1168#endif /* (NTDDI_VERSION >= NTDDI_VISTA) */
1169
1170$if (_WDMDDK_)
1171#if (NTDDI_VERSION >= NTDDI_WS08)
1172
1174PVOID
1175NTAPI
1176KeRegisterProcessorChangeCallback(
1180
1182VOID
1183NTAPI
1184KeDeregisterProcessorChangeCallback(
1185 _In_ PVOID CallbackHandle);
1186
1187#endif /* (NTDDI_VERSION >= NTDDI_WS08) */
1189$if (_WDMDDK_ || _NTDDK_)
1190#if (NTDDI_VERSION >= NTDDI_WIN7)
1191
1193ULONG
1194NTAPI
1195KeQueryActiveProcessorCountEx(
1196 _In_ USHORT GroupNumber);
1197
1199ULONG
1200NTAPI
1202 _In_ USHORT GroupNumber);
1203
1205USHORT
1206NTAPI
1208
1210USHORT
1211NTAPI
1213
1216NTAPI
1218 _In_ USHORT GroupNumber);
1219
1221ULONG
1222NTAPI
1224 _Out_opt_ PPROCESSOR_NUMBER ProcNumber);
1225
1227VOID
1228NTAPI
1233
1235USHORT
1236NTAPI
1239
1241USHORT
1242NTAPI
1244
1246USHORT
1247NTAPI
1249
1253NTAPI
1254KeQueryLogicalProcessorRelationship(
1255 _In_opt_ PPROCESSOR_NUMBER ProcessorNumber OPTIONAL,
1259
1261
1262$if (_WDMDDK_)
1266ULONG64
1267NTAPI
1268KeQueryTotalCycleTimeProcess(
1271
1275ULONG64
1276NTAPI
1277KeQueryTotalCycleTimeThread(
1280
1284NTAPI
1287 _In_ PPROCESSOR_NUMBER ProcNumber);
1288
1292VOID
1293NTAPI
1294KeSetSystemGroupAffinityThread(
1297
1301VOID
1302NTAPI
1303KeRevertToUserGroupAffinityThread(
1305
1308BOOLEAN
1309NTAPI
1310KeSetCoalescableTimer(
1316
1319NTAPI
1321
1324_Ret_range_(<=, 0)
1328NTAPI
1329KeSaveExtendedProcessorState(
1333 PXSTATE_SAVE XStateSave);
1334
1337VOID
1338NTAPI
1340 _In_ _Requires_lock_held_(*_Curr_) _Releases_lock_(*_Curr_)
1341 PXSTATE_SAVE XStateSave);
1342
1344NTAPI
1346 _In_ ULONG ProcIndex,
1347 _Out_ PPROCESSOR_NUMBER ProcNumber);
1348
1349ULONG
1350NTAPI
1352 _In_ PPROCESSOR_NUMBER ProcNumber);
1354$if (_NTDDK_)
1358NTAPI
1359KeSetHardwareCounterConfiguration(
1361 _In_ ULONG Count);
1362
1366NTAPI
1367KeQueryHardwareCounterConfiguration(
1372$if (_WDMDDK_ || _NTDDK_)
1373#endif /* (NTDDI_VERSION >= NTDDI_WIN7) */
1375$if (_WDMDDK_)
1376#if !defined(_IA64_)
1378VOID
1379NTAPI
1381#endif
1382
1383/* VOID
1384 * KeInitializeCallbackRecord(
1385 * IN PKBUGCHECK_CALLBACK_RECORD CallbackRecord)
1386 */
1387#define KeInitializeCallbackRecord(CallbackRecord) \
1388 (CallbackRecord)->State = BufferEmpty;
1389
1390#if defined(_PREFAST_)
1391
1392void __PREfastPagedCode(void);
1393void __PREfastPagedCodeLocked(void);
1394#define PAGED_CODE() __PREfastPagedCode();
1395#define PAGED_CODE_LOCKED() __PREfastPagedCodeLocked();
1396
1397#elif DBG
1398
1399#if (NTDDI_VERSION >= NTDDI_VISTA)
1400#define PAGED_ASSERT( exp ) NT_ASSERT( exp )
1401#else
1402#define PAGED_ASSERT( exp ) ASSERT( exp )
1403#endif
1404
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); \
1409 } \
1410}
1411
1412#define PAGED_CODE_LOCKED() NOP_FUNCTION;
1413
1414#else
1415
1416#define PAGED_CODE() NOP_FUNCTION;
1417#define PAGED_CODE_LOCKED() NOP_FUNCTION;
1418
1419#endif /* DBG */
1420
KBUGCHECK_REASON_CALLBACK_RECORD CallbackRecord
unsigned char BOOLEAN
Type
Definition: Type.h:7
LONG NTSTATUS
Definition: precomp.h:26
KAFFINITY * PKAFFINITY
Definition: basetsd.h:195
#define __drv_aliasesMem
Definition: btrfs_drv.h:203
PVOID NTAPI KeRegisterNmiCallback(IN PNMI_CALLBACK CallbackRoutine, IN PVOID Context)
Definition: bug.c:1330
BOOLEAN NTAPI KeDeregisterBugCheckReasonCallback(IN PKBUGCHECK_REASON_CALLBACK_RECORD CallbackRecord)
Definition: bug.c:1232
NTSTATUS NTAPI KeDeregisterNmiCallback(IN PVOID Handle)
Definition: bug.c:1364
return
Definition: dirsup.c:529
Definition: bufpool.h:45
Definition: Mutex.h:16
#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)
Definition: devqueue.c:153
BOOLEAN NTAPI KeInsertByKeyDeviceQueue(IN PKDEVICE_QUEUE DeviceQueue, IN PKDEVICE_QUEUE_ENTRY DeviceQueueEntry, IN ULONG SortKey)
Definition: devqueue.c:83
PKDEVICE_QUEUE_ENTRY NTAPI KeRemoveByKeyDeviceQueueIfBusy(IN PKDEVICE_QUEUE DeviceQueue, IN ULONG SortKey)
Definition: devqueue.c:273
BOOLEAN NTAPI KeInsertDeviceQueue(IN PKDEVICE_QUEUE DeviceQueue, IN PKDEVICE_QUEUE_ENTRY DeviceQueueEntry)
Definition: devqueue.c:41
VOID NTAPI KeInitializeDeviceQueue(IN PKDEVICE_QUEUE DeviceQueue)
Definition: devqueue.c:22
PKDEVICE_QUEUE_ENTRY NTAPI KeRemoveByKeyDeviceQueue(IN PKDEVICE_QUEUE DeviceQueue, IN ULONG SortKey)
Definition: devqueue.c:197
BOOLEAN NTAPI KeRemoveEntryDeviceQueue(IN PKDEVICE_QUEUE DeviceQueue, IN PKDEVICE_QUEUE_ENTRY DeviceQueueEntry)
Definition: devqueue.c:348
#define NULL
Definition: types.h:112
#define FALSE
Definition: types.h:117
ULONG_PTR KAFFINITY
Definition: compat.h:85
LONG KPRIORITY
Definition: compat.h:803
VOID NTAPI KeSetTargetProcessorDpc(IN PKDPC Dpc, IN CCHAR Number)
Definition: dpc.c:971
BOOLEAN NTAPI KeRemoveQueueDpc(IN PKDPC Dpc)
Definition: dpc.c:878
VOID NTAPI KeFlushQueuedDpcs(VOID)
Definition: dpc.c:919
#define _Kernel_float_restored_
Definition: driverspecs.h:240
#define __drv_strictType(typename, mode)
Definition: driverspecs.h:329
#define _IRQL_requires_same_
Definition: driverspecs.h:232
#define _IRQL_requires_min_(irql)
Definition: driverspecs.h:231
#define _IRQL_requires_max_(irql)
Definition: driverspecs.h:230
#define _IRQL_restores_
Definition: driverspecs.h:233
#define _IRQL_requires_(irql)
Definition: driverspecs.h:229
#define _IRQL_saves_
Definition: driverspecs.h:235
#define _IRQL_raises_(irql)
Definition: driverspecs.h:228
#define _Kernel_float_saved_
Definition: driverspecs.h:241
#define _IRQL_saves_global_(kind, param)
Definition: driverspecs.h:236
#define _IRQL_restores_global_(kind, param)
Definition: driverspecs.h:234
#define __drv_strictTypeMatch(mode)
Definition: driverspecs.h:330
#define SYNCH_LEVEL
Definition: env_spec_w32.h:704
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693
#define IPI_LEVEL
Definition: env_spec_w32.h:701
UCHAR KIRQL
Definition: env_spec_w32.h:591
#define KeWaitForSingleObject(pEvt, foo, a, b, c)
Definition: env_spec_w32.h:478
#define HIGH_LEVEL
Definition: env_spec_w32.h:703
KSPIN_LOCK * PKSPIN_LOCK
Definition: env_spec_w32.h:73
#define KeInitializeEvent(pEvt, foo, foo2)
Definition: env_spec_w32.h:477
#define KeReleaseSpinLock(sl, irql)
Definition: env_spec_w32.h:627
#define APC_LEVEL
Definition: env_spec_w32.h:695
#define KeSetEvent(pEvt, foo, foo2)
Definition: env_spec_w32.h:476
#define KeQuerySystemTime(t)
Definition: env_spec_w32.h:570
KIRQL * PKIRQL
Definition: env_spec_w32.h:592
#define DISPATCH_LEVEL
Definition: env_spec_w32.h:696
#define KeDelayExecutionThread(mode, foo, t)
Definition: env_spec_w32.h:484
#define KeInitializeSpinLock(sl)
Definition: env_spec_w32.h:604
LONG NTAPI KePulseEvent(IN PKEVENT Event, IN KPRIORITY Increment, IN BOOLEAN Wait)
Definition: eventobj.c:68
VOID NTAPI KeClearEvent(IN PKEVENT Event)
Definition: eventobj.c:22
LONG NTAPI KeReadStateEvent(IN PKEVENT Event)
Definition: eventobj.c:120
LONG NTAPI KeResetEvent(IN PKEVENT Event)
Definition: eventobj.c:133
VOID NTAPI ProbeForRead(IN CONST VOID *Address, IN SIZE_T Length, IN ULONG Alignment)
Definition: exintrin.c:102
VOID NTAPI ProbeForWrite(IN PVOID Address, IN SIZE_T Length, IN ULONG Alignment)
Definition: exintrin.c:143
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG Increment
Definition: CrNtStubs.h:46
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
Definition: fltkernel.h:2653
_Must_inspect_result_ _In_ PFLT_GET_OPERATION_STATUS_CALLBACK CallbackRoutine
Definition: fltkernel.h:1035
unsigned int Mask
Definition: fpcontrol.c:82
_Must_inspect_result_ _In_ WAIT_TYPE _In_opt_ PLARGE_INTEGER _In_opt_ PKWAIT_BLOCK WaitBlockArray
Definition: fsrtlfuncs.h:1153
_Must_inspect_result_ _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ ULONG _In_ PFILE_OBJECT _In_ PVOID Process
Definition: fsrtlfuncs.h:223
ULONG Handle
Definition: gdb_input.c:15
VOID FASTCALL KeReleaseGuardedMutexUnsafe(IN OUT PKGUARDED_MUTEX GuardedMutex)
Definition: gmutex.c:75
VOID FASTCALL KeInitializeGuardedMutex(OUT PKGUARDED_MUTEX GuardedMutex)
Definition: gmutex.c:31
VOID FASTCALL KeAcquireGuardedMutexUnsafe(IN OUT PKGUARDED_MUTEX GuardedMutex)
Definition: gmutex.c:64
BOOLEAN FASTCALL KeTryToAcquireGuardedMutex(IN OUT PKGUARDED_MUTEX GuardedMutex)
Definition: gmutex.c:86
VOID FASTCALL KeReleaseGuardedMutex(IN OUT PKGUARDED_MUTEX GuardedMutex)
Definition: gmutex.c:53
VOID FASTCALL KeAcquireGuardedMutex(IN PKGUARDED_MUTEX GuardedMutex)
Definition: gmutex.c:42
VOID NTAPI KeFlushWriteBuffer(VOID)
Definition: misc.c:39
VOID FASTCALL KeAcquireInStackQueuedSpinLock(IN PKSPIN_LOCK SpinLock, IN PKLOCK_QUEUE_HANDLE LockHandle)
Definition: spinlock.c:130
VOID FASTCALL KeReleaseQueuedSpinLock(IN KSPIN_LOCK_QUEUE_NUMBER LockNumber, IN KIRQL OldIrql)
Definition: spinlock.c:154
KIRQL FASTCALL KeAcquireSpinLockRaiseToSynch(PKSPIN_LOCK SpinLock)
Definition: spinlock.c:62
LOGICAL FASTCALL KeTryToAcquireQueuedSpinLock(IN KSPIN_LOCK_QUEUE_NUMBER LockNumber, OUT PKIRQL OldIrql)
Definition: spinlock.c:192
KIRQL FASTCALL KeAcquireQueuedSpinLock(IN KSPIN_LOCK_QUEUE_NUMBER LockNumber)
Definition: spinlock.c:108
#define _NTIFS_
Definition: ifssupp.h:20
NTKRNLVISTAAPI USHORT NTAPI KeQueryHighestNodeNumber()
Definition: ke.c:32
NTKRNLVISTAAPI USHORT NTAPI KeGetCurrentNodeNumber()
Definition: ke.c:40
NTKRNLVISTAAPI ULONG NTAPI KeQueryActiveProcessorCount(OUT PKAFFINITY ActiveProcessors OPTIONAL)
Definition: ke.c:15
#define KeLeaveGuardedRegion()
Definition: ke_x.h:68
#define KeLeaveCriticalRegion()
Definition: ke_x.h:119
#define KeEnterCriticalRegion()
Definition: ke_x.h:88
#define KeEnterGuardedRegion()
Definition: ke_x.h:39
unsigned __int64 * PULONG64
Definition: imports.h:198
unsigned __int64 ULONG64
Definition: imports.h:198
PVOID PVOID PWCHAR PVOID USHORT PULONG Reason
Definition: env.c:47
#define _Out_opt_
Definition: ms_sal.h:346
#define _Success_(expr)
Definition: ms_sal.h:259
#define _In_reads_bytes_(size)
Definition: ms_sal.h:321
#define _Inout_
Definition: ms_sal.h:378
#define _Out_writes_bytes_(size)
Definition: ms_sal.h:350
#define _Ret_range_(lb, ub)
Definition: ms_sal.h:573
#define _At_(target, annos)
Definition: ms_sal.h:244
#define _Must_inspect_result_
Definition: ms_sal.h:558
#define _Out_
Definition: ms_sal.h:345
#define _When_(expr, annos)
Definition: ms_sal.h:254
#define _In_
Definition: ms_sal.h:308
#define _In_reads_bytes_opt_(size)
Definition: ms_sal.h:322
#define _In_opt_
Definition: ms_sal.h:309
#define _Literal_
Definition: ms_sal.h:553
#define _Post_satisfies_(cond)
Definition: ms_sal.h:588
#define _Out_writes_to_(size, count)
Definition: ms_sal.h:355
#define _Points_to_data_
Definition: ms_sal.h:552
#define _Out_writes_bytes_opt_(size)
Definition: ms_sal.h:351
#define _Maybe_raises_SEH_exception_
Definition: ms_sal.h:2956
#define _In_reads_(size)
Definition: ms_sal.h:319
_In_ PVOID _In_ BOOLEAN Alertable
Definition: exfuncs.h:453
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID * BaseAddress
Definition: mmfuncs.h:404
DWORD Interval
Definition: netstat.c:30
int Count
Definition: noreturn.cpp:7
#define FASTCALL
Definition: nt_native.h:50
#define DECLSPEC_NORETURN
Definition: ntbasedef.h:176
* PPROCESSOR_NUMBER
Definition: ntbasedef.h:642
#define _NTDDK_
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:102
_In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN Enable
Definition: ntddpcm.h:142
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)
Definition: cpu.c:698
#define NTHALAPI
Definition: ntoskrnl.h:40
KAFFINITY NTAPI KeQueryActiveProcessors(VOID)
Definition: cpu.c:672
BOOLEAN NTAPI KeSynchronizeExecution(IN OUT PKINTERRUPT Interrupt, IN PKSYNCHRONIZE_ROUTINE SynchronizeRoutine, IN PVOID SynchronizeContext OPTIONAL)
Definition: interrupt.c:237
ULONG_PTR NTAPI KeIpiGenericCall(_In_ PKIPI_BROADCAST_WORKER Function, _In_ ULONG_PTR Argument)
Definition: ipi.c:44
KIRQL NTAPI KeAcquireSpinLockRaiseToDpc(PKSPIN_LOCK SpinLock)
Definition: spinlock.c:41
BOOLEAN NTAPI KeAreAllApcsDisabled(VOID)
Definition: apc.c:985
BOOLEAN NTAPI KeAreApcsDisabled(VOID)
Definition: apc.c:958
LONG NTAPI KeReleaseMutant(IN PKMUTANT Mutant, IN KPRIORITY Increment, IN BOOLEAN Abandon, IN BOOLEAN Wait)
Definition: mutex.c:98
VOID NTAPI KeInitializeMutant(IN PKMUTANT Mutant, IN BOOLEAN InitialOwner)
Definition: mutex.c:22
LONG NTAPI KeReadStateMutant(IN PKMUTANT Mutant)
Definition: mutex.c:87
LONG NTAPI KeReleaseMutex(IN PKMUTEX Mutex, IN BOOLEAN Wait)
Definition: mutex.c:189
LONG NTAPI KeReadStateQueue(IN PKQUEUE Queue)
Definition: queue.c:226
LONG NTAPI KeInsertHeadQueue(IN PKQUEUE Queue, IN PLIST_ENTRY Entry)
Definition: queue.c:172
LONG NTAPI KeInsertQueue(IN PKQUEUE Queue, IN PLIST_ENTRY Entry)
Definition: queue.c:198
PLIST_ENTRY NTAPI KeRundownQueue(IN PKQUEUE Queue)
Definition: queue.c:438
PLIST_ENTRY NTAPI KeRemoveQueue(IN PKQUEUE Queue, IN KPROCESSOR_MODE WaitMode, IN PLARGE_INTEGER Timeout OPTIONAL)
Definition: queue.c:238
KIRQL NTAPI KeAcquireInterruptSpinLock(IN PKINTERRUPT Interrupt)
Definition: spinlock.c:154
VOID FASTCALL KeAcquireInStackQueuedSpinLockAtDpcLevel(IN PKSPIN_LOCK SpinLock, IN PKLOCK_QUEUE_HANDLE LockHandle)
Definition: spinlock.c:363
VOID FASTCALL KeReleaseInStackQueuedSpinLockFromDpcLevel(IN PKLOCK_QUEUE_HANDLE LockHandle)
Definition: spinlock.c:395
VOID FASTCALL KeReleaseSpinLockForDpc(IN PKSPIN_LOCK SpinLock, IN KIRQL OldIrql)
Definition: spinlock.c:435
VOID NTAPI KeReleaseInterruptSpinLock(IN PKINTERRUPT Interrupt, IN KIRQL OldIrql)
Definition: spinlock.c:171
BOOLEAN FASTCALL KeTryToAcquireSpinLockAtDpcLevel(IN OUT PKSPIN_LOCK SpinLock)
Definition: spinlock.c:309
KIRQL FASTCALL KeAcquireSpinLockForDpc(IN PKSPIN_LOCK SpinLock)
Definition: spinlock.c:424
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)
Definition: wait.c:586
_In_opt_ PENTER_STATE_SYSTEM_HANDLER _In_opt_ PVOID _In_ LONG _In_opt_ LONG volatile * Number
Definition: ntpoapi.h:207
@ arm
Definition: optimize.h:109
#define CONST
Definition: pedump.c:81
long LONG
Definition: pedump.c:60
unsigned short USHORT
Definition: pedump.c:61
static WCHAR Address[46]
Definition: ping.c:68
static ULONG Timeout
Definition: ping.c:61
VOID NTAPI KeDetachProcess(VOID)
Definition: procobj.c:621
VOID NTAPI KeStackAttachProcess(IN PKPROCESS Process, OUT PRKAPC_STATE ApcState)
Definition: procobj.c:704
VOID NTAPI KeUnstackDetachProcess(IN PRKAPC_STATE ApcState)
Definition: procobj.c:756
VOID NTAPI KeAttachProcess(IN PKPROCESS Process)
Definition: procobj.c:582
#define KeQueryInterruptTime()
Definition: ke.h:37
#define KeAcquireSpinLockAtDpcLevel(SpinLock)
Definition: ke.h:125
#define KeReleaseSpinLockFromDpcLevel(SpinLock)
Definition: ke.h:135
LONG NTAPI KeReadStateSemaphore(IN PKSEMAPHORE Semaphore)
Definition: semphobj.c:41
VOID NTAPI KeInitializeSemaphore(IN PKSEMAPHORE Semaphore, IN LONG Count, IN LONG Limit)
Definition: semphobj.c:22
LONG NTAPI KeReleaseSemaphore(IN PKSEMAPHORE Semaphore, IN KPRIORITY Increment, IN LONG Adjustment, IN BOOLEAN Wait)
Definition: semphobj.c:54
WaitType
Definition: shlextdbg.cpp:386
#define __in_data_source(src_sym)
Definition: specstrings.h:348
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68
base of all file and directory entries
Definition: entries.h:83
Definition: ketypes.h:578
Definition: ketypes.h:699
Definition: typedefs.h:120
KPRIORITY NTAPI KeQueryPriorityThread(IN PKTHREAD Thread)
Definition: thrdobj.c:1008
VOID NTAPI KeSetSystemAffinityThread(IN KAFFINITY Affinity)
Definition: thrdobj.c:1107
UCHAR NTAPI KeSetIdealProcessorThread(IN PKTHREAD Thread, IN UCHAR Processor)
Definition: thrdobj.c:1066
LONG NTAPI KeSetBasePriorityThread(IN PKTHREAD Thread, IN LONG Increment)
Definition: thrdobj.c:1176
BOOLEAN NTAPI KeSetKernelStackSwapEnable(IN BOOLEAN Enable)
Definition: thrdobj.c:988
VOID NTAPI KeRevertToUserAffinityThread(VOID)
Definition: thrdobj.c:1021
KPRIORITY NTAPI KeSetPriorityThread(IN PKTHREAD Thread, IN KPRIORITY Priority)
Definition: thrdobj.c:1319
ULONG NTAPI KeQueryRuntimeThread(IN PKTHREAD Thread, OUT PULONG UserTime)
Definition: thrdobj.c:971
BOOLEAN NTAPI KeSetTimer(IN OUT PKTIMER Timer, IN LARGE_INTEGER DueTime, IN PKDPC Dpc OPTIONAL)
Definition: timerobj.c:281
BOOLEAN NTAPI KeReadStateTimer(IN PKTIMER Timer)
Definition: timerobj.c:269
BOOLEAN NTAPI KeSetTimerEx(IN OUT PKTIMER Timer, IN LARGE_INTEGER DueTime, IN LONG Period, IN PKDPC Dpc OPTIONAL)
Definition: timerobj.c:294
BOOLEAN NTAPI KeCancelTimer(IN OUT PKTIMER Timer)
Definition: timerobj.c:206
VOID NTAPI KeInitializeTimerEx(OUT PKTIMER Timer, IN TIMER_TYPE Type)
Definition: timerobj.c:244
VOID NTAPI KeInitializeTimer(OUT PKTIMER Timer)
Definition: timerobj.c:233
uint32_t * PULONG
Definition: typedefs.h:59
#define NTAPI
Definition: typedefs.h:36
ULONG_PTR SIZE_T
Definition: typedefs.h:80
uint16_t * PUSHORT
Definition: typedefs.h:56
uint32_t ULONG_PTR
Definition: typedefs.h:65
unsigned char * PUCHAR
Definition: typedefs.h:53
uint32_t ULONG
Definition: typedefs.h:59
uint64_t ULONGLONG
Definition: typedefs.h:67
char CCHAR
Definition: typedefs.h:51
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
_Must_inspect_result_ _In_ WDFDEVICE _In_ PIRP _In_ WDFQUEUE Queue
Definition: wdfdevice.h:2225
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533
_Must_inspect_result_ _In_ PWDF_DPC_CONFIG _In_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFDPC * Dpc
Definition: wdfdpc.h:112
_In_ WDFDPC _In_ BOOLEAN Wait
Definition: wdfdpc.h:170
_In_ WDFINTERRUPT _In_ WDF_INTERRUPT_POLICY _In_ WDF_INTERRUPT_PRIORITY Priority
Definition: wdfinterrupt.h:655
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_INTERRUPT_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFINTERRUPT * Interrupt
Definition: wdfinterrupt.h:379
_In_ WDFREQUEST _In_ NTSTATUS _In_ ULONG_PTR Information
Definition: wdfrequest.h:1049
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFSPINLOCK * SpinLock
Definition: wdfsync.h:228
_In_ WDFTIMER _In_ LONGLONG DueTime
Definition: wdftimer.h:190
#define FORCEINLINE
Definition: wdftypes.h:67
#define NTKRNLVISTAAPI
#define _DECL_HAL_KE_IMPORT
#define _WDMDDK_
Definition: wdm.template.h:26
#define NTKERNELAPI
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level
Definition: wmitypes.h:56
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
_In_ PCALLBACK_FUNCTION CallbackFunction
Definition: exfuncs.h:1034
_In_ ULONG _In_ ULONG _In_ ULONG _Out_ PKIRQL _Out_ PKAFFINITY Affinity
Definition: halfuncs.h:174
_Out_ PUSHORT NodeNumber
Definition: iofuncs.h:2574
NTKERNELAPI USHORT NTAPI KeQueryMaximumGroupCount(VOID)
_Out_opt_ PGROUP_AFFINITY PreviousAffinity
Definition: kefuncs.h:1296
_In_ KPRIORITY _In_ LONG Adjustment
Definition: kefuncs.h:427
NTKERNELAPI ULONG NTAPI KeQueryTimeIncrement(VOID)
Definition: clock.c:153
_Out_ PULONG UserTime
Definition: kefuncs.h:759
_In_ LARGE_INTEGER _In_ ULONG _In_ ULONG TolerableDelay
Definition: kefuncs.h:1314
_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
Definition: kefuncs.h:1256
NTKERNELAPI USHORT NTAPI KeQueryNodeMaximumProcessorCount(_In_ USHORT NodeNumber)
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _In_ _IRQL_restores_ KIRQL OldIrql
Definition: kefuncs.h:778
_Out_ PULONG64 CycleTimeStamp
Definition: kefuncs.h:1270
_In_ PKSYNCHRONIZE_ROUTINE _In_opt_ __drv_aliasesMem PVOID SynchronizeContext
Definition: kefuncs.h:525
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
Definition: kefuncs.h:82
NTHALAPI LARGE_INTEGER NTAPI KeQueryPerformanceCounter(_Out_opt_ PLARGE_INTEGER PerformanceFrequency)
_In_opt_ PVOID CallbackContext
Definition: kefuncs.h:1178
_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
Definition: kefuncs.h:1313
$endif(_WDMDDK_) $if(_NTDDK_) _IRQL_requires_min_(PASSIVE_LEVEL) _IRQL_requires_max_(DISPATCH_LEVEL) NTKERNELAPI VOID FASTCALL KeInvalidateRangeAllCaches(_In_ PVOID BaseAddress
Definition: ke.h:202
_In_ PKSYNCHRONIZE_ROUTINE SynchronizeRoutine
Definition: kefuncs.h:524
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)
Definition: cpu.c:710
NTHALAPI VOID NTAPI KeStallExecutionProcessor(_In_ ULONG MicroSeconds)
Definition: delay.c:30
NTKERNELAPI VOID NTAPI KeQueryNodeActiveAffinity(_In_ USHORT NodeNumber, _Out_opt_ PGROUP_AFFINITY Affinity, _Out_opt_ PUSHORT Count)
*LockHandle LockHandle _Out_ PKLOCK_QUEUE_HANDLE LockHandle
Definition: kefuncs.h:717
_Inout_ PKDEVICE_QUEUE_ENTRY _In_ ULONG SortKey
Definition: kefuncs.h:328
NTKERNELAPI VOID NTAPI KeInitializeMutex(_Out_ PRKMUTEX Mutex, _In_ ULONG Level)
*Count PHARDWARE_COUNTER CounterArray
Definition: kefuncs.h:1368
_Out_ PKAPC_STATE ApcState
Definition: kefuncs.h:654
NTKERNELAPI ULONG NTAPI KeGetCurrentProcessorNumberEx(_Out_opt_ PPROCESSOR_NUMBER ProcNumber)
_In_ UCHAR Processor
Definition: kefuncs.h:670
_In_ KPRIORITY _In_ BOOLEAN Abandoned
Definition: kefuncs.h:582
*Count PHARDWARE_COUNTER _In_ ULONG MaximumCount
Definition: kefuncs.h:1369
NTKERNELAPI KAFFINITY NTAPI KeQueryGroupAffinity(_In_ USHORT GroupNumber)
_In_ LONG _In_ LONG Limit
Definition: kefuncs.h:304
_Requires_lock_held_ SpinLock _Releases_lock_ SpinLock _In_ _IRQL_restores_ KIRQL NewIrql
Definition: kefuncs.h:205
*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
Definition: kefuncs.h:327
_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
Definition: kefuncs.h:565
_Out_ PCLIENT_ID ClientId
Definition: kefuncs.h:1151
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)
Definition: rtlcompat.c:108
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
Definition: ke.h:1
enum _KSPIN_LOCK_QUEUE_NUMBER KSPIN_LOCK_QUEUE_NUMBER
PROCESSOR_CALLBACK_FUNCTION * PPROCESSOR_CALLBACK_FUNCTION
Definition: ketypes.h:374
NMI_CALLBACK * PNMI_CALLBACK
Definition: ketypes.h:350
CCHAR KPROCESSOR_MODE
Definition: ketypes.h:7
enum _KDPC_IMPORTANCE KDPC_IMPORTANCE
_In_opt_ PVOID _In_opt_ PVOID SystemArgument1
Definition: ketypes.h:688
KSYNCHRONIZE_ROUTINE * PKSYNCHRONIZE_ROUTINE
Definition: ketypes.h:875
KBUGCHECK_CALLBACK_ROUTINE * PKBUGCHECK_CALLBACK_ROUTINE
Definition: ketypes.h:332
_MODE
Definition: ketypes.h:10
* PKAPC_STATE
Definition: ketypes.h:1409
_In_opt_ PVOID DeferredContext
Definition: ketypes.h:687
KIPI_BROADCAST_WORKER * PKIPI_BROADCAST_WORKER
Definition: ketypes.h:617
KBUGCHECK_CALLBACK_REASON
Definition: ketypes.h:259
enum _LOGICAL_PROCESSOR_RELATIONSHIP LOGICAL_PROCESSOR_RELATIONSHIP
KBUGCHECK_REASON_CALLBACK_ROUTINE * PKBUGCHECK_REASON_CALLBACK_ROUTINE
Definition: ketypes.h:271
enum _KWAIT_REASON KWAIT_REASON
_In_opt_ PVOID _In_opt_ PVOID _In_opt_ PVOID SystemArgument2
Definition: ketypes.h:689
EXPAND_STACK_CALLOUT * PEXPAND_STACK_CALLOUT
Definition: ketypes.h:1107
KDEFERRED_ROUTINE * PKDEFERRED_ROUTINE
Definition: ketypes.h:690
_In_ ULONG Component
Definition: potypes.h:496
_Inout_opt_ PVOID Parameter
Definition: rtltypes.h:336
unsigned char UCHAR
Definition: xmlstorage.h:181