mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-08-28 09:07:11 +00:00
Minor Utils clean up
This commit is contained in:
+1
-1
@@ -363,7 +363,7 @@ bool Util::IsSubpath(const std::filesystem::path& path, const std::filesystem::p
|
||||
}
|
||||
|
||||
std::optional<std::filesystem::path> Util::FindFilePath(const std::filesystem::path& startDir,
|
||||
const std::filesystem::path fileName)
|
||||
const std::filesystem::path& fileName)
|
||||
{
|
||||
std::filesystem::path optiPath(Config::Instance()->MainDllPath.value());
|
||||
auto normalizedOptiPath = optiPath.lexically_normal();
|
||||
|
||||
+1
-2
@@ -73,8 +73,7 @@ std::string GetWindowsName(const OSVERSIONINFOW& os);
|
||||
std::wstring GetExeProductName();
|
||||
std::wstring GetWindowTitle(HWND hwnd);
|
||||
std::optional<std::filesystem::path> FindFilePath(const std::filesystem::path& startDir,
|
||||
const std::filesystem::path fileName);
|
||||
std::optional<std::filesystem::path> WhoIsTheCallerPath(void* returnAddress);
|
||||
const std::filesystem::path& fileName);
|
||||
std::string WhoIsTheCaller(void* returnAddress);
|
||||
HMODULE GetCallerModule(void* returnAddress);
|
||||
MonitorInfo GetMonitorInfoForWindow(HWND hwnd);
|
||||
|
||||
Reference in New Issue
Block a user