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

Method GetFullImageName

WinSysCore/Processes.cpp:140–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140std::wstring Process::GetFullImageName() const {
141 DWORD size = MAX_PATH;
142 WCHAR name[MAX_PATH];
143 auto success = ::QueryFullProcessImageName(_handle.get(), 0, name, &size);
144 return success ? std::wstring(name) : L"";
145}
146
147std::wstring Process::GetCommandLine() const {
148 if (::IsWindows8OrGreater()) {

Callers 1

ProcessInfoEx.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected