Lines Matching defs:hInputContext

1120 void WebView::prepareCandidateWindow(HIMC hInputContext) 
1132 Ime::ImmSetCandidateWindow(hInputContext, &form);
1137 HIMC hInputContext = getIMMContext();
1138 if (!hInputContext)
1140 Ime::ImmNotifyIME(hInputContext, NI_COMPOSITIONSTR, CPS_CANCEL, 0);
1141 Ime::ImmReleaseContext(m_window, hInputContext);
1160 HIMC hInputContext = getIMMContext();
1161 if (!hInputContext)
1163 prepareCandidateWindow(hInputContext);
1164 Ime::ImmReleaseContext(m_window, hInputContext);
1168 static bool getCompositionString(HIMC hInputContext, DWORD type, String& result)
1170 LONG compositionLength = Ime::ImmGetCompositionStringW(hInputContext, type, 0, 0);
1174 compositionLength = Ime::ImmGetCompositionStringW(hInputContext, type, compositionBuffer.data(), compositionLength);
1255 HIMC hInputContext = getIMMContext();
1256 if (!hInputContext)
1262 prepareCandidateWindow(hInputContext);
1266 if (!getCompositionString(hInputContext, GCS_RESULTSTR, compositionString) && lparam)
1274 if (!getCompositionString(hInputContext, GCS_COMPSTR, compositionString))
1278 int numAttributes = Ime::ImmGetCompositionStringW(hInputContext, GCS_COMPATTR, 0, 0);
1280 Ime::ImmGetCompositionStringW(hInputContext, GCS_COMPATTR, attributes.data(), numAttributes);
1283 int numBytes = Ime::ImmGetCompositionStringW(hInputContext, GCS_COMPCLAUSE, 0, 0);
1285 Ime::ImmGetCompositionStringW(hInputContext, GCS_COMPCLAUSE, clauses.data(), numBytes);
1290 int cursorPosition = LOWORD(Ime::ImmGetCompositionStringW(hInputContext, GCS_CURSORPOS, 0, 0));