#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ _IRQL_requires_()
Definition at line 19 of file psctx.c.
28{
32
34
35
37 Thread = Apc->SystemArgument2;
39
40
42 {
43 TrapFrame =
Thread->TrapFrame;
44 }
45
46
47 if (TrapFrame ==
NULL)
48 {
49
51 }
52
53
54 if (Apc->SystemArgument1 != 0)
55 {
56
58 }
59 else
60 {
61
65 }
66
67
69}
#define KeSetEvent(pEvt, foo, foo2)
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
#define KeGetCurrentThread
VOID KiSetTrapContext(_Out_ PKTRAP_FRAME TrapFrame, _In_ PCONTEXT Context, _In_ KPROCESSOR_MODE RequestorMode)
#define KeGetTrapFrame(Thread)
VOID NTAPI KeTrapFrameToContext(IN PKTRAP_FRAME TrapFrame, IN PKEXCEPTION_FRAME ExceptionFrame, IN OUT PCONTEXT Context)
#define CONTAINING_RECORD(address, type, field)