DWMWA_USE_IMMERSIVE_DARK_MODE constant
int
const DWMWA_USE_IMMERSIVE_DARK_MODE
Allows a window to either use the accent color, or dark, according to the user Color Mode preferences. (Supported on Windows 11 and above.)
Implementation
static const DWMWA_USE_IMMERSIVE_DARK_MODE = 20;