Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PolyMC/PolyMC
/ AllowDarkModeForWindow
Function
AllowDarkModeForWindow
launcher/ui/WinDarkmode.cpp:29–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
27
}
28
29
VOID AllowDarkModeForWindow(HWND hWnd, BOOL Enable)
30
{
31
if (hWnd)
32
{
33
ApplyStringProp(hWnd, Enable ? L
"Enabled"
: NULL, 0xA91E);
34
}
35
return;
36
}
37
38
BOOL IsWindows11()
39
{
Callers
1
setWindowDarkModeEnabled
Function · 0.85
Calls
1
ApplyStringProp
Function · 0.85
Tested by
no test coverage detected