예제 #1
0
        public static void EnableFeature(ulong featureMask)
        {
            ulong enabledFeatures = Features.GetEnabledFeatures();

            if (((long)enabledFeatures & (long)featureMask) != 0L)
            {
                return;
            }
            Features.SetEnabledFeatures(enabledFeatures | featureMask);
        }
예제 #2
0
 public static void EnableFeaturesOfOem()
 {
     Features.SetEnabledFeatures(Oem.Instance.WindowsOEMFeatures);
 }
예제 #3
0
 public static void EnableAllFeatures()
 {
     Features.SetEnabledFeatures(9223372034707292159UL);
 }