diff options
Diffstat (limited to 'Source/Core/Common/CommonFuncs.h')
| -rw-r--r-- | Source/Core/Common/CommonFuncs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/Common/CommonFuncs.h b/Source/Core/Common/CommonFuncs.h index e276bea7ae..2378aab3db 100644 --- a/Source/Core/Common/CommonFuncs.h +++ b/Source/Core/Common/CommonFuncs.h @@ -4,6 +4,7 @@ #pragma once +#include <optional> #include <string> #include "Common/CommonTypes.h" @@ -47,4 +48,7 @@ std::string LastStrerrorString(); // Wrapper function to get GetLastError() string. // This function might change the error code. std::string GetLastErrorString(); + +// Obtains a full path to the specified module. +std::optional<std::wstring> GetModuleName(void* hInstance); #endif |
