| 106 | } |
| 107 | |
| 108 | bool CProcess::Resume() |
| 109 | { |
| 110 | typedef NTSTATUS(WINAPI*_NtResumeProcess)(HANDLE); |
| 111 | static _NtResumeProcess __NtResumeProcess = reinterpret_cast<_NtResumeProcess>(GetProcAddress(GetModuleHandleA("ntdll.dll"), "NtResumeProcess")); |
| 112 | if (!__NtResumeProcess) |
| 113 | return false; |
| 114 | __NtResumeProcess(this->hProcess); |
| 115 | return true; |
| 116 | } |
| 117 | |
| 118 | bool CProcess::Kill() |
| 119 | { |
nothing calls this directly
no outgoing calls
no test coverage detected