From MSDN:
WM_DWMCOLORIZATIONCOLORCHANGEDMessageSent to all top-level windows when the colorization color has changed.
Parameters
wParam:Specifies the new colorization color. The color format is0xAARRGGBB.lParam: Specifies whether the new color is blended with opacity.
We receive this message when the Aero Glass colour changes. Unfortunately, the value contained in wParam is not the ‘base colour’, as it is in fact the result of the DwmGetColorizationColor function. As Rafael Rivera noted last year, when glass transparency is enabled, the value returned by this function is quite different to the base colour:
