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

Method Open

NoEye_Service/CProcess.cpp:123–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 }
122
123 bool CProcess::Open(DWORD dwDesiredAccess)
124 {
125 if (!this->ProcessName.length())
126 return false;
127 this->ProcessList = this->GetProcessList();
128 if (this->ProcessList.count(ProcessName))
129 this->hProcess = OpenProcess(dwDesiredAccess, false, this->ProcessList[ProcessName]);
130 return IsValidProcess();
131 }
132
133 bool CProcess::Close()
134 {

Callers 1

ServiceThreadFunction · 0.80

Calls 1

GetProcessListMethod · 0.95

Tested by

no test coverage detected