| 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) |
no test coverage detected