/// <summary>
 /// Updates the IME settings to be per-thread or not.
 /// </summary>
 /// <param name="value">True if the IME settings should be set to per-thread mode.</param>
 public static void SetThreadLocalInputSettings(bool value)
 {
     SystemParametersInfo.SetThreadLocalInputSettings(value);
 }
Beispiel #2
0
 public static extern int SystemParametersInfo(SystemParametersInfo uAction, int uParam, string lpvParam, SystemParametersInfoFlag fuWinIni);
 /// <summary>
 /// Returns if the IME settings is per-thread mode or not.
 /// </summary>
 /// <param name="defaultValue">The value to be returned when fails to retrieve the settings.</param>
 /// <returns>True if the IME settings is per-thread mode.</returns>
 /// <remarks>SearchCandidateProvider.FromProfile is available as long as the IME settings is per-thread mode.</remarks>
 public static bool GetThreadLocalInputSettings(bool defaultValue)
 {
     return(SystemParametersInfo.GetThreadLocalInputSettings(defaultValue));
 }
Beispiel #4
0
 public static extern int SystemParametersInfo(SystemParametersInfo uAction, int uParam, string lpvParam, SystemParametersInfoFlag fuWinIni);