ReactOS 0.4.16-dev-340-g0540c21
|
#include "precomp.h"
#include <ndk/ldrfuncs.h>
#include <msctf.h>
#include <objidl.h>
#include <compat_undoc.h>
#include <CtfImeTable.h>
Go to the source code of this file.
Classes | |
struct | IMMTLSDATA |
struct | ISPY |
struct | IMM_DELAY_SET_LANG_BAND |
Macros | |
#define | IMM32_GET_FN(ppfn, phinstDLL, dll_name, func_name) Imm32GetFn((FARPROC*)(ppfn), (phinstDLL), (dll_name), #func_name) |
#define | OLE32_FN(name) g_pfnOLE32_##name |
#define | Imm32GetOle32Fn(func_name) IMM32_GET_FN(&OLE32_FN(func_name), &g_hOle32, L"ole32.dll", #func_name) |
#define | MSCTF_FN(name) g_pfnMSCTF_##name |
#define | Imm32GetMsctfFn(func_name) IMM32_GET_FN(&MSCTF_FN(func_name), &g_hMsctf, L"msctf.dll", #func_name) |
#define | DEFINE_CTF_IME_FN(func_name, ret_type, params) typedef ret_type (WINAPI *FN_##func_name)params; |
#define | DEFINE_CTF_IME_FN(func_name, ret_type, params) FN_##func_name g_pfn##func_name = NULL; |
#define | CTF_IME_FN(func_name) g_pfn##func_name |
#define | Imm32DeleteIMMISPY(pSpy) ImmLocalFree(pSpy) |
#define | DEFINE_CTF_IME_FN(func_name, ret_type, params) |
#define | DEFINE_CTF_IME_FN(func_name, ret_type, params) CTF_IME_FN(func_name) = NULL; |
Typedefs | |
typedef HRESULT(WINAPI * | FN_CoInitializeEx) (LPVOID, DWORD) |
typedef VOID(WINAPI * | FN_CoUninitialize) (VOID) |
typedef HRESULT(WINAPI * | FN_CoRegisterInitializeSpy) (IInitializeSpy *, ULARGE_INTEGER *) |
typedef HRESULT(WINAPI * | FN_CoRevokeInitializeSpy) (ULARGE_INTEGER) |
typedef HRESULT(WINAPI * | FN_TF_CreateLangBarMgr) (ITfLangBarMgr **) |
typedef VOID(WINAPI * | FN_TF_InvalidAssemblyListCacheIfExist) (VOID) |
typedef BOOL(WINAPI * | FN_ApphelpCheckIME) (_In_z_ LPCWSTR AppName) |
typedef struct IMMTLSDATA | IMMTLSDATA |
typedef struct IMMTLSDATA * | PIMMTLSDATA |
typedef struct ISPY | ISPY |
typedef struct ISPY * | PISPY |
typedef struct IMM_DELAY_SET_LANG_BAND | IMM_DELAY_SET_LANG_BAND |
typedef struct IMM_DELAY_SET_LANG_BAND * | PIMM_DELAY_SET_LANG_BAND |
Variables | |
HINSTANCE | g_hOle32 = NULL |
HINSTANCE | g_hMsctf = NULL |
DWORD | g_aimm_compat_flags = 0 |
BOOL | g_disable_CUAS_flag = FALSE |
HINSTANCE | g_hCtfIme = NULL |
DWORD | g_dwTLSIndex = -1 |
static const IInitializeSpyVtbl | g_vtblISPY |
#define IMM32_GET_FN | ( | ppfn, | |
phinstDLL, | |||
dll_name, | |||
func_name | |||
) | Imm32GetFn((FARPROC*)(ppfn), (phinstDLL), (dll_name), #func_name) |
#define Imm32DeleteIMMISPY | ( | pSpy | ) | ImmLocalFree(pSpy) |
typedef HRESULT(WINAPI * FN_CoRegisterInitializeSpy) (IInitializeSpy *, ULARGE_INTEGER *) |
typedef HRESULT(WINAPI * FN_CoRevokeInitializeSpy) (ULARGE_INTEGER) |
typedef HRESULT(WINAPI * FN_TF_CreateLangBarMgr) (ITfLangBarMgr **) |
typedef struct IMMTLSDATA IMMTLSDATA |
typedef struct IMMTLSDATA * PIMMTLSDATA |
Definition at line 1009 of file ctf.c.
Definition at line 816 of file ctf.c.
Referenced by CtfImeCreateInputContext(), CtfImmTIMCreateInputContext(), and Imm32EnumCreateCtfICProc().
Definition at line 723 of file ctf.c.
Referenced by CtfAImmActivate(), CtfImeCreateThreadMgr(), CtfImmTIMActivate(), and Imm32ActivateOrDeactivateTIM().
Definition at line 831 of file ctf.c.
Referenced by CtfImeDestroyInputContext(), and CtfImmTIMDestroyInputContext().
Definition at line 751 of file ctf.c.
Referenced by CtfAImmDeactivate(), CtfImeDestroyThreadMgr(), Imm32ActivateOrDeactivateTIM(), and ImmDisableTextFrameService().
Definition at line 737 of file ctf.c.
Referenced by CtfImeProcessCicHotkey().
HRESULT CtfImeSetActiveContextAlways | ( | _In_ HIMC | hIMC, |
_In_ BOOL | fActive, | ||
_In_ HWND | hWnd, | ||
_In_ HKL | hKL | ||
) |
Definition at line 845 of file ctf.c.
Referenced by CtfImeSetActiveContextAlways().
Definition at line 574 of file ctf.c.
Referenced by CtfImmTIMActivate().
Definition at line 614 of file ctf.c.
Referenced by ImmDisableTextFrameService(), and ISPY_PreInitialize().
LRESULT WINAPI CtfImmDispatchDefImeMessage | ( | _In_ HWND | hWnd, |
_In_ UINT | uMsg, | ||
_In_ WPARAM | wParam, | ||
_In_ LPARAM | lParam | ||
) |
Definition at line 1416 of file ctf.c.
Referenced by ImeWndProc_common().
Definition at line 1272 of file ctf.c.
HRESULT WINAPI CtfImmGetGuidAtom | ( | _In_ HIMC | hIMC, |
_In_ DWORD | dwUnknown, | ||
_Out_ LPDWORD | pdwGuidAtom | ||
) |
Definition at line 1467 of file ctf.c.
Definition at line 1362 of file ctf.c.
Referenced by ImeWnd_OnImeControl().
Definition at line 781 of file ctf.c.
Referenced by CtfImeProcessCicHotkey(), and ImmProcessKey().
Definition at line 1434 of file ctf.c.
Definition at line 1079 of file ctf.c.
Referenced by Imm32SelectInputContext(), and ImmGetImeInfoEx().
Definition at line 1391 of file ctf.c.
Referenced by ImeWnd_OnImeControl().
Definition at line 1233 of file ctf.c.
Referenced by ImmSystemHandler().
Definition at line 1123 of file ctf.c.
Referenced by CtfLoadThreadLayout(), and Imm32InternalLockIMC().
Definition at line 939 of file ctf.c.
Referenced by Imm32CreateInputContext(), and Imm32InternalLockIMC().
Definition at line 895 of file ctf.c.
Referenced by CtfImmLastEnabledWndDestroy(), and ISPY_PreInitialize().
|
static |
Definition at line 296 of file ctf.c.
Referenced by CtfImmCoInitialize(), and CtfImmCoUninitialize().
Definition at line 557 of file ctf.c.
Referenced by CtfImmCoInitialize().
Definition at line 235 of file ctf.c.
Referenced by Imm32LoadCtfIme().
Definition at line 130 of file ctf.c.
Referenced by CtfImmCoInitialize(), and ISPY_PreUninitialize().
HRESULT Imm32CoRegisterInitializeSpy | ( | IInitializeSpy * | spy, |
ULARGE_INTEGER * | cookie | ||
) |
Definition at line 146 of file ctf.c.
Referenced by CtfImmCoInitialize().
HRESULT Imm32CoRevokeInitializeSpy | ( | ULARGE_INTEGER | cookie | ) |
Definition at line 154 of file ctf.c.
Referenced by CtfImmCoUninitialize().
Definition at line 138 of file ctf.c.
Referenced by CtfImmCoUninitialize().
Definition at line 1211 of file ctf.c.
Referenced by CtfImmSetLangBand().
Definition at line 863 of file ctf.c.
Referenced by CtfAImmActivate().
BOOL Imm32GetFn | ( | _Inout_opt_ FARPROC * | ppfn, |
_Inout_ HINSTANCE * | phinstDLL, | ||
_In_ LPCWSTR | pszDllName, | ||
_In_ LPCSTR | pszFuncName | ||
) |
Definition at line 83 of file ctf.c.
|
static |
Definition at line 321 of file ctf.c.
Referenced by CtfImmCoUninitialize(), CtfImmEnterCoInitCountSkipMode(), CtfImmLeaveCoInitCountSkipMode(), Imm32DecCoInitCountSkip(), Imm32GetCoInitCountSkip(), Imm32IncCoInitCountSkip(), and ISPY_PreUninitialize().
Definition at line 285 of file ctf.c.
Referenced by CtfImmCoInitialize().
Definition at line 16 of file ctf.c.
Referenced by CtfImmDispatchDefImeMessage(), CtfImmTIMActivate(), and ISPY_PreUninitialize().
Definition at line 61 of file ctf.c.
Referenced by CtfImmTIMActivate().
Definition at line 23 of file ctf.c.
Referenced by CtfImmTIMActivate().
Definition at line 45 of file ctf.c.
Referenced by CtfImmTIMActivate().
Definition at line 877 of file ctf.c.
Referenced by CtfImmTIMActivate().
Definition at line 647 of file ctf.c.
Referenced by CtfAImmActivate(), CtfAImmIsIME(), CtfImeCreateInputContext(), CtfImeCreateThreadMgr(), CtfImeDestroyInputContext(), CtfImeDestroyThreadMgr(), CtfImeProcessCicHotkey(), CtfImeSetActiveContextAlways(), and CtfImmDispatchDefImeMessage().
HRESULT Imm32TF_CreateLangBarMgr | ( | _Inout_ ITfLangBarMgr ** | ppBarMgr | ) |
Definition at line 179 of file ctf.c.
Referenced by CtfImmHideToolbarWnd(), and CtfImmRestoreToolbarWnd().
Definition at line 189 of file ctf.c.
Referenced by CtfImmTIMActivate().
Definition at line 1088 of file ctf.c.
|
static |
Definition at line 491 of file ctf.c.
|
static |
Definition at line 535 of file ctf.c.
|
static |
Definition at line 469 of file ctf.c.
|
static |
Definition at line 515 of file ctf.c.
|
static |
FN_TF_CreateLangBarMgr MSCTF_FN | ( | TF_CreateLangBarMgr | ) |
FN_CoInitializeEx OLE32_FN | ( | CoInitializeEx | ) |
FN_CoRegisterInitializeSpy OLE32_FN | ( | CoRegisterInitializeSpy | ) |
FN_CoRevokeInitializeSpy OLE32_FN | ( | CoRevokeInitializeSpy | ) |
FN_CoUninitialize OLE32_FN | ( | CoUninitialize | ) |
|
static |
WINE_DEFAULT_DEBUG_CHANNEL | ( | imm | ) |
DWORD g_aimm_compat_flags = 0 |
Definition at line 204 of file ctf.c.
Referenced by CtfImmSetAppCompatFlags(), and ImmGetAppCompatFlags().
Definition at line 207 of file ctf.c.
Referenced by CtfImmTIMActivate(), and ImmDisableTextFrameService().
DWORD g_dwTLSIndex = -1 |
Definition at line 270 of file ctf.c.
Referenced by Imm32AllocateTLS(), Imm32GetTLS(), and Imm32InitTLS().
Definition at line 210 of file ctf.c.
Referenced by Imm32LoadCtfIme().
|
static |
Definition at line 545 of file ctf.c.
Referenced by Imm32AllocIMMISPY().