refactor: DwmGetColorizationColor does not have to be dynamically resolved
This commit is contained in:
parent
e922b1733b
commit
adaa32003d
3 changed files with 3 additions and 6 deletions
|
@ -50,11 +50,6 @@ class SystemPreferences : public mate::EventEmitter<SystemPreferences>
|
|||
#if defined(OS_WIN)
|
||||
bool IsAeroGlassEnabled();
|
||||
|
||||
typedef HRESULT(STDAPICALLTYPE* DwmGetColorizationColor)(DWORD*, BOOL*);
|
||||
DwmGetColorizationColor dwmGetColorizationColor =
|
||||
(DwmGetColorizationColor)GetProcAddress(LoadLibraryW(L"dwmapi.dll"),
|
||||
"DwmGetColorizationColor");
|
||||
|
||||
std::string GetAccentColor();
|
||||
std::string GetColor(const std::string& color, mate::Arguments* args);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue