cpu_stats: fmt::win_error_to_string
This commit is contained in:
+2
-2
@@ -10,8 +10,8 @@ namespace fmt
|
||||
static std::string format(const CharT(&)[N], const Args&...);
|
||||
|
||||
#ifdef _WIN32
|
||||
// Get a string for a windows error (DWORD)
|
||||
std::string win_error_to_string(unsigned long error);
|
||||
// Get a string for a windows error (DWORD). Optionally a module HANDLE can be passed.
|
||||
std::string win_error_to_string(unsigned long error, void* module_handle = nullptr);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user