https://bugs.winehq.org/show_bug.cgi?id=43177
--- Comment #5 from John the.ideals@gmail.com --- Source: https://github.com/coddec/Classic-Shell
https://github.com/coddec/Classic-Shell/blob/9876dc8c6f6f784d1f5810ebc4a8c11...
HACK: the system function DwmGetColorizationColor is buggy on Win 7. its calculations can overflow and return a totally wrong value (try orange color with full intensity and no transparency - you'll get alpha=0 and green color). so here we use the undocumented function GetColorizationParameters exported by dwmapi.dll, ordinal 127 and then compute the colors manually using integer math