MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / GetProcessNameById

Method GetProcessNameById

WinSysCore/ProcessManager.cpp:164–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164std::wstring ProcessManager::GetProcessNameById(uint32_t pid) const {
165 if (pid == 0)
166 return L"";
167 auto pi = GetProcessById(pid);
168 return pi ? pi->GetImageName(): L"";
169}
170
171size_t ProcessManager::EnumProcessAndThreads(uint32_t pid) {
172 return _impl->EnumProcesses(true, pid);

Callers 6

UpdateJobMethod · 0.80
ParseTableEntryMethod · 0.80
AddConnectionMethod · 0.80
GetProcessNameMethod · 0.80
ParseTableEntryMethod · 0.80
CompareItemsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected