| 100 | } |
| 101 | |
| 102 | static 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 | |
| 108 | static void set_accent_policy(HWND hwnd, ACCENT_STATE state, COLORREF color) |
| 109 | { |
no outgoing calls
no test coverage detected