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

Function OpenProcessByPointer

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

Source from the content-addressed store, hash-verified

42
43 _IRQL_requires_max_(PASSIVE_LEVEL)
44 NTSTATUS OpenProcessByPointer(
45 PEPROCESS Process,
46 OUT PHANDLE hProcess,
47 ACCESS_MASK AccessMask,
48 ULONG Attributes,
49 KPROCESSOR_MODE ProcessorMode
50 ) {
51 return ObOpenObjectByPointer(
52 Process,
53 Attributes,
54 NULL,
55 AccessMask,
56 *PsProcessType,
57 ProcessorMode,
58 hProcess
59 );
60 }
61
62 _IRQL_requires_max_(PASSIVE_LEVEL)
63 NTSTATUS OpenThread(

Callers 1

KbOpenProcessByPointerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected