Use updated SafeLoadLibrary from lib_base.
This commit is contained in:
parent
9255d71038
commit
3a51a253cd
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ HRESULT WinApiSetWindowTheme(
|
||||||
LPCWSTR pszSubAppName,
|
LPCWSTR pszSubAppName,
|
||||||
LPCWSTR pszSubIdList);
|
LPCWSTR pszSubIdList);
|
||||||
auto result = f_SetWindowTheme();
|
auto result = f_SetWindowTheme();
|
||||||
const auto loaded = base::Platform::SafeLoadLibrary(u"uxtheme.dll"_q);
|
const auto loaded = base::Platform::SafeLoadLibrary(L"uxtheme.dll");
|
||||||
base::Platform::LoadMethod(loaded, "SetWindowTheme", result);
|
base::Platform::LoadMethod(loaded, "SetWindowTheme", result);
|
||||||
return result;
|
return result;
|
||||||
}();
|
}();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue