| 520 | |
| 521 | |
| 522 | wchar_t* GetFileNameFromPath(wchar_t* path) { |
| 523 | if (!path) { |
| 524 | return NULL; |
| 525 | } |
| 526 | wchar_t* lastBackslash = wcsrchr(path, L'\\'); |
| 527 | return (lastBackslash != NULL) ? lastBackslash + 1 : path; |
| 528 | } |
| 529 | |
| 530 | |
| 531 | DWORD FindProcessIdByName(const std::wstring& processName) { |
nothing calls this directly
no outgoing calls
no test coverage detected