| 43 | } |
| 44 | |
| 45 | std::wstring Process::GetName() const { |
| 46 | auto name = GetFullImageName(); |
| 47 | auto slash = name.rfind(L'\\'); |
| 48 | return slash == std::wstring::npos ? name : name.substr(slash + 1); |
| 49 | } |
| 50 | |
| 51 | std::optional<ProcessWindowInfo> Process::GetWindowInformation() const { |
| 52 | auto buffer = std::make_unique<BYTE[]>(1024); |
no outgoing calls
no test coverage detected