The "Enable and Control DWM Composition" MSDN page describes DwmGetColorizationColor as, "The colorization value is provided through the DWMAPIs to enable applications to match client UI with the system color theme."
DwmGetColorizationColor is documented to return a color in the 0xAARRGGBB format. With the Windows 7 bright green "Leaf" color scheme, DwmGetColorizationColor returns 0x0D0A0F04. When you look at this value it is a nearly completely transparent dark grey.
Either the documentation of what DwmGetColorizationColor returns in incorrect, it is returning the wrong value, or is not meant to be used by applications to enable the client UI to match the sytem color theme.
Please clarify.
There **is** the undocumented registry key HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor. On Windows 7, with the "Leaf" color scheme, key contains the value 0x8032cdcd. This is a half-transparent green - a valid value when one is using a "Leaf" color scheme.
Obviously i'd prefer not use an undocumented registry location to obtain the DWM colorization color.