| 562 | #endif |
| 563 | |
| 564 | DWORD GetCurrentModulePathName(CEStr& lsPathName) |
| 565 | { |
| 566 | auto* module = |
| 567 | #ifndef __GNUC__ |
| 568 | reinterpret_cast<HMODULE>(&__ImageBase) |
| 569 | #else |
| 570 | static_cast<HMODULE>(nullptr) |
| 571 | #endif |
| 572 | ; |
| 573 | return GetModulePathName(module, lsPathName); |
| 574 | } |
| 575 | |
| 576 | //wchar_t* GetShortFileNameEx(LPCWSTR asLong, BOOL abFavorLength=FALSE) |
| 577 | //{ |
no test coverage detected