#include "precomp.h"
Go to the source code of this file.
Functions | |
PIMC | CreateInputContext (ULONG_PTR dwClientImcData) |
BOOL | DestroyInputContext (IN PIMC pImc) |
VOID | FreeInputContext (IN PIMC pImc) |
BOOL | UpdateInputContext (IN PIMC pImc, IN UPDATEINPUTCONTEXTCLASS UpdateType, IN ULONG_PTR UpdateValue) |
HIMC | AssociateInputContext (IN PWND pWnd, IN PIMC pImc) |
AIC_STATUS | AssociateInputContextEx (IN PWND pWnd, IN PIMC pImc, IN DWORD dwFlag) |
VOID | xxxFocusSetInputContext (IN PWND pWnd, IN BOOL fActivate, IN BOOL fQueueMsg) |
UINT | BuildHimcList (PTHREADINFO pti, UINT cHimcMax, HIMC *ccxphimcFirst) |
PWND | xxxCreateDefaultImeWindow (IN PWND pwnd, IN ATOM atomT, IN HANDLE hInst) |
BOOL | xxxImmActivateThreadsLayout (PTHREADINFO pti, PTLBLOCK ptlBlockPrev, PKL pkl) |
VOID | xxxImmActivateAndUnloadThreadsLayout (IN PTHREADINFO *ptiList, IN UINT nEntries, IN PTLBLOCK ptlBlockPrev, PKL pklCurrent, DWORD dwHklReplace) |
VOID | xxxImmActivateLayout (IN PTHREADINFO pti, IN PKL pkl) |
VOID | xxxImmUnloadThreadsLayout (IN PTHREADINFO *ptiList, IN UINT nEntries, IN PTLBLOCK ptlBlockPrev, IN DWORD dwFlag) |
VOID | xxxImmUnloadLayout (IN PTHREADINFO pti, IN DWORD dwFlag) |
PIMEINFOEX | xxxImmLoadLayout (IN HKL hKL) |
BOOL | GetImeInfoEx (PWINDOWSTATION pwinsta, PIMEINFOEX piiex, IMEINFOEXCLASS SearchType) |
BOOL | SetImeInfoEx (PWINDOWSTATION pwinsta, PIMEINFOEX piiex) |
DWORD | xxxImmProcessKey (IN PQ pq, IN PWND pwnd, IN UINT message, IN WPARAM wParam, IN LPARAM lParam) |
BOOL | ImeCanDestroyDefIME (PWND pwndDefaultIme, PWND pwndDestroy) |
BOOL | IsChildSameThread (PWND pwndParent, PWND pwndChild) |
BOOL | ImeCanDestroyDefIMEforChild (PWND pwndDefaultIme, PWND pwndDestroy) |
VOID | ImeCheckTopmost (PWND pwndIme) |
VOID | ImeSetFutureOwner (PWND pwndIme, PWND pwndOrgOwner) |
VOID | ImeSetTopmostChild (PWND pwndParent, BOOL fMakeTopmost) |
PWND | GetLastTopMostWindowNoIME (PWND pwndRoot) |
VOID | ImeSetTopmost (PWND pwndRootIme, BOOL fMakeTopmost, PWND pwndInsertBefore) |
PSOFTKBDDATA | ProbeAndCaptureSoftKbdData (PSOFTKBDDATA Source) |
VOID | SetConvMode (PTHREADINFO pti, DWORD dwConversion) |
VOID | xxxNotifyIMEStatus (IN PWND pwnd, IN DWORD dwOpen, IN DWORD dwConversion) |
BOOL | xxxCheckImeShowStatus (PWND pwndIme, PTHREADINFO pti) |
LRESULT | xxxSendMessageToUI (PTHREADINFO ptiIme, PIMEUI pimeui, UINT message, WPARAM wParam, LPARAM lParam) |
VOID | xxxSendOpenStatusNotify (PTHREADINFO ptiIme, PIMEUI pimeui, PWND pwndApp, BOOL fOpen) |
VOID | xxxNotifyImeShowStatus (PWND pwndIme) |
BOOL | xxxSetIMEShowStatus (IN BOOL fShow) |
VOID | xxxBroadcastImeShowStatusChange (PWND pwndIme, BOOL fShow) |
VOID | xxxCheckImeShowStatusInThread (PWND pwndIme) |
BOOL | _GetIMEShowStatus (VOID) |
Variables | |
CONST WCHAR | wszDefaultIme [] = L"Default IME" |
|
Definition at line 2705 of file ntimm.c. References BOOL, FALSE, and gfIMEShowStatus. Referenced by xxxSystemParametersInfo().
|
|
Definition at line 289 of file ntimm.c. References PtoH. Referenced by AssociateInputContextEx(), and DestroyInputContext().
|
|
Definition at line 299 of file ntimm.c. References AIC_ERROR, AIC_FOCUSCONTEXTCHANGED, AIC_STATUS, AIC_SUCCESS, AssociateInputContext(), BOOL, BuildHwndList(), BWL_ENUMCHILDREN, BWL_ENUMLIST, FreeHwndList(), GETPTI, tagWND::hImc, NULL, NULL_HIMC, tagTHREADINFO::pq, PtiCurrent, PtoH, RevalidateHwnd, tagBWL::rghwnd, tagTHREADINFO::spDefaultImc, tagQ::spwndFocus, and Status. Referenced by NtUserAssociateInputContext().
|
|
Definition at line 475 of file ntimm.c. References FALSE, NULL, tagIMC::pImcNext, PtiCurrent, tagTHREADINFO::ptiSibling, PtoH, tagTHREADINFO::spDefaultImc, and UINT. Referenced by ImmEnumInputContext(), and NtUserBuildHimcList().
|
|
Definition at line 40 of file ntimm.c. References tagTHREADINFO::amdesk, tagIMC::dwClientImcData, HMAllocObject(), IS_IME_ENABLED, Lock, NULL, tagIMC::pImcNext, PtiCurrentShared, RETURN_IF_ACCESS_DENIED, tagTHREADINFO::rpdesk, tagTHREADINFO::spDefaultImc, TIF_DISABLEIME, tagTHREADINFO::TIF_flags, and TYPE_INPUTCONTEXT.
|
|
Definition at line 122 of file ntimm.c. References AssociateInputContext(), _HANDLEENTRY::bFlags, BOOL, BuildHwndList(), BWL_ENUMCHILDREN, BWL_ENUMLIST, FALSE, FreeHwndList(), GETPTI, HANDLEF_DESTROY, tagWND::hImc, HMDestroyUnlockedObject(), HMPheFromObject, NULL, tagDESKTOP::pDeskInfo, PtiCurrent, PtoH, RevalidateHwnd, tagBWL::rghwnd, tagTHREADINFO::rpdesk, tagTHREADINFO::spDefaultImc, tagDESKTOPINFO::spwnd, tagWND::spwndChild, and TRUE. Referenced by ImmDestroyContext(), ImmDllInitialize(), and NtUserDestroyInputContext().
|
|
Definition at line 198 of file ntimm.c. References GETPTI, HMFreeObject(), HMMarkObjectDestroy(), NULL, tagIMC::pImcNext, and VOID().
|
|
Definition at line 1166 of file ntimm.c. References BOOL, FALSE, tagIMEINFOEX::hkl, tagKL::hkl, IM_FILE_SIZE, ImeInfoExImeFileName, ImeInfoExKeyboardLayout, NULL, tagKL::piiex, tagKL::pklNext, tagWINDOWSTATION::spklList, TRUE, and tagIMEINFOEX::wszImeFile.
|
|
Definition at line 1891 of file ntimm.c. References _GetDesktopWindow(), tagCLS::atomClassName, tagSERVERINFO::atomSysClass, BOOL, CFIME, FALSE, gpsi, ICLS_IME, NULL, tagWND::pcls, tagWND::spwndChild, tagWND::spwndNext, tagWND::spwndOwner, TestCF, TestWF, TRUE, and WEFTOPMOST. Referenced by ImeSetTopmost().
|
|
Definition at line 1503 of file ntimm.c. References tagCLS::atomClassName, tagSERVERINFO::atomSysClass, BOOL, CFIME, FALSE, gpsi, ICLS_IME, ImeCheckTopmost(), ImeSetFutureOwner(), NULL, tagWND::pcls, ProbeAndReadStructure, tagWND::spwndNext, tagWND::spwndOwner, TestCF, TRUE, and Unlock.
|
|
Definition at line 1687 of file ntimm.c. References BOOL, FALSE, GETPTI, IsChildSameThread(), NULL, ProbeAndReadStructure, PWNDDESKTOP, tagWND::spwndParent, and TRUE.
|
|
Definition at line 1740 of file ntimm.c. References GETPTI, gptiForeground, ImeSetTopmost(), NULL, tagWND::spwndOwner, TestWF, VOID(), and WEFTOPMOST.
|
|
Definition at line 1770 of file ntimm.c. References tagCLS::atomClassName, tagSERVERINFO::atomSysClass, CFIME, GETPTI, gpsi, ICLS_IME, ICLS_MENU, Lock, NULL, tagWND::pcls, tagWND::spwndChild, tagWND::spwndNext, tagWND::spwndOwner, tagWND::spwndParent, TestCF, TestWF, VOID(), WFBOTTOMMOST, WFCHILD, and WFINDESTROY.
|
|
Definition at line 1995 of file ntimm.c. References tagCLS::atomClassName, tagSERVERINFO::atomSysClass, CFIME, ClrWF, FALSE, GetLastTopMostWindowNoIME(), GETPTI, gpsi, ICLS_IME, ImeSetTopmostChild(), LinkWindow(), NULL, tagWND::pcls, PWND_TOP, SetWF, tagWND::spwndChild, tagWND::spwndNext, tagWND::spwndOwner, tagWND::spwndParent, TestCF, TestWF, TRUE, UnlinkWindow(), VOID(), WEFTOPMOST, and WFBOTTOMMOST.
|
|
Definition at line 1862 of file ntimm.c. References ClrWF, ImeSetTopmostChild(), NULL, SetWF, tagWND::spwndChild, tagWND::spwndNext, VOID(), and WEFTOPMOST.
|
|
Definition at line 1594 of file ntimm.c. References tagCLS::atomClassName, tagSERVERINFO::atomSysClass, BOOL, CFIME, FALSE, GETPTI, gpsi, ICLS_IME, ICLS_MENU, NULL, tagWND::pcls, tagWND::spwndChild, tagWND::spwndNext, tagWND::spwndOwner, tagWND::spwndParent, TestCF, TestwndChild, and TRUE.
|
|
Definition at line 2154 of file ntimm.c. References BYTE, DWORD, ExRaiseStatus(), NULL, ProbeAndReadUlong, ProbeForReadBuffer, TRUE, and UINT. Referenced by MESSAGECALL().
|
|
Definition at line 2196 of file ntimm.c. References ClearKeyStateDown, ClearKeyStateToggle, tagKL::hkl, NULL, tagTHREADINFO::pq, SetKeyStateDown, SetKeyStateToggle, tagTHREADINFO::spklActive, and VOID(). Referenced by xxxNotifyIMEStatus().
|
|
Definition at line 1237 of file ntimm.c. References BOOL, FALSE, tagIMEINFOEX::fLoadFlag, tagIMEINFOEX::hkl, tagKL::hkl, IMEF_NONLOAD, NULL, tagKL::piiex, tagKL::pklNext, tagWINDOWSTATION::spklList, and TRUE.
|
|
Definition at line 239 of file ntimm.c. References BOOL, FALSE, GETPTI, tagTHREADINFO::ppi, PtiCurrent, TRUE, UpdateClientInputContext, and UpdateInUseImeWindow. Referenced by NtUserUpdateInputContext().
|
|
Definition at line 2679 of file ntimm.c. References CheckCritIn, gfIMEShowStatus, VOID(), and xxxNotifyImeShowStatus().
|
|
Definition at line 2375 of file ntimm.c. References tagCLS::atomClassName, tagSERVERINFO::atomSysClass, BOOL, BuildHwndList(), BWL_ENUMLIST, FALSE, FreeHwndList(), tagIMEUI::fShowStatus, GETPTI, gpsi, tagIMEUI::hwndIMC, ICLS_IME, KeAttachProcess(), KeDetachProcess(), L, NULL, tagWND::pcls, PHWND, tagTHREADINFO::ppi, ProbeAndReadStructure, PtiCurrent, RevalidateHwnd, tagBWL::rghwnd, tagWND::spwndChild, tagWND::spwndParent, TestWF, ThreadLockAlways, ThreadUnlock, TIF_INCLEANUP, TRUE, WFINDESTROY, and xxxSendMessage(). Referenced by xxxCheckImeShowStatusInThread(), and xxxNotifyImeShowStatus().
|
|
Definition at line 2694 of file ntimm.c. References GETPTI, IS_IME_ENABLED, TestWF, VOID(), WFINDESTROY, and xxxCheckImeShowStatus().
|
|
Definition at line 531 of file ntimm.c. References tagSERVERINFO::atomSysClass, CFIME, CreateInputContext(), DesktopAlloc(), DesktopFree, DTAG_IMETEXT, DWORD, FALSE, GETPTI, gpidLogon, gpsi, hInst, ICLS_IME, NULL, tagDESKTOP::pheapDesktop, tagTHREADINFO::ppi, ProbeForWrite(), PtiCurrentShared, tagTHREADINFO::rpdesk, RtlInitLargeUnicodeString(), tagTHREADINFO::spDefaultImc, tagTHREADINFO::spwndDefaultIme, TestCF, TestWF, TestwndChild, ThreadLock, ThreadUnlock, TIF_DISABLEIME, tagTHREADINFO::TIF_flags, TRUE, UINT, VER40, WFSERVERSIDEPROC, wszDefaultIme, and xxxCreateWindowEx(). Referenced by xxxCreateWindowEx().
|
|
Definition at line 405 of file ntimm.c. References tagSERVERINFO::atomSysClass, CFIME, CheckLock, GETPTI, gpsi, HWq, ICLS_IME, L, NULL, tagTHREADINFO::spwndDefaultIme, TestCF, TestWF, ThreadLockAlways, ThreadUnlock, tagTHREADINFO::TIF_flags, TIF_INCLEANUP, VOID(), WFDESTROYED, xxxSendMessage(), and xxxSendMessageCallback(). Referenced by CancelInputState(), xxxDeactivate(), xxxDestroyWindow(), and xxxSendFocusMessages().
|
|
Definition at line 749 of file ntimm.c. References CheckLock, tagKL::CodePage, dwFlags, DWORD, FALSE, tagKL::hkl, IFL_DEACTIVATEIME, INT, IS_IME_KBDLAYOUT, KeAttachProcess(), KeDetachProcess(), tagTLBLOCK::list, Lock, NULL, tagTHREADINFO::pClientInfo, tagTHREADINFO::ppi, PtiCurrentShared, tagTLBLOCK::ptlBlockPrev, ThreadLockPti, THREADS_PER_TLBLOCK, ThreadUnlockPti, TIF_INCLEANUP, TRUE, VOID(), xxxImmActivateLayout(), and xxxImmUnloadLayout(). Referenced by xxxSetPKLinThreads().
|
|
Definition at line 921 of file ntimm.c. References CheckLock, Lock, NULL, PtiCurrentShared, tagTHREADINFO::spwndDefaultIme, ThreadLockAlwaysWithPti, ThreadUnlock, VOID(), and xxxSendMessage(). Referenced by xxxImmActivateAndUnloadThreadsLayout(), xxxImmActivateThreadsLayout(), and xxxInternalActivateKeyboardLayout().
|
|
Definition at line 646 of file ntimm.c. References BOOL, CheckLock, _CLIENTINFO::CI_flags, CI_INPUTCONTEXT_REINIT, _CLIENTINFO::CodePage, tagKL::CodePage, FALSE, tagKL::hkl, _CLIENTINFO::hKL, tagTHREADINFO::hklPrev, INT, tagTLBLOCK::list, Lock, NULL, tagTHREADINFO::pClientInfo, tagTHREADINFO::ppi, PpiCurrent, PtiCurrentShared, tagTHREADINFO::ptiSibling, PTLBLOCK, tagTLBLOCK::ptlBlockPrev, tagTHREADINFO::spDefaultImc, tagTHREADINFO::spklActive, tagTHREADINFO::spwndDefaultIme, ThreadLockPti, THREADS_PER_TLBLOCK, ThreadUnlockPti, tagTHREADINFO::TIF_flags, TIF_INCLEANUP, TLBLOCK, TRUE, UINT, and xxxImmActivateLayout(). Referenced by xxxInternalActivateKeyboardLayout().
|
|
Definition at line 1118 of file ntimm.c. References ClientImmLoadLayout(), IS_IME_KBDLAYOUT, NULL, PtiCurrent, ThreadLockPool, ThreadUnlockAndFreePool, and ThreadUnlockPool. Referenced by xxxLoadKeyboardLayoutEx().
|
|
Definition at line 1286 of file ntimm.c. References _PostMessage(), BOOL, CheckImeHotKey(), CheckLock, ClientImmProcessKey(), tagKL::dwFontSigs, _tagIMEHOTKEY::dwHotKeyID, DWORD, FALSE, GetAppImeCompatFlags(), GETPTI, gSystemFS, _tagIMEHOTKEYOBJ::hk, _tagIMEHOTKEY::hKL, tagKL::hkl, HtoP, tagIMEINFOEX::ImeInfo, IPHK_HOTKEY, IS_IME_ENABLED, NULL, tagKL::piiex, PtiCurrent, PtoH, and UINT. Referenced by xxxScanSysQueue().
|
|
Definition at line 1070 of file ntimm.c. References CMSHUNGAPPTIMEOUT, IFL_DEACTIVATEIME, IS_IME_KBDLAYOUT, NULL, PtiCurrentShared, tagTHREADINFO::spwndDefaultIme, ThreadLockAlwaysWithPti, ThreadUnlock, VOID(), and xxxSendMessageTimeout(). Referenced by xxxImmActivateAndUnloadThreadsLayout(), and xxxImmUnloadThreadsLayout().
|
|
Definition at line 961 of file ntimm.c. References FALSE, IFL_DEACTIVATEIME, IFL_UNLOADIME, INT, IS_IME_KBDLAYOUT, tagTLBLOCK::list, NULL, PtiCurrentShared, tagTLBLOCK::ptlBlockPrev, ThreadLockPti, THREADS_PER_TLBLOCK, ThreadUnlockPti, TIF_INCLEANUP, TRUE, VOID(), and xxxImmUnloadLayout(). Referenced by xxxFreeImeKeyboardLayouts().
|
|
Definition at line 2544 of file ntimm.c. References BOOL, FALSE, tagIMEUI::fShowStatus, GETPTI, gfIMEShowStatus, tagIMEUI::hwndIMC, IS_IME_ENABLED, KeAttachProcess(), KeDetachProcess(), NULL, ProbeAndReadStructure, PtiCurrent, RevalidateHwnd, TestWF, TRUE, VOID(), WFINDESTROY, xxxCheckImeShowStatus(), and xxxSendOpenStatusNotify(). Referenced by xxxBroadcastImeShowStatusChange(), and xxxSetIMEShowStatus().
|
|
Definition at line 2295 of file ntimm.c. References CheckLock, gdwIMEConversionStatus, gdwIMEOpenStatus, GETPTI, gHimcFocus, gptiForeground, tagKL::hkl, HWq, IsHooked, NlsKbdSendIMENotification(), NULL, tagTHREADINFO::pq, SetConvMode(), tagTHREADINFO::spklActive, VOID(), WHF_SHELL, and xxxCallHook(). Referenced by NtUserNotifyIMEStatus().
|
|
Definition at line 2461 of file ntimm.c. References BOOL, CheckCritIn, FALSE, KeAttachProcess(), KeDetachProcess(), L, tagIMEUI::nCntInIMEProc, NULL, tagTHREADINFO::ppi, ProbeAndReadStructure, ProbeAndReadUlong, PtiCurrent, RevalidateHwnd, ThreadLockAlways, ThreadUnlock, TRUE, and xxxSendMessage(). Referenced by xxxSendOpenStatusNotify().
|
|
Definition at line 2518 of file ntimm.c. References GETPTI, tagWND::hImc, L, NULL, ThreadLockAlways, ThreadUnlock, VER40, VOID(), xxxSendMessage(), and xxxSendMessageToUI(). Referenced by xxxNotifyImeShowStatus().
|
|
Definition at line 2606 of file ntimm.c. References BOOL, CheckCritIn, CreateProfileUserName(), FALSE, FreeProfileUserName(), GETPTI, gfIMEShowStatus, gpqForeground, IMESHOWSTATUS_NOTINITIALIZED, IS_IME_ENABLED, NULL, PMAP_INPUTMETHOD, tagTHREADINFO::spwndDefaultIme, tagQ::spwndFocus, ThreadLockAlways, ThreadUnlock, tagTHREADINFO::TIF_flags, TIF_INCLEANUP, TRUE, UpdateWinIniInt(), and xxxNotifyImeShowStatus(). Referenced by xxxSystemParametersInfo().
|
|
Definition at line 16 of file ntimm.c. Referenced by xxxCreateDefaultImeWindow(). |