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

Function SuspendProcess

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

Source from the content-addressed store, hash-verified

151
152 _IRQL_requires_max_(APC_LEVEL)
153 NTSTATUS SuspendProcess(IN PEPROCESS Process)
154 {
155 using _PsSuspendProcess = NTSTATUS (NTAPI*)(IN PEPROCESS Process);
156
157 static auto _SuspendProcess = static_cast<_PsSuspendProcess>(Importer::GetKernelProcAddress(L"PsSuspendProcess"));
158 if (_SuspendProcess)
159 return _SuspendProcess(Process);
160
161 return STATUS_NOT_IMPLEMENTED;
162 }
163
164 _IRQL_requires_max_(APC_LEVEL)
165 NTSTATUS ResumeProcess(IN PEPROCESS Process)

Callers 1

KbSuspendProcessFunction · 0.85

Calls 1

GetKernelProcAddressFunction · 0.85

Tested by

no test coverage detected