[idd] common: still print the message if FormatMsg failed

This commit is contained in:
Geoffrey McRae
2025-03-28 21:38:36 +00:00
parent d839a45d0b
commit 86de1c9ac6
2 changed files with 17 additions and 10 deletions

View File

@@ -45,6 +45,7 @@ class CDebug
};
void Init(const char * name);
void Log_va(CDebug::Level level, const char* function, int line, const char* fmt, va_list args);
void Log(CDebug::Level level, const char * function, int line, const char * fmt, ...);
void LogHR(CDebug::Level level, HRESULT hr, const char* function, int line, const char* fmt, ...);