I have an WPF application which I wish it can enable blur when I set the background translucent. Currently I'm using Win32 API DwmIsCompositionEnabled to detect whether composition is enabled. This API works on OS which support Aero glass effect. But an user told me that he uses Windows 7 Home Basic, which support composition and is enabled, but do NOT support Aero glass effect. So DwmIsCompositionEnabled returns true but Aero is not supported. Another case is Windows 8, which support composition but no Aero glass effect. How can I easily detect whether Aero glass effect is turned on? Or I can only manually detect which Windows version and edition user is using?
(DwmIsCompositionEnabled can detect whether composition is enabled but can't tell us whether Aero glass effect is enabled.)