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

Method Wait

NoEye_Service/CProcess.cpp:51–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 }
50
51 bool CProcess::Wait(uint32_t Interval)
52 {
53 if (!this->ProcessName.length())
54 return false;
55 this->hProcess = 0;
56 while (!this->ProcessList.count(ProcessName))
57 {
58 this->ProcessList = this->GetProcessList();
59 Sleep(Interval);
60 }
61 return true;
62 }
63
64 bool CProcess::SetPrivilege(LPCTSTR lpszPrivilege, BOOL bEnablePrivilege)
65 {

Callers 1

ServiceThreadFunction · 0.80

Calls 1

GetProcessListMethod · 0.95

Tested by

no test coverage detected