Shared\MS\Internal\TextServicesLoader.cs (30)
230tipsWantToRun = IterateSubKeys(Registry.LocalMachine, "SOFTWARE\\Microsoft\\CTF\\TIP",new IterateHandler(SingleTIPWantsToRun), true) == EnableState.Enabled;
242private static EnableState SingleTIPWantsToRun(RegistryKey keyLocalMachine, string subKeyName, bool localMachine)
244EnableState result;
247return EnableState.Disabled;
257if (result == EnableState.None || result == EnableState.Error)
261if (result == EnableState.None)
263result = EnableState.Enabled;
272private static EnableState IsLangidEnabled(RegistryKey key, string subKeyName, bool localMachine)
275return EnableState.Error;
282private static EnableState IsAssemblyEnabled(RegistryKey key, string subKeyName, bool localMachine)
288return EnableState.Error;
294return EnableState.Error;
301return ((int)obj == 0) ? EnableState.Disabled : EnableState.Enabled;
304return EnableState.None;
308private static EnableState IterateSubKeys(RegistryKey keyBase, string subKey, IterateHandler handler, bool localMachine)
312EnableState state;
317return EnableState.Error;
320state = EnableState.Error;
326case EnableState.Error:
328case EnableState.None:
330return EnableState.None;
333if (state == EnableState.Error)
335state = EnableState.None;
338case EnableState.Disabled:
339state = EnableState.Disabled;
341case EnableState.Enabled:
342return EnableState.Enabled;
379private delegate EnableState IterateHandler(RegistryKey key, string subKeyName, bool localMachine);