ReactOS
0.4.15-dev-2095-g7caf9e9
|
#include <stdarg.h>
#include <stdio.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "winerror.h"
#include "wine/debug.h"
#include "imm.h"
#include "ddk/imm.h"
#include "winnls.h"
#include "winreg.h"
#include "wine/list.h"
Go to the source code of this file.
Classes | |
struct | _tagImmHkl |
struct | tagInputContextData |
struct | _tagTRANSMSG |
struct | _tagIMMThreadData |
Macros | |
#define | IMM_INIT_MAGIC 0x19650412 |
#define | WINE_IMC_VALID_MAGIC 0x56434D49 |
#define | LOAD_FUNCPTR(f) if((ptr->p##f = (LPVOID)GetProcAddress(ptr->hIME, #f)) == NULL){WARN("Can't find function %s in ime\n", #f);} |
Typedefs | |
typedef struct _tagImmHkl | ImmHkl |
typedef struct tagInputContextData | InputContextData |
typedef struct _tagTRANSMSG | TRANSMSG |
typedef struct _tagTRANSMSG * | LPTRANSMSG |
typedef struct _tagIMMThreadData | IMMThreadData |
Variables | |
static struct list | ImmHklList = LIST_INIT(ImmHklList) |
static struct list | ImmThreadDataList = LIST_INIT(ImmThreadDataList) |
static const WCHAR | szwWineIMCProperty [] = {'W','i','n','e','I','m','m','H','I','M','C','P','r','o','p','e','r','t','y',0} |
static const WCHAR | szImeFileW [] = {'I','m','e',' ','F','i','l','e',0} |
static const WCHAR | szLayoutTextW [] = {'L','a','y','o','u','t',' ','T','e','x','t',0} |
static const WCHAR | szImeRegFmt [] = {'S','y','s','t','e','m','\\','C','u','r','r','e','n','t','C','o','n','t','r','o','l','S','e','t','\\','C','o','n','t','r','o','l','\\','K','e','y','b','o','a','r','d',' ','L','a','y','o','u','t','s','\\','%','0','8','l','x',0} |
static const WCHAR | szwIME [] = {'I','M','E',0} |
static const WCHAR | szwDefaultIME [] = {'D','e','f','a','u','l','t',' ','I','M','E',0} |
static CRITICAL_SECTION | threaddata_cs = { &critsect_debug, -1, 0, 0, 0, 0 } |
static CRITICAL_SECTION_DEBUG | critsect_debug |
static BOOL | disable_ime |
typedef struct _tagImmHkl ImmHkl |
typedef struct _tagIMMThreadData IMMThreadData |
typedef struct _tagTRANSMSG * LPTRANSMSG |
typedef struct _tagTRANSMSG TRANSMSG |
Definition at line 1666 of file imm.c.
Definition at line 1719 of file imm.c.
|
static |
Definition at line 205 of file imm.c.
Referenced by ImmGetCandidateListW(), and ImmGetConversionListW().
|
static |
Definition at line 166 of file imm.c.
Referenced by ImmGetCandidateListA(), and ImmGetConversionListA().
|
static |
Definition at line 1251 of file imm.c.
Referenced by ImmGetCompositionStringT().
|
static |
Definition at line 1322 of file imm.c.
Referenced by ImmGetCompositionStringT().
|
static |
Definition at line 1377 of file imm.c.
Referenced by ImmGetCompositionStringT().
|
static |
Definition at line 1221 of file imm.c.
Referenced by ImmGetCompositionStringT().
Definition at line 517 of file imm.c.
Referenced by ImmAssociateContext(), ImmAssociateContextEx(), and ImmGetContext().
|
static |
Definition at line 502 of file imm.c.
Referenced by IMM_DestroyContext(), IMM_IsCrossThreadAccess(), IMM_IsDefaultContext(), ImmAssociateContext(), ImmGenerateMessage(), ImmGetCandidateListA(), ImmGetCandidateListCountA(), ImmGetCandidateListCountW(), ImmGetCandidateListW(), ImmGetCandidateWindow(), ImmGetCompositionFontW(), ImmGetCompositionStringT(), ImmGetCompositionWindow(), ImmGetConversionStatus(), ImmGetIMCLockCount(), ImmGetImeMenuItemsA(), ImmGetImeMenuItemsW(), ImmGetOpenStatus(), ImmGetStatusWindowPos(), ImmLockIMC(), ImmNotifyIME(), ImmRequestMessageA(), ImmRequestMessageW(), ImmSetCandidateWindow(), ImmSetCompositionFontA(), ImmSetCompositionFontW(), ImmSetCompositionStringA(), ImmSetCompositionStringW(), ImmSetCompositionWindow(), ImmSetConversionStatus(), ImmSetOpenStatus(), ImmSetStatusWindowPos(), and ImmUnlockIMC().
Definition at line 812 of file imm.c.
Referenced by get_default_context(), IMM_FreeThreadData(), ImmCreateContext(), and ImmDestroyContext().
Definition at line 414 of file imm.c.
Referenced by DllMain().
Definition at line 340 of file imm.c.
Referenced by __wine_get_ui_window(), ImmConfigureIMEA(), ImmConfigureIMEW(), ImmCreateContext(), ImmEnumRegisterWordA(), ImmEnumRegisterWordW(), ImmEscapeA(), ImmEscapeW(), ImmGetConversionListA(), ImmGetConversionListW(), ImmGetProperty(), ImmGetRegisterWordStyleA(), ImmGetRegisterWordStyleW(), ImmIsIME(), ImmProcessKey(), ImmRegisterWordA(), ImmRegisterWordW(), ImmUnregisterWordA(), and ImmUnregisterWordW().
|
static |
Definition at line 244 of file imm.c.
Referenced by __wine_register_window(), __wine_unregister_window(), get_default_context(), ImmDisableIME(), and ImmGetDefaultIMEWnd().
Definition at line 558 of file imm.c.
Referenced by ImmAssociateContext(), ImmDestroyContext(), ImmSetCandidateWindow(), ImmSetCompositionFontA(), ImmSetCompositionFontW(), ImmSetCompositionWindow(), ImmSetConversionStatus(), ImmSetOpenStatus(), and ImmSetStatusWindowPos().
Definition at line 577 of file imm.c.
Referenced by _ImmAssociateContextExEnumProc(), ActiveIMMApp_AssociateContext(), ImmAssociateContextEx(), test_ImmThreads(), and test_InvalidIMC().
Definition at line 649 of file imm.c.
Referenced by ActiveIMMApp_AssociateContextEx().
Definition at line 684 of file imm.c.
Referenced by ActiveIMMApp_ConfigureIMEA(), and test_ImmIME().
Definition at line 719 of file imm.c.
Referenced by ActiveIMMApp_ConfigureIMEW(), and test_ImmIME().
Definition at line 490 of file imm.c.
Referenced by ImmCreateContext().
Definition at line 754 of file imm.c.
Referenced by ActiveIMMApp_CreateContext(), get_default_context(), ImmGetContextThreadFunc(), test_ImmAssociateContextEx(), test_ImmDefaultHwnd(), test_ImmDestroyContext(), test_ImmGetIMCLockCount(), test_ImmNotifyIME(), and test_InvalidIMC().
Definition at line 2956 of file imm.c.
Referenced by ImmCreateBlankCompStr(), ImmCreateContext(), ImmGenerateMessage(), test_ImmDestroyIMCC(), and test_ImmGetIMCCLockCount().
Definition at line 840 of file imm.c.
Referenced by ActiveIMMApp_DestroyContext(), test_ImmDefaultHwnd(), test_ImmDestroyContext(), test_ImmGetIMCLockCount(), test_ImmNotifyIME(), test_ImmThreads(), and test_InvalidIMC().
Definition at line 2964 of file imm.c.
Referenced by IMM_DestroyContext(), ImmGenerateMessage(), test_ImmDestroyIMCC(), and test_ImmGetIMCCLockCount().
Definition at line 851 of file imm.c.
Referenced by ActiveIMMApp_DisableIME(), and test_default_ime_disabled_cb().
BOOL WINAPI ImmEnumInputContext | ( | DWORD | idThread, |
IMCENUMPROC | lpfn, | ||
LPARAM | lParam | ||
) |
UINT WINAPI ImmEnumRegisterWordA | ( | HKL | hKL, |
REGISTERWORDENUMPROCA | lpfnEnumProc, | ||
LPCSTR | lpszReading, | ||
DWORD | dwStyle, | ||
LPCSTR | lpszRegister, | ||
LPVOID | lpData | ||
) |
UINT WINAPI ImmEnumRegisterWordW | ( | HKL | hKL, |
REGISTERWORDENUMPROCW | lpfnEnumProc, | ||
LPCWSTR | lpszReading, | ||
DWORD | dwStyle, | ||
LPCWSTR | lpszRegister, | ||
LPVOID | lpData | ||
) |
Definition at line 3012 of file imm.c.
Referenced by ImmTranslateMessage(), test_ImmMessages(), and test_InvalidIMC().
DWORD WINAPI ImmGetCandidateListA | ( | HIMC | hIMC, |
DWORD | dwIndex, | ||
LPCANDIDATELIST | lpCandList, | ||
DWORD | dwBufLen | ||
) |
Definition at line 1016 of file imm.c.
Referenced by ActiveIMMApp_GetCandidateListA(), ImmGetCandidateListCountA(), and test_InvalidIMC().
Definition at line 1055 of file imm.c.
Referenced by ActiveIMMApp_GetCandidateListCountA(), ActiveIMMApp_GetCandidateListCountW(), and test_InvalidIMC().
Definition at line 1087 of file imm.c.
DWORD WINAPI ImmGetCandidateListW | ( | HIMC | hIMC, |
DWORD | dwIndex, | ||
LPCANDIDATELIST | lpCandList, | ||
DWORD | dwBufLen | ||
) |
Definition at line 1119 of file imm.c.
Referenced by ActiveIMMApp_GetCandidateListW(), and ImmGetCandidateListCountW().
BOOL WINAPI ImmGetCandidateWindow | ( | HIMC | hIMC, |
DWORD | dwIndex, | ||
LPCANDIDATEFORM | lpCandidate | ||
) |
Definition at line 1158 of file imm.c.
Referenced by ActiveIMMApp_GetCandidateWindow(), test_ImmThreads(), and test_InvalidIMC().
BOOL WINAPI ImmGetCompositionFontA | ( | HIMC | hIMC, |
LPLOGFONTA | lplf | ||
) |
Definition at line 1182 of file imm.c.
Referenced by ActiveIMMApp_GetCompositionFontA(), test_ImmThreads(), and test_InvalidIMC().
BOOL WINAPI ImmGetCompositionFontW | ( | HIMC | hIMC, |
LPLOGFONTW | lplf | ||
) |
Definition at line 1202 of file imm.c.
Referenced by ActiveIMMApp_GetCompositionFontW(), and ImmGetCompositionFontA().
Definition at line 1489 of file imm.c.
Referenced by ActiveIMMApp_GetCompositionStringA(), RealDefWindowProcA(), test_ImmGetCompositionString(), test_ImmNotifyIME(), and test_InvalidIMC().
|
static |
Definition at line 1395 of file imm.c.
Referenced by ImmGetCompositionStringA(), and ImmGetCompositionStringW().
Definition at line 1499 of file imm.c.
Referenced by ActiveIMMApp_GetCompositionStringW(), EDIT_GetCompositionStr(), EDIT_GetResultStr(), EDIT_ImeComposition(), ME_HandleMessage(), RealDefWindowProcW(), test_ime_wnd_proc(), and test_ImmGetCompositionString().
BOOL WINAPI ImmGetCompositionWindow | ( | HIMC | hIMC, |
LPCOMPOSITIONFORM | lpCompForm | ||
) |
Definition at line 1509 of file imm.c.
Referenced by ActiveIMMApp_GetCompositionWindow(), test_ImmThreads(), and test_InvalidIMC().
Definition at line 1526 of file imm.c.
Referenced by ActiveIMMApp_GetContext(), EDIT_ImeComposition(), ImmGetContextThreadFunc(), ImmGetVirtualKey(), ImmProcessKey(), ImmTranslateMessage(), init(), ITextHostImpl_TxImmGetContext(), RealDefWindowProcA(), RealDefWindowProcW(), test_ime_processkey(), test_ime_wnd_proc(), test_ImmAssociateContextEx(), test_ImmDefaultHwnd(), test_ImmGetCompositionString(), test_ImmGetContext(), test_ImmIME(), test_ImmMessages(), test_ImmNotifyIME(), test_ImmSetCompositionString(), test_ImmThreads(), and test_InvalidIMC().
DWORD WINAPI ImmGetConversionListA | ( | HKL | hKL, |
HIMC | hIMC, | ||
LPCSTR | pSrc, | ||
LPCANDIDATELIST | lpDst, | ||
DWORD | dwBufLen, | ||
UINT | uFlag | ||
) |
Definition at line 1558 of file imm.c.
Referenced by ActiveIMMApp_GetConversionListA().
DWORD WINAPI ImmGetConversionListW | ( | HKL | hKL, |
HIMC | hIMC, | ||
LPCWSTR | pSrc, | ||
LPCANDIDATELIST | lpDst, | ||
DWORD | dwBufLen, | ||
UINT | uFlag | ||
) |
Definition at line 1596 of file imm.c.
Referenced by ActiveIMMApp_GetConversionListW().
Definition at line 1634 of file imm.c.
Referenced by ActiveIMMApp_GetConversionStatus(), and test_ImmThreads().
Definition at line 1746 of file imm.c.
Referenced by ActiveIMMApp_GetDefaultIMEWnd(), RealDefWindowProcA(), RealDefWindowProcW(), test_default_ime_disabled_cb(), test_default_ime_window_cancel_cb(), test_default_ime_window_cb(), test_default_ime_with_message_only_window_cb(), test_ime_wnd_proc(), test_ImmDefaultHwnd(), test_ImmGetDefaultIMEWnd_thread(), and test_ImmMessages().
Definition at line 1761 of file imm.c.
Referenced by ActiveIMMApp_GetDescriptionA(), and test_ImmGetDescription().
Definition at line 1797 of file imm.c.
Referenced by ActiveIMMApp_GetDescriptionW(), ImmGetDescriptionA(), and test_ImmGetDescription().
Definition at line 1812 of file imm.c.
Referenced by ActiveIMMApp_GetGuideLineA().
Definition at line 1825 of file imm.c.
Referenced by ActiveIMMApp_GetGuideLineW().
Definition at line 2988 of file imm.c.
Referenced by test_ImmDestroyIMCC(), and test_ImmGetIMCCLockCount().
Definition at line 2945 of file imm.c.
Referenced by test_ImmDestroyContext(), and test_ImmGetIMCLockCount().
Definition at line 1837 of file imm.c.
Referenced by ActiveIMMApp_GetIMEFileNameA().
Definition at line 1870 of file imm.c.
Referenced by ActiveIMMApp_GetIMEFileNameW(), IMM_GetImmHkl(), and ImmGetIMEFileNameA().
DWORD WINAPI ImmGetImeMenuItemsA | ( | HIMC | hIMC, |
DWORD | dwFlags, | ||
DWORD | dwType, | ||
LPIMEMENUITEMINFOA | lpImeParentMenu, | ||
LPIMEMENUITEMINFOA | lpImeMenu, | ||
DWORD | dwSize | ||
) |
Definition at line 2778 of file imm.c.
Referenced by ActiveIMMApp_GetImeMenuItemsA(), and test_InvalidIMC().
DWORD WINAPI ImmGetImeMenuItemsW | ( | HIMC | hIMC, |
DWORD | dwFlags, | ||
DWORD | dwType, | ||
LPIMEMENUITEMINFOW | lpImeParentMenu, | ||
LPIMEMENUITEMINFOW | lpImeMenu, | ||
DWORD | dwSize | ||
) |
Definition at line 2849 of file imm.c.
Referenced by ActiveIMMApp_GetImeMenuItemsW().
Definition at line 1916 of file imm.c.
Referenced by ActiveIMMApp_GetOpenStatus(), test_ImmThreads(), and test_InvalidIMC().