MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / GetProcessInfo

Method GetProcessInfo

DebugView++Lib/ProcessInfo.cpp:71–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71std::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
81std::wstring ProcessInfo::GetProcessNameByPid(DWORD processId)
82{

Callers

nothing calls this directly

Calls 3

WStrClass · 0.85
GetTimeTextFunction · 0.85
strMethod · 0.45

Tested by

no test coverage detected