MCPcopy Create free account
hub / github.com/Schnocker/NoEye / Suspend

Method Suspend

NoEye_Service/CProcess.cpp:98–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 }
97
98 bool CProcess::Suspend()
99 {
100 typedef NTSTATUS(WINAPI*_NtSuspendProcess)(HANDLE);
101 static _NtSuspendProcess __NtSuspendProcess = reinterpret_cast<_NtSuspendProcess>(GetProcAddress(GetModuleHandleA("ntdll.dll"), "NtSuspendProcess"));
102 if (!__NtSuspendProcess)
103 return false;
104 __NtSuspendProcess(this->hProcess);
105 return true;
106 }
107
108 bool CProcess::Resume()
109 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected