23 __in PVOID NormalContext,
24 __in PVOID SystemArgument1,
25 __in PVOID SystemArgument2
31 __inout PVOID *NormalContext,
32 __inout PVOID *SystemArgument1,
33 __inout PVOID *SystemArgument2
47 __in PRKTHREAD Thread,
49 __in PKKERNEL_ROUTINE KernelRoutine,
52 __in_opt KPROCESSOR_MODE ProcessorMode,
53 __in_opt PVOID NormalContext
61 __in_opt PVOID SystemArgument1,
62 __in_opt PVOID SystemArgument2,
71 __inout PEX_PUSH_LOCK PushLock,
93 __inout PHANDLE_TABLE_ENTRY HandleTableEntry,
101 __inout PHANDLE_TABLE_ENTRY HandleTableEntry,
112 __inout PVOID Context,
113 __out_opt PHANDLE Handle
121 __out_bcount_opt(SystemInformationLength) PVOID SystemInformation,
122 __in ULONG SystemInformationLength,
123 __out_opt PULONG ReturnLength
130 #define OBJ_PROTECT_CLOSE 0x00000001
131 #define OBJ_HANDLE_ATTRIBUTES (OBJ_PROTECT_CLOSE | OBJ_INHERIT | OBJ_AUDIT_OBJECT_CLOSE)
134 #define ObpAccessProtectCloseBit 0x2000000
136 #define ObpDecodeGrantedAccess(Access) \
137 ((Access) & ~ObpAccessProtectCloseBit)
204 #define OBJECT_TO_OBJECT_HEADER(Object) CONTAINING_RECORD((Object), OBJECT_HEADER, Body)
215 __in POBJECT_TYPE ObjectType,
216 __in KPROCESSOR_MODE PreviousMode,
217 __in_opt PACCESS_STATE AccessState,
218 __in_opt ACCESS_MASK DesiredAccess,
219 __in PVOID ParseContext,
229 __in KPROCESSOR_MODE PreviousMode
236 __in KPROCESSOR_MODE PreviousMode
242 __in PEPROCESS Process
246 __in PEPROCESS Process
250 __in PEPROCESS Process
254 __in PEPROCESS Process
258 __in PEPROCESS Process
265 __in HANDLE ProcessHandle,
266 __in PROCESSINFOCLASS ProcessInformationClass,
267 __out_bcount(ProcessInformationLength) PVOID ProcessInformation,
268 __in ULONG ProcessInformationLength,
269 __out_opt PULONG ReturnLength
276 __in HANDLE ProcessHandle,
277 __in PROCESSINFOCLASS ProcessInformationClass,
278 __in_bcount(ProcessInformationLength) PVOID ProcessInformation,
279 __in ULONG ProcessInformationLength
286 __in HANDLE ThreadHandle,
287 __in THREADINFOCLASS ThreadInformationClass,
288 __out_bcount(ThreadInformationLength) PVOID ThreadInformation,
289 __in ULONG ThreadInformationLength,
290 __out_opt PULONG ReturnLength
298 __out_opt PEPROCESS *Process,
299 __out PETHREAD *Thread
313 __in PETHREAD Thread,
314 __inout PCONTEXT ThreadContext,
315 __in KPROCESSOR_MODE PreviousMode
322 __in PETHREAD Thread,
323 __in PCONTEXT ThreadContext,
324 __in KPROCESSOR_MODE PreviousMode
335 __in PEPROCESS Process
341 #define MAX_STACK_DEPTH 64
343 #define RTL_WALK_USER_MODE_STACK 0x00000001
344 #define RTL_WALK_VALID_FLAGS 0x00000001
350 __out PVOID *Callers,