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

Method GetProcessImageName

WinArk/ProcessHelper.cpp:66–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66CString ProcessHelper::GetProcessImageName() {
67 static CString path;
68 if (path.IsEmpty()) {
69 ::GetModuleFileName(nullptr, path.GetBufferSetLength(MAX_PATH), MAX_PATH);
70 path.FreeExtra();
71 }
72 return path;
73}
74
75bool ProcessHelper::IsInstanceRunning() {
76 static HANDLE hMutex = nullptr;

Callers 2

ParseTableEntryMethod · 0.80
GetSingleThreadInfoMethod · 0.80

Calls 1

IsEmptyMethod · 0.80

Tested by

no test coverage detected