mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 21:11:25 +12:00
cpu_stats: fmt::win_error_to_string
This commit is contained in:
parent
7a1a4541c0
commit
e58906cb4d
3 changed files with 6 additions and 16 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue