[DllImport(Libraries.InputMethod, EntryPoint = "ime_finalize")]
internal static extern ErrorCode ImeFinalize();
+ [DllImport(Libraries.InputMethod, EntryPoint = "ime_set_dotnet_flag")]
+ internal static extern ErrorCode ImeSetDotnetFlag(bool set);
+
[DllImport(Libraries.InputMethod, EntryPoint = "ime_set_size")]
internal static extern ErrorCode ImeSetSize(int portraitWidth, int portraitHeight, int landscapeWidth, int landscapeHeight);
_imeCallbackStructGCHandle._imeCallbackStruct.hide = _hide;
_imeCallbackStructGCHandle._imeCallbackStruct.show = _show;
+ ImeSetDotnetFlag(true);
ErrorCode error = ImeRun(ref _imeCallbackStructGCHandle._imeCallbackStruct, IntPtr.Zero);
if (error != ErrorCode.None)
{