MCPcopy Create free account
hub / github.com/PenguLoader/PenguLoader / set_window_attribute

Function set_window_attribute

core/src/utils/window.cc:102–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102static void set_window_attribute(HWND hwnd, DWORD attr, DWORD value)
103{
104 if (auto func = getfunc("dwmapi.dll", DwmSetWindowAttribute))
105 func(hwnd, attr, &value, sizeof(DWORD));
106}
107
108static void set_accent_policy(HWND hwnd, ACCENT_STATE state, COLORREF color)
109{

Callers 4

enable_shadowMethod · 0.85
set_themeMethod · 0.85
apply_vibrancyMethod · 0.85
clear_vibrancyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected