/reactos/dll/win32/imm32/ |
H A D | keymsg.c | 87 ImmUnlockIMC(hIMC); in Imm32CImeNonImeToggle() 119 ImmUnlockIMC(hIMC); in Imm32CShapeToggle() 150 ImmUnlockIMC(hIMC); in Imm32CSymbolToggle() 256 if (hIMC && IS_CROSS_THREAD_HIMC(hIMC)) in Imm32ProcessHotKey() 335 _In_ HIMC hIMC, in Imm32SendNotificationProc() argument 589 if (IS_NULL_UNEXPECTEDLY(hIMC) || IS_CROSS_THREAD_HIMC(hIMC)) in ImmRequestMessageAW() 653 HIMC hIMC; in ImmSimulateHotKey() local 673 HIMC hIMC; in ImmGetVirtualKey() local 718 HIMC hIMC; in ImmProcessKey() local 987 HIMC hIMC; in ImmTranslateMessage() local [all …]
|
H A D | imm.c | 511 if (hIMC && IS_CROSS_THREAD_HIMC(hIMC)) in ImmAssociateContext() 516 return hIMC; in ImmAssociateContext() 594 HIMC hIMC; in ImmCreateContext() local 619 return hIMC; in ImmCreateContext() 1006 HIMC hIMC; in ImmGetSaveContext() local 1036 hIMC = NULL; in ImmGetSaveContext() 1039 return hIMC; in ImmGetSaveContext() 1102 HIMC hIMC; in ImmEnumInputContext() local 1151 else if (hIMC) in ImmSetActiveContext() 1239 HIMC hIMC; in ImmSetActiveContextConsoleIME() local [all …]
|
H A D | ime.c | 740 ImmUnlockIMC(hIMC); in ImmGetImeMenuItemsAW() 915 if (hIMC && IS_CROSS_THREAD_HIMC(hIMC)) in ImmNotifyIME() 1458 ImmUnlockIMC(hIMC); in ImmGetOpenStatus() 1490 ImmUnlockIMC(hIMC); in ImmSetOpenStatus() 1524 ImmUnlockIMC(hIMC); in ImmGetStatusWindowPos() 1549 ImmUnlockIMC(hIMC); in ImmSetStatusWindowPos() 1576 ImmUnlockIMC(hIMC); in ImmGetCompositionWindow() 1605 ImmUnlockIMC(hIMC); in ImmSetCompositionWindow() 1644 ImmUnlockIMC(hIMC); in ImmGetCompositionFontA() 1681 ImmUnlockIMC(hIMC); in ImmGetCompositionFontW() [all …]
|
H A D | candidate.c | 168 pIC = ImmLockIMC(hIMC); in ImmGetCandidateListAW() 178 ImmUnlockIMC(hIMC); in ImmGetCandidateListAW() 238 ImmUnlockIMC(hIMC); in ImmGetCandidateListAW() 266 pIC = ImmLockIMC(hIMC); in ImmGetCandidateListCountAW() 278 ImmUnlockIMC(hIMC); in ImmGetCandidateListCountAW() 333 ImmUnlockIMC(hIMC); in ImmGetCandidateListCountAW() 391 pIC = ImmLockIMC(hIMC); in ImmGetCandidateWindow() 402 ImmUnlockIMC(hIMC); in ImmGetCandidateWindow() 423 if (IS_CROSS_THREAD_HIMC(hIMC)) in ImmSetCandidateWindow() 426 pIC = ImmLockIMC(hIMC); in ImmSetCandidateWindow() [all …]
|
H A D | guideline.c | 14 ImmGetGuideLineAW(HIMC hIMC, DWORD dwIndex, LPVOID lpBuf, DWORD dwBufLen, BOOL bAnsi) in ImmGetGuideLineAW() argument 24 pClientImc = ImmLockClientImc(hIMC); in ImmGetGuideLineAW() 30 pIC = ImmLockIMC(hIMC); in ImmGetGuideLineAW() 40 ImmUnlockIMC(hIMC); in ImmGetGuideLineAW() 181 ImmUnlockIMC(hIMC); in ImmGetGuideLineAW() 190 DWORD WINAPI ImmGetGuideLineA(HIMC hIMC, DWORD dwIndex, LPSTR lpBuf, DWORD dwBufLen) in ImmGetGuideLineA() argument 192 TRACE("(%p, %lu, %p, %lu)\n", hIMC, dwIndex, lpBuf, dwBufLen); in ImmGetGuideLineA() 193 return ImmGetGuideLineAW(hIMC, dwIndex, lpBuf, dwBufLen, TRUE); in ImmGetGuideLineA() 199 DWORD WINAPI ImmGetGuideLineW(HIMC hIMC, DWORD dwIndex, LPWSTR lpBuf, DWORD dwBufLen) in ImmGetGuideLineW() argument 201 TRACE("(%p, %lu, %p, %lu)\n", hIMC, dwIndex, lpBuf, dwBufLen); in ImmGetGuideLineW() [all …]
|
H A D | ctf.c | 817 _In_ HIMC hIMC) in CtfImeCreateInputContext() argument 819 TRACE("(%p)\n", hIMC); in CtfImeCreateInputContext() 833 TRACE("(%p)\n", hIMC); in CtfImeDestroyInputContext() 846 _In_ HIMC hIMC, in CtfImeSetActiveContextAlways() argument 864 _In_ HIMC hIMC, in Imm32EnumCreateCtfICProc() argument 930 _In_ HIMC hIMC) in CtfImmTIMDestroyInputContext() argument 940 _In_ HIMC hIMC) in CtfImmTIMCreateInputContext() argument 1273 _In_ HIMC hIMC, in CtfImmGenerateMessage() argument 1351 ImmUnlockIMC(hIMC); in CtfImmGenerateMessage() 1435 _In_ HIMC hIMC) in CtfImmIsGuidMapEnable() argument [all …]
|
H A D | compstr.c | 25 pIC = ImmLockIMC(hIMC); in Imm32OpenICAndCS() 32 ImmUnlockIMC(hIMC); in Imm32OpenICAndCS() 816 ImmUnlockIMC(hIMC); in ImmSetCompositionStringAW() 845 ImmUnlockIMC(hIMC); in ImmSetCompositionStringAW() 870 pClientImc = ImmLockClientImc(hIMC); in ImmGetCompositionStringA() 878 pIC = ImmLockIMC(hIMC); in ImmGetCompositionStringA() 885 ImmUnlockIMC(hIMC); in ImmGetCompositionStringA() 891 ImmUnlockIMC(hIMC); in ImmGetCompositionStringA() 921 pIC = ImmLockIMC(hIMC); in ImmGetCompositionStringW() 928 ImmUnlockIMC(hIMC); in ImmGetCompositionStringW() [all …]
|
H A D | precomp.h | 96 LPINPUTCONTEXT APIENTRY Imm32InternalLockIMC(HIMC hIMC, BOOL fSelect); 99 BOOL APIENTRY Imm32IsCrossThreadAccess(HIMC hIMC); 101 BOOL WINAPI Imm32IsImcAnsi(HIMC hIMC); 148 #define IS_CROSS_THREAD_HIMC(hIMC) IS_TRUE_UNEXPECTEDLY(Imm32IsCrossThreadAccess(hIMC)) argument 160 Imm32MakeIMENotify(HIMC hIMC, HWND hwnd, DWORD dwAction, DWORD_PTR dwIndex, DWORD_PTR dwValue, 197 HRESULT CtfImmTIMCreateInputContext(_In_ HIMC hIMC); 198 HRESULT CtfImmTIMDestroyInputContext(_In_ HIMC hIMC); 206 _In_ HIMC hIMC, 213 _In_ HIMC hIMC,
|
/reactos/modules/rostests/apitests/imm32/ |
H A D | himc.c | 26 hIMC = ImmGetContext(NULL); in Test1() 44 pIC = ImmLockIMC(hIMC); in Test1() 62 pIC = ImmLockIMC(hIMC); in Test1() 75 pIC = ImmLockIMC(hIMC); in Test1() 87 pIC = ImmLockIMC(hIMC); in Test1() 102 pIC = ImmLockIMC(hIMC); in Test1() 130 hIMC = ImmGetContext(hwndEdit); in Test1() 131 ok(hIMC == hNewIMC, "hIMC = %p, expected %p\n", hIMC, hNewIMC); in Test1() 132 ok(hIMC != hOldIMC, "hIMC = %p, expected not %p\n", hIMC, hOldIMC); in Test1() 168 HIMC hIMC; in Test2() local [all …]
|
H A D | JapanImeConvTest.h | 79 HIMC hIMC; in EditWindowProc() local 84 hIMC = ImmGetContext(hwnd); in EditWindowProc() 105 ImmReleaseContext(hwnd, hIMC); in EditWindowProc() 160 HIMC hIMC; in OnTimer() local 173 hIMC = ImmGetContext(hwnd); in OnTimer() 174 ok(hIMC != NULL, "hIMC was NULL"); in OnTimer() 175 if (hIMC) in OnTimer() 178 ImmSetOpenStatus(hIMC, TRUE); in OnTimer() 182 ImmSetConversionStatus(hIMC, in OnTimer() 206 hIMC = ImmGetContext(hwnd); in OnTimer() [all …]
|
/reactos/win32ss/user/user32/misc/ |
H A D | imm.c | 249 HIMC hIMC; in ImeWnd_OnImeNotify() local 259 hIMC = pimeui->hIMC; in ImeWnd_OnImeNotify() 346 HIMC hIMC = NULL; in ImeWnd_OnCreate() local 429 HIMC hIMC = pimeui->hIMC; in ImeWnd_OnImeControl() local 446 if (!hIMC) in ImeWnd_OnImeControl() 564 HIMC hIMC; in User32SetImeActivenessOfWindow() local 627 HIMC hIMC = pimeui->hIMC; in ImeWnd_OnImeSystem() local 715 if (hIMC) in ImeWnd_OnImeSystem() 782 HIMC hIMC; in ImeWnd_OnImeSetContext() local 825 if (hIMC && !User32CanSetImeWindowToImc(hIMC, hImeWnd)) in ImeWnd_OnImeSetContext() [all …]
|
/reactos/win32ss/user/user32/include/ |
H A D | immtable.h | 12 DEFINE_IMM_ENTRY(HIMC, ImmAssociateContext, (HWND hwnd, HIMC hIMC), 0, NONVOID) 21 DEFINE_IMM_ENTRY(BOOL, ImmReleaseContext, (HWND hwnd, HIMC hIMC), 0, NONVOID) 23 DEFINE_IMM_ENTRY(BOOL, ImmGetCompositionFontW, (HIMC hIMC, LPLOGFONTW plf), 0, NONVOID) 24 DEFINE_IMM_ENTRY(BOOL, ImmGetCompositionFontA, (HIMC hIMC, LPLOGFONTA plf), 0, NONVOID) 25 DEFINE_IMM_ENTRY(BOOL, ImmSetCompositionFontW, (HIMC hIMC, LPLOGFONTW plf), 0, NONVOID) 29 DEFINE_IMM_ENTRY(/*PINPUTCONTEXT*/ LPVOID, ImmLockIMC, (HIMC hIMC), 0, NONVOID) 30 DEFINE_IMM_ENTRY(BOOL, ImmUnlockIMC, (HIMC hIMC), 0, NONVOID) 32 DEFINE_IMM_ENTRY(BOOL, ImmSetOpenStatus, (HIMC hIMC, BOOL bOpen), 0, NONVOID) 40 DEFINE_IMM_ENTRY(BOOL, ImmSetStatusWindowPos, (HIMC hIMC, LPPOINT lppt), 0, NONVOID) 44 DEFINE_IMM_ENTRY(BOOL, ImmGetOpenStatus, (HIMC hIMC), 0, NONVOID) [all …]
|
/reactos/dll/win32/msimtf/ |
H A D | activeimmapp.c | 223 HIMC hIMC, LOGFONTA *plf) in ActiveIMMApp_GetCompositionFontA() argument 234 HIMC hIMC, LOGFONTW *plf) in ActiveIMMApp_GetCompositionFontW() argument 359 HIMC hIMC) in ActiveIMMApp_GetOpenStatus() argument 361 return ImmGetOpenStatus(hIMC); in ActiveIMMApp_GetOpenStatus() 386 HIMC hIMC, POINT *pptPos) in ActiveIMMApp_GetStatusWindowPos() argument 476 HWND hWnd, HIMC hIMC) in ActiveIMMApp_ReleaseContext() argument 480 rc = ImmReleaseContext(hWnd,hIMC); in ActiveIMMApp_ReleaseContext() 502 HIMC hIMC, LOGFONTA *plf) in ActiveIMMApp_SetCompositionFontA() argument 515 HIMC hIMC, LOGFONTW *plf) in ActiveIMMApp_SetCompositionFontW() argument 582 HIMC hIMC, BOOL fOpen) in ActiveIMMApp_SetOpenStatus() argument [all …]
|
/reactos/modules/rostests/apitests/win32nt/ntuser/ |
H A D | NtUserGetThreadState.c | 75 HIMC hIMC; in DoTest_EDIT() local 100 DO_CHECK(4, hIMC); in DoTest_EDIT() 117 DO_CHECK(4, hIMC); in DoTest_EDIT() 134 DO_CHECK(4, hIMC); in DoTest_EDIT() 151 DO_CHECK(4, hIMC); in DoTest_EDIT() 168 DO_CHECK(4, hIMC); in DoTest_EDIT() 185 DO_CHECK(4, hIMC); in DoTest_EDIT() 197 HIMC hIMC; in DoTest_BUTTON() local 224 DO_CHECK(4, hIMC); in DoTest_BUTTON() 241 DO_CHECK(4, hIMC); in DoTest_BUTTON() [all …]
|
/reactos/dll/ime/msctfime/ |
H A D | msctfime.cpp | 24 _In_ HIMC hIMC, in InternalSelectEx() argument 191 _In_ HIMC hIMC, in ImeConversionList() argument 349 _In_ HIMC hIMC, in ImeEscape() argument 365 _In_ HIMC hIMC, in ImeProcessKey() argument 419 _In_ HIMC hIMC, in ImeSelect() argument 437 _In_ HIMC hIMC, in ImeSetActiveContext() argument 457 _In_ HIMC hIMC) in ImeToAsciiEx() argument 485 _In_ HIMC hIMC, in NotifyIME() argument 513 _In_ HIMC hIMC, in ImeSetCompositionString() argument 572 _In_ HIMC hIMC, in CtfImeSelectEx() argument [all …]
|
H A D | bridge.cpp | 81 _In_ HIMC hIMC) in CreateInputContext() argument 83 CicIMCLock imcLock(hIMC); in CreateInputContext() 145 CicIMCLock imcLock(hIMC); in DestroyInputContext() 213 _In_ HIMC hIMC, in SelectEx() argument 614 HIMC hIMC, in SetAssociate() argument 630 if (!hIMC) in SetActiveContextAlways() 672 if (!hIMC || (::GetFocus() != hWnd) || (hIMC != ::ImmGetContext(hWnd))) in SetActiveContextAlways() 704 HIMC hIMC, in Notify() argument 790 HIMC hIMC, in ProcessKey() argument 809 HIMC hIMC, in ToAsciiEx() argument [all …]
|
H A D | bridge.h | 28 static BOOL CALLBACK EnumCreateInputContextCallback(HIMC hIMC, LPARAM lParam); 31 LRESULT EscHanjaMode(TLS *pTLS, HIMC hIMC, LPVOID lpData); 52 HRESULT CreateInputContext(TLS *pTLS, HIMC hIMC); 53 HRESULT DestroyInputContext(TLS *pTLS, HIMC hIMC); 59 _In_ HIMC hIMC, 88 HIMC hIMC, 95 HIMC hIMC, 103 HIMC hIMC, 117 HIMC hIMC, 123 HIMC hIMC, [all …]
|
H A D | misc.cpp | 103 typedef BOOL (WINAPI *FN_MsimtfIsGuidMapEnable)(HIMC hIMC, LPBOOL pbValue); 107 BOOL MsimtfIsGuidMapEnable(_In_ HIMC hIMC, _Out_opt_ LPBOOL pbValue) in MsimtfIsGuidMapEnable() argument 112 return s_fn(hIMC, pbValue); in MsimtfIsGuidMapEnable() 568 HIMC hIMC = GetActiveContext(); in DocFeed() local 569 CicIMCLock imcLock(hIMC); in DocFeed() 592 HIMC hIMC = GetActiveContext(); in ClearDocFeedBuffer() local 593 CicIMCLock imcLock(hIMC); in ClearDocFeedBuffer() 619 HIMC hIMC = GetActiveContext(); in StartReconvert() local 620 CicIMCLock imcLock(hIMC); in StartReconvert() 651 HIMC hIMC = GetActiveContext(); in StartUndoCompositionString() local [all …]
|
H A D | ui.cpp | 106 HIMC hIMC = m_pCompFrameWindow->m_hIMC; in OnLeftClick() local 107 if (hIMC) in OnLeftClick() 108 ::ImmNotifyIME(hIMC, NI_COMPOSITIONSTR, CPS_COMPLETE, 0); in OnLeftClick() 114 CCompFrameWindow::CCompFrameWindow(HIMC hIMC, DWORD style) in CCompFrameWindow() argument 117 m_hIMC = hIMC; in CCompFrameWindow() 124 : CCompFrameWindow(hIMC, style) in CCompButtonFrameWindow() 186 : CCompFrameWindow(hIMC, style) in CDefCompFrameWindow() 1075 CicIMCLock imcLock(hIMC); in ImeUIMsImeReconvertRequest() 1130 CicIMCLock imcLock(hIMC); in ImeUIDelayedReconvertFuncCall() 1147 CicIMCLock imcLock(hIMC); in ImeUINotifyHandler() [all …]
|
/reactos/sdk/include/reactos/ |
H A D | imetable.h | 3 DEFINE_IME_ENTRY(DWORD, ImeConversionList, (HIMC hIMC, LPCVOID lpSrc, LPCANDIDATELIST lpDst, DWORD … 10 DEFINE_IME_ENTRY(LRESULT, ImeEscape, (HIMC hIMC, UINT uEscape, LPVOID lpData), FALSE) 11 DEFINE_IME_ENTRY(BOOL, ImeProcessKey, (HIMC hIMC, UINT uVirKey, LPARAM lParam, CONST LPBYTE lpbKeyS… 12 DEFINE_IME_ENTRY(BOOL, ImeSelect, (HIMC hIMC, BOOL fSelect), FALSE) 13 DEFINE_IME_ENTRY(BOOL, ImeSetActiveContext, (HIMC hIMC, BOOL fFlag), FALSE) 15 DEFINE_IME_ENTRY(BOOL, NotifyIME, (HIMC hIMC, DWORD dwAction, DWORD dwIndex, DWORD_PTR dwValue), FA… 16 DEFINE_IME_ENTRY(BOOL, ImeSetCompositionString, (HIMC hIMC, DWORD dwIndex, LPCVOID lpComp, DWORD dw… 19 DEFINE_IME_ENTRY(BOOL, CtfImeSelectEx, (HIMC hIMC, BOOL fSelect, HKL hKL), TRUE) 20 DEFINE_IME_ENTRY(LRESULT, CtfImeEscapeEx, (HIMC hIMC, UINT uSubFunc, LPVOID lpData, HKL hKL), TRUE) 21 DEFINE_IME_ENTRY(HRESULT, CtfImeGetGuidAtom, (HIMC hIMC, DWORD dwUnknown, LPDWORD pdwGuidAtom), TRU… [all …]
|
H A D | CtfImeTable.h | 13 DEFINE_CTF_IME_FN(CtfImeCreateInputContext, HRESULT, (HIMC hIMC)) 14 DEFINE_CTF_IME_FN(CtfImeDestroyInputContext, HRESULT, (HIMC hIMC)) 15 DEFINE_CTF_IME_FN(CtfImeSetActiveContextAlways, HRESULT, (HIMC hIMC, BOOL fActive, HWND hWnd, HKL h… 16 DEFINE_CTF_IME_FN(CtfImeProcessCicHotkey, HRESULT, (HIMC hIMC, UINT vKey, LPARAM lParam))
|
/reactos/sdk/include/psdk/ |
H A D | imm.h | 508 _In_ HIMC hIMC, 515 _In_ HIMC hIMC, 522 _In_ HIMC hIMC, 530 _In_ HIMC hIMC, 541 _In_ HIMC hIMC, 564 _In_ HIMC hIMC, 572 _In_ HIMC hIMC, 584 _In_ HIMC hIMC, 594 _In_ HIMC hIMC, 603 _In_ HIMC hIMC, [all …]
|
H A D | dimm.idl | 256 [in] HIMC hIMC, 263 [in] HIMC hIMC, 269 [in] HIMC hIMC, 276 [in] HIMC hIMC, 283 [in] HIMC hIMC, 288 [in] HIMC hIMC, 293 [in] HIMC hIMC, 298 [in] HIMC hIMC, 302 [in] HIMC hIMC, 306 [in] HIMC hIMC, [all …]
|
/reactos/sdk/lib/cicero/ |
H A D | cicimc.h | 99 CIC_IMC_LOCK(HIMC hIMC) in CIC_IMC_LOCK() argument 102 m_hIMC = hIMC; in CIC_IMC_LOCK() 116 CicIMCLock(HIMC hIMC) : CIC_IMC_LOCK(hIMC) in CicIMCLock() argument 118 m_hr = _LockIMC(hIMC, &m_pIC); in CicIMCLock() 171 HRESULT _LockIMC(HIMC hIMC, LPINPUTCONTEXTDX *ppIC) in _LockIMC() argument 173 if (!hIMC) in _LockIMC() 176 LPINPUTCONTEXTDX pIC = (LPINPUTCONTEXTDX)ImmLockIMC(hIMC); in _LockIMC() 180 HRESULT _UnlockIMC(HIMC hIMC) in _UnlockIMC() argument 182 return ::ImmUnlockIMC(hIMC) ? S_OK : E_FAIL; in _UnlockIMC()
|
/reactos/sdk/include/ddk/ |
H A D | immdev.h | 208 BOOL WINAPI ImmUnlockIMC(_In_ HIMC hIMC); 223 BOOL WINAPI ImmGenerateMessage(_In_ HIMC hIMC); 280 _In_ HIMC hIMC, 324 _In_ HIMC hIMC, 330 _In_ HIMC hIMC, 337 _In_ HIMC hIMC, 342 _In_ HIMC hIMC, 352 _In_ HIMC hIMC); 356 _In_ HIMC hIMC, 363 _In_ HIMC hIMC, [all …]
|