MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / LookupThread

Function LookupThread

Anti-Rootkit/ProcManager.cpp:11–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9}
10
11PETHREAD LookupThread(HANDLE Tid) {
12 PETHREAD ethread;
13 if (NT_SUCCESS(PsLookupThreadByThreadId(Tid, &ethread)))
14 return ethread;
15 else
16 return NULL;
17}
18
19void EnumThread(PEPROCESS Process) {
20 ULONG i = 0;

Callers 1

EnumThreadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected