| 69 | } |
| 70 | |
| 71 | std::wstring ProcessInfo::GetProcessInfo(HANDLE handle) |
| 72 | { |
| 73 | FILETIME creation = { 0 }; |
| 74 | FILETIME exit = { 0 }; |
| 75 | FILETIME kernel = { 0 }; |
| 76 | FILETIME user = { 0 }; |
| 77 | GetProcessTimes(handle, &creation, &exit, &kernel, &user); |
| 78 | return WStr(GetTimeText(creation)).str(); |
| 79 | } |
| 80 | |
| 81 | std::wstring ProcessInfo::GetProcessNameByPid(DWORD processId) |
| 82 | { |
nothing calls this directly
no test coverage detected