[idd] helper: add icon context menu with log directory open

This commit is contained in:
Quantum
2025-09-14 05:42:29 -04:00
committed by Geoffrey McRae
parent e1a2fa790d
commit 19989ce9fb
3 changed files with 38 additions and 6 deletions

View File

@@ -100,7 +100,8 @@ inline static void iso8601(wchar_t *buf, size_t count)
wcsftime(buf, count, L"%Y-%m-%d %H:%M:%SZ", &utc);
}
inline static std::wstring getLogPath() {
inline static std::wstring getLogPath()
{
PWSTR pszPath;
if (FAILED(SHGetKnownFolderPath(FOLDERID_ProgramData, 0, NULL, &pszPath)))
{