3 instantiations of HIMC
System.Windows.Forms.Primitives (3)
Windows.Win32.HIMC.g.cs (3)
41 public static explicit operator HIMC(void* value) => new HIMC(value); 57 public static explicit operator HIMC(IntPtr value) => new HIMC((void*)value.ToPointer()); 59 public static explicit operator HIMC(UIntPtr value) => new HIMC((void*)value.ToPointer());
38 references to HIMC
System.Windows.Forms (10)
System\Windows\Forms\Control.Ime.cs (9)
679private static HIMC s_originalImeContext; 698HIMC oldContext = PInvoke.ImmAssociateContext((HWND)handle, (HIMC)IntPtr.Zero); 712HIMC inputContext = PInvoke.ImmGetContext((HWND)handle); 748HIMC inputContext = (HIMC)IntPtr.Zero; 821HIMC inputContext = PInvoke.ImmGetContext((HWND)handle); 905HIMC inputContext = PInvoke.ImmGetContext((HWND)handle); 932HIMC inputContext = PInvoke.ImmGetContext((HWND)handle);
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
1071HIMC inputContext = PInvoke.ImmGetContext(this);
System.Windows.Forms.Primitives (28)
Windows.Win32.HIMC.g.cs (13)
25 : IEquatable<HIMC> 35 internal static HIMC Null => default; 39 public static implicit operator void*(HIMC value) => value.Value; 41 public static explicit operator HIMC(void* value) => new HIMC(value); 43 public static bool operator ==(HIMC left, HIMC right) => left.Value == right.Value; 45 public static bool operator !=(HIMC left, HIMC right) => !(left == right); 47 public bool Equals(HIMC other) => this.Value == other.Value; 49 public override bool Equals(object obj) => obj is HIMC other && this.Equals(other); 55 public static implicit operator IntPtr(HIMC value) => new IntPtr(value.Value); 57 public static explicit operator HIMC(IntPtr value) => new HIMC((void*)value.ToPointer()); 59 public static explicit operator HIMC(UIntPtr value) => new HIMC((void*)value.ToPointer());
Windows.Win32.PInvoke.IMM32.dll.g.cs (11)
31 internal static extern winmdroot.Foundation.BOOL ImmDestroyContext(winmdroot.UI.Input.Ime.HIMC param0); 38 internal static extern winmdroot.UI.Input.Ime.HIMC ImmAssociateContext(winmdroot.Foundation.HWND param0, winmdroot.UI.Input.Ime.HIMC param1); 47 internal static extern winmdroot.UI.Input.Ime.HIMC ImmCreateContext(); 57 internal static extern winmdroot.UI.Input.Ime.HIMC ImmGetContext(winmdroot.Foundation.HWND param0); 66 internal static extern unsafe winmdroot.Foundation.BOOL ImmGetConversionStatus(winmdroot.UI.Input.Ime.HIMC param0, [Optional] winmdroot.UI.Input.Ime.IME_CONVERSION_MODE* lpfdwConversion, [Optional] winmdroot.UI.Input.Ime.IME_SENTENCE_MODE* lpfdwSentence); 75 internal static extern winmdroot.Foundation.BOOL ImmGetOpenStatus(winmdroot.UI.Input.Ime.HIMC param0); 87 internal static extern winmdroot.Foundation.BOOL ImmNotifyIME(winmdroot.UI.Input.Ime.HIMC param0, winmdroot.UI.Input.Ime.NOTIFY_IME_ACTION dwAction, winmdroot.UI.Input.Ime.NOTIFY_IME_INDEX dwIndex, uint dwValue); 96 internal static extern winmdroot.Foundation.BOOL ImmReleaseContext(winmdroot.Foundation.HWND param0, winmdroot.UI.Input.Ime.HIMC param1); 106 internal static extern winmdroot.Foundation.BOOL ImmSetConversionStatus(winmdroot.UI.Input.Ime.HIMC param0, winmdroot.UI.Input.Ime.IME_CONVERSION_MODE param1, winmdroot.UI.Input.Ime.IME_SENTENCE_MODE param2); 113 internal static extern winmdroot.Foundation.BOOL ImmSetOpenStatus(winmdroot.UI.Input.Ime.HIMC param0, winmdroot.Foundation.BOOL param1);
Windows\Win32\PInvoke.ImmGetContext.cs (2)
11public static HIMC ImmGetContext<T>(T hWnd) where T : IHandle<HWND> 13HIMC result = ImmGetContext(hWnd.Handle);
Windows\Win32\PInvoke.ImmReleaseContext.cs (2)
10/// <inheritdoc cref="ImmReleaseContext(HWND, HIMC)"/> 11public static BOOL ImmReleaseContext<T>(T hWnd, HIMC hIMC) where T : IHandle<HWND>