ReactOS 0.4.16-dev-1308-gbf734eb
|
#include <stdio.h>
#include <stdlib.h>
#include <windef.h>
#include <winbase.h>
#include <wingdi.h>
#include <winuser.h>
#include <winnls.h>
#include <winreg.h>
#include <winnls32.h>
#include <winver.h>
#include <imm.h>
#include <immdev.h>
#include <imm32_undoc.h>
#include <ndk/umtypes.h>
#include <ndk/pstypes.h>
#include <ndk/rtlfuncs.h>
#include "ntuser.h"
#include "ntwin32.h"
#include <undocuser.h>
#include <strsafe.h>
#include <wine/debug.h>
Go to the source code of this file.
Variables | |
HMODULE | ghImm32Inst |
RTL_CRITICAL_SECTION | gcsImeDpi |
PIMEDPI | gpImeDpiList |
PSERVERINFO | gpsi |
SHAREDINFO | gSharedInfo |
HANDLE | ghImmHeap |
DWORD | g_aimm_compat_flags |
#define ImeDpi_IsUnicode | ( | pImeDpi | ) | ((pImeDpi)->ImeInfo.fdwProperty & IME_PROP_UNICODE) |
#define IS_CROSS_PROCESS_HWND | ( | hWnd | ) | IS_TRUE_UNEXPECTEDLY(Imm32IsCrossProcessAccess(hWnd)) |
#define IS_CROSS_THREAD_HIMC | ( | hIMC | ) | IS_TRUE_UNEXPECTEDLY(Imm32IsCrossThreadAccess(hIMC)) |
#define LANGID_CHINESE_SIMPLIFIED MAKELANGID(LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED) |
#define LANGID_CHINESE_TRADITIONAL MAKELANGID(LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL) |
#define LANGID_JAPANESE MAKELANGID(LANG_JAPANESE, SUBLANG_DEFAULT) |
#define REGKEY_KEYBOARD_LAYOUTS L"System\\CurrentControlSet\\Control\\Keyboard Layouts" |
#define ValidateHwnd | ( | hwnd | ) | ValidateHandle((hwnd), TYPE_WINDOW) |
#define ValidateHwndNoErr | ( | hwnd | ) | ValidateHandleNoErr((hwnd), TYPE_WINDOW) |
DWORD CandidateListAnsiToWide | ( | const CANDIDATELIST * | pAnsiCL, |
LPCANDIDATELIST | pWideCL, | ||
DWORD | dwBufLen, | ||
UINT | uCodePage | ||
) |
Definition at line 84 of file candidate.c.
Referenced by ImmGetCandidateListAW(), ImmGetCandidateListCountAW(), ImmGetConversionListW(), and ImmGetGuideLineAW().
DWORD CandidateListWideToAnsi | ( | const CANDIDATELIST * | pWideCL, |
LPCANDIDATELIST | pAnsiCL, | ||
DWORD | dwBufLen, | ||
UINT | uCodePage | ||
) |
Definition at line 15 of file candidate.c.
Referenced by ImmGetCandidateListAW(), ImmGetCandidateListCountAW(), ImmGetConversionListA(), and ImmGetGuideLineAW().
Definition at line 666 of file msctfime.cpp.
Referenced by CtfAImmActivate(), CtfImeCreateThreadMgr(), CtfImmTIMActivate(), and Imm32ActivateOrDeactivateTIM().
Definition at line 705 of file msctfime.cpp.
Referenced by CtfAImmDeactivate(), CtfImeDestroyThreadMgr(), Imm32ActivateOrDeactivateTIM(), and ImmDisableTextFrameService().
Definition at line 795 of file msctfime.cpp.
Referenced by CtfImeProcessCicHotkey(), and ImmProcessKey().
HRESULT CtfImeSetActiveContextAlways | ( | _In_ HIMC | hIMC, |
_In_ BOOL | fActive, | ||
_In_ HWND | hWnd, | ||
_In_ HKL | hKL | ||
) |
Definition at line 775 of file msctfime.cpp.
Referenced by CtfImeSetActiveContextAlways(), and ImmSetActiveContext().
Definition at line 574 of file ctf.c.
Referenced by CtfImmTIMActivate().
Definition at line 1234 of file ctf.c.
Referenced by ImmSystemHandler().
Definition at line 939 of file ctf.c.
Referenced by Imm32CreateInputContext(), and Imm32InternalLockIMC().
Definition at line 140 of file utils.c.
Referenced by Imm32GetCompStrA(), Imm32ProcessRequest(), and Imm32ReconvertAnsiFromWide().
Definition at line 120 of file utils.c.
Referenced by Imm32GetCompStrW(), Imm32ProcessRequest(), and Imm32ReconvertWideFromAnsi().
Definition at line 895 of file ctf.c.
Referenced by CtfImmLastEnabledWndDestroy(), and ISPY_PreInitialize().
Definition at line 107 of file utils.c.
Referenced by Imm32EnumWordProcW2A(), ImmConfigureIMEW(), ImmEnumRegisterWordW(), ImmGetConversionListW(), ImmRegisterWordW(), and ImmUnregisterWordW().
Definition at line 338 of file utils.c.
Referenced by ImmEnumInputContext().
PTHREADINFO FASTCALL Imm32CurrentPti | ( | VOID | ) |
Definition at line 18 of file utils.c.
Referenced by Imm32CheckImcProcess(), Imm32DestroyInputContext(), and ImmRequestMessageAW().
PIME_STATE Imm32FetchImeState | ( | LPINPUTCONTEXTDX | pIC, |
HKL | hKL | ||
) |
Definition at line 378 of file utils.c.
Referenced by Imm32SelectInputContext().
PIME_SUBSTATE Imm32FetchImeSubState | ( | PIME_STATE | pState, |
HKL | hKL | ||
) |
Definition at line 401 of file utils.c.
Referenced by Imm32LoadImeStateSentence(), and Imm32SaveImeStateSentence().
Definition at line 350 of file ime.c.
Referenced by CtfImmGetGuidAtom(), CtfImmIsGuidMapEnable(), Imm32InternalLockIMC(), ImmConfigureIMEA(), ImmConfigureIMEW(), ImmEnumRegisterWordA(), ImmEnumRegisterWordW(), ImmEscapeA(), ImmEscapeW(), ImmGetConversionListA(), ImmGetConversionListW(), ImmGetProperty(), ImmGetRegisterWordStyleA(), ImmGetRegisterWordStyleW(), ImmRegisterWordA(), ImmRegisterWordW(), ImmUnregisterWordA(), and ImmUnregisterWordW().
Definition at line 152 of file utils.c.
Referenced by Imm32CopyImeFile(), Imm32GetFn(), Imm32LoadCtfIme(), Imm32LoadIME(), Imm32LoadImeVerInfo(), and ImmInstallIMEW().
LPINPUTCONTEXT Imm32InternalLockIMC | ( | HIMC | hIMC, |
BOOL | fSelect | ||
) |
Definition at line 852 of file imm.c.
Referenced by Imm32SelectInputContext(), and ImmLockIMC().
Definition at line 25 of file utils.c.
Referenced by ImmSetCompositionWindow().
Definition at line 85 of file utils.c.
Referenced by ImmGetImeMenuItemsAW().
Definition at line 72 of file utils.c.
Referenced by ImmIMPGetIMEA(), ImmIMPGetIMEW(), ImmIMPQueryIMEA(), ImmIMPQueryIMEW(), ImmIMPSetIMEA(), ImmIMPSetIMEW(), ImmWINNLSEnableIME(), and ImmWINNLSGetEnableStatus().
BOOL Imm32LoadImeStateSentence | ( | LPINPUTCONTEXTDX | pIC, |
PIME_STATE | pState, | ||
HKL | hKL | ||
) |
Definition at line 420 of file utils.c.
Referenced by Imm32SelectInputContext().
BOOL Imm32LoadImeVerInfo | ( | _Out_ PIMEINFOEX | pImeInfoEx | ) |
BOOL Imm32MakeIMENotify | ( | _In_ HIMC | hIMC, |
_In_ HWND | hwnd, | ||
_In_ DWORD | dwAction, | ||
_In_ DWORD | dwIndex, | ||
_Inout_opt_ DWORD_PTR | dwValue, | ||
_In_ DWORD | dwCommand, | ||
_Inout_opt_ DWORD_PTR | dwData | ||
) |
Definition at line 287 of file utils.c.
Referenced by ImmSetCandidateWindow(), ImmSetCompositionFontA(), ImmSetCompositionFontW(), ImmSetCompositionWindow(), ImmSetConversionStatus(), ImmSetOpenStatus(), and ImmSetStatusWindowPos().
DWORD Imm32ReconvertAnsiFromWide | ( | LPRECONVERTSTRING | pDest, |
const RECONVERTSTRING * | pSrc, | ||
UINT | uCodePage | ||
) |
Definition at line 514 of file utils.c.
Referenced by Imm32ProcessRequest(), and ImmSetCompositionStringAW().
DWORD Imm32ReconvertWideFromAnsi | ( | LPRECONVERTSTRING | pDest, |
const RECONVERTSTRING * | pSrc, | ||
UINT | uCodePage | ||
) |
Definition at line 451 of file utils.c.
Referenced by Imm32ProcessRequest(), and ImmSetCompositionStringAW().
Definition at line 378 of file ime.c.
Referenced by ImmFreeLayout().
BOOL Imm32SaveImeStateSentence | ( | LPINPUTCONTEXTDX | pIC, |
PIME_STATE | pState, | ||
HKL | hKL | ||
) |
Definition at line 431 of file utils.c.
Referenced by Imm32SelectInputContext().
Definition at line 40 of file utils.c.
Referenced by Imm32GetImeLayoutList(), and Imm32UnitTest().
HRESULT Imm32UIntToStr | ( | _In_ DWORD | dwValue, |
_In_ ULONG | nBase, | ||
_Out_ PWSTR | pszBuff, | ||
_In_ USHORT | cchBuff | ||
) |
Definition at line 56 of file utils.c.
Referenced by Imm32UnitTest(), and Imm32WriteImeLayout().
Definition at line 96 of file utils.c.
Referenced by Imm32EnumWordProcA2W(), ImmConfigureIMEA(), ImmEnumRegisterWordA(), ImmGetConversionListA(), ImmInstallIMEA(), ImmRegisterWordA(), and ImmUnregisterWordA().
Definition at line 275 of file utils.c.
Referenced by CtfImmGenerateMessage(), CtfImmSetLangBand(), Imm32AllocateTLS(), Imm32AllocIMMISPY(), Imm32AnsiFromWide(), Imm32BuildHimcList(), Imm32FetchImeState(), Imm32FetchImeSubState(), Imm32LoadImeDpi(), Imm32LoadImeVerInfo(), Imm32ProcessRequest(), Imm32WideFromAnsi(), ImmCreateContext(), ImmFreeLayout(), ImmGenerateMessage(), ImmGetConversionListA(), ImmGetConversionListW(), ImmGetImeMenuItemsAW(), ImmGetRegisterWordStyleA(), ImmGetRegisterWordStyleW(), ImmIMPQueryIMEW(), ImmIMPSetIMEW(), ImmInstallIMEW(), ImmLockClientImc(), ImmPostMessages(), ImmSetCompositionStringAW(), and ImmTranslateMessage().
VOID LogFontAnsiToWide | ( | const LOGFONTA * | plfA, |
LPLOGFONTW | plfW | ||
) |
Definition at line 164 of file utils.c.
Referenced by Imm32ProcessRequest(), Imm32SelectInputContext(), ImmGetCompositionFontW(), and ImmSetCompositionFontA().
VOID LogFontWideToAnsi | ( | const LOGFONTW * | plfW, |
LPLOGFONTA | plfA | ||
) |
Definition at line 176 of file utils.c.
Referenced by Imm32ProcessRequest(), Imm32SelectInputContext(), ImmGetCompositionFontA(), and ImmSetCompositionFontW().
Definition at line 239 of file utils.c.
Definition at line 201 of file utils.c.
Referenced by ImmCallImeConsoleIME(), and MENU_GetMenu().
|
extern |
Definition at line 204 of file ctf.c.
Referenced by CtfImmSetAppCompatFlags(), and ImmGetAppCompatFlags().
|
extern |
Definition at line 16 of file ime.c.
Referenced by Imm32FindImeDpi(), Imm32GetImeMenuItemWInterProcess(), Imm32InitTLS(), Imm32LoadCtfIme(), Imm32LoadImeDpi(), Imm32ReleaseIME(), ImmDllInitialize(), ImmFreeLayout(), ImmInitializeGlobals(), ImmLockImeDpi(), and ImmUnlockImeDpi().
|
extern |
Definition at line 17 of file imm.c.
Referenced by C1_DrawLabel(), Imm32DrawBitmap(), Imm32RegisterSoftKeyboard(), ImmCreateSoftKeyboard(), ImmInitializeGlobals(), and T1_DrawLabels().
|
extern |
Definition at line 16 of file utils.c.
Referenced by ImmLocalAlloc().
|
extern |
Definition at line 17 of file ime.c.
Referenced by Imm32FindImeDpi(), Imm32LoadImeDpi(), Imm32ReleaseIME(), ImmFreeLayout(), ImmLockImeDpi(), and ImmUnlockImeDpi().
|
extern |
|
extern |