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

Function KbGetEprocess

User-Bridge/API/User-Bridge.cpp:759–768  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

757 namespace Descriptors
758 {
759 BOOL WINAPI KbGetEprocess(ULONG ProcessId, OUT WdkTypes::PEPROCESS* Process)
760 {
761 if (!Process) return FALSE;
762 KB_GET_EPROCESS_IN Input = {};
763 KB_GET_EPROCESS_OUT Output = {};
764 Input.ProcessId = ProcessId;
765 BOOL Status = KbSendRequest(Ctls::KbGetEprocess, &Input, sizeof(Input), &Output, sizeof(Output));
766 *Process = Output.Process;
767 return Status;
768 }
769
770 BOOL WINAPI KbGetEthread(ULONG ThreadId, OUT WdkTypes::PETHREAD* Thread)
771 {

Callers

nothing calls this directly

Calls 1

KbSendRequestFunction · 0.85

Tested by

no test coverage detected