MCPcopy Create free account
hub / github.com/NoMercy-ac/NoMercy / OpenProcessByPointer

Function OpenProcessByPointer

Source/Client/NM_Sys/API/ProcessesUtils.cpp:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36
37 _IRQL_requires_max_(PASSIVE_LEVEL)
38 NTSTATUS OpenProcessByPointer(PEPROCESS Process, OUT PHANDLE hProcess, ACCESS_MASK AccessMask, ULONG Attributes, KPROCESSOR_MODE ProcessorMode)
39 {
40 return ObOpenObjectByPointer(Process, Attributes, NULL, AccessMask, *PsProcessType, ProcessorMode, hProcess);
41 }
42
43 _IRQL_requires_max_(PASSIVE_LEVEL)
44 NTSTATUS OpenThread(HANDLE ThreadId, OUT PHANDLE hThread, ACCESS_MASK AccessMask, ULONG Attributes)

Callers 1

KbOpenProcessByPointerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected