public static bool DwmIsCompositionEnabled() { return(Utility.IsOSVistaOrNewer && NativeMethods._DwmIsCompositionEnabled()); }