protected void OnConversionStatusEvent(string eventName) { ConversionStatusEH cseh = this._events[eventName] as IME.ConversionStatusEH; if (cseh != null) { IME.CMODE cmode = (IME.CMODE) 0; IME.SMODE smode = (IME.SMODE) 0; IME.ImmGetConversionStatus(this.hIMC, cmode, smode); cseh(this, new ConversionStatusEA(cmode, smode)); } }
public static extern int ImmSetConversionStatus(System.IntPtr hIMC, IME.CMODE lpfdwConversion, IME.SMODE lpfdwSentence);
public ConversionStatusEA(IME.CMODE cmode, IME.SMODE smode) { this.cmode = cmode; this.smode = smode; }