MCPcopy Create free account
hub / github.com/HoShiMin/Kernel-Bridge / GetETHREAD

Function GetETHREAD

Kernel-Bridge/API/ProcessesUtils.cpp:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18 _IRQL_requires_max_(APC_LEVEL)
19 PETHREAD GetETHREAD(HANDLE ThreadId) {
20 PETHREAD Thread;
21 return NT_SUCCESS(PsLookupThreadByThreadId(ThreadId, &Thread))
22 ? Thread
23 : NULL;
24 }
25
26 _IRQL_requires_max_(PASSIVE_LEVEL)
27 NTSTATUS OpenProcess(

Callers 4

KbGetEthreadFunction · 0.85
KbGetThreadContextFunction · 0.85
KbSetThreadContextFunction · 0.85
KbQueueUserApcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected