ReactOS  0.4.15-dev-3163-gf17c2c0
imm.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tagREGISTERWORDA
 
struct  tagREGISTERWORDW
 
struct  tagCANDIDATEFORM
 
struct  tagCANDIDATELIST
 
struct  tagSTYLEBUFA
 
struct  tagSTYLEBUFW
 
struct  tagRECONVERTSTRING
 
struct  tagIMEMENUITEMINFOA
 
struct  tagIMEMENUITEMINFOW
 
struct  tagIMECHARPOSITION
 
struct  _tagCOMPOSITIONFORM
 
struct  _tagIMEINFO
 
struct  tagCOMPOSITIONSTRING
 
struct  tagGUIDELINE
 
struct  tagCANDIDATEINFO
 

Macros

#define IMEMENUITEM_STRING_SIZE   80
 
#define IMMGWL_IMC   0
 
#define IMMGWL_PRIVATE   (sizeof(LONG))
 
#define IME_PROP_END_UNLOAD   0x0001
 
#define IME_PROP_KBD_CHAR_FIRST   0x0002
 
#define IME_PROP_IGNORE_UPKEYS   0x0004
 
#define IME_PROP_NEED_ALTKEY   0x0008
 
#define IME_PROP_NO_KEYS_ON_CLOSE   0x0010
 
#define IME_PROP_ACCEPT_WIDE_VKEY   0x0020
 
#define IMC_SETCONVERSIONMODE   0x0002
 
#define IMC_SETSENTENCEMODE   0x0004
 
#define IMC_SETOPENSTATUS   0x0006
 
#define NI_CONTEXTUPDATED   0x0003
 
#define NI_OPENCANDIDATE   0x0010
 
#define NI_CLOSECANDIDATE   0x0011
 
#define NI_SELECTCANDIDATESTR   0x0012
 
#define NI_CHANGECANDIDATELIST   0x0013
 
#define NI_FINALIZECONVERSIONRESULT   0x0014
 
#define NI_COMPOSITIONSTR   0x0015
 
#define NI_SETCANDIDATE_PAGESTART   0x0016
 
#define NI_SETCANDIDATE_PAGESIZE   0x0017
 
#define NI_IMEMENUSELECTED   0x0018
 
#define ImmRequestMessage   WINELIB_NAME_AW(ImmRequestMessage);
 
#define IMC_GETCANDIDATEPOS   0x0007
 
#define IMC_SETCANDIDATEPOS   0x0008
 
#define IMC_GETCOMPOSITIONFONT   0x0009
 
#define IMC_SETCOMPOSITIONFONT   0x000A
 
#define IMC_GETCOMPOSITIONWINDOW   0x000B
 
#define IMC_SETCOMPOSITIONWINDOW   0x000C
 
#define IMC_GETSTATUSWINDOWPOS   0x000F
 
#define IMC_SETSTATUSWINDOWPOS   0x0010
 
#define IMC_CLOSESTATUSWINDOW   0x0021
 
#define IMC_OPENSTATUSWINDOW   0x0022
 
#define NI_OPENCANDIDATE   0x0010
 
#define NI_CLOSECANDIDATE   0x0011
 
#define NI_SELECTCANDIDATESTR   0x0012
 
#define NI_CHANGECANDIDATELIST   0x0013
 
#define NI_FINALIZECONVERSIONRESULT   0x0014
 
#define NI_COMPOSITIONSTR   0x0015
 
#define NI_SETCANDIDATE_PAGESTART   0x0016
 
#define NI_SETCANDIDATE_PAGESIZE   0x0017
 
#define NI_IMEMENUSELECTED   0x0018
 
#define ISC_SHOWUICANDIDATEWINDOW   0x00000001
 
#define ISC_SHOWUICOMPOSITIONWINDOW   0x80000000
 
#define ISC_SHOWUIGUIDELINE   0x40000000
 
#define ISC_SHOWUIALLCANDIDATEWINDOW   0x0000000F
 
#define ISC_SHOWUIALL   0xC000000F
 
#define CPS_COMPLETE   0x0001
 
#define CPS_CONVERT   0x0002
 
#define CPS_REVERT   0x0003
 
#define CPS_CANCEL   0x0004
 
#define MOD_ALT   0x0001
 
#define MOD_CONTROL   0x0002
 
#define MOD_SHIFT   0x0004
 
#define MOD_LEFT   0x8000
 
#define MOD_RIGHT   0x4000
 
#define MOD_ON_KEYUP   0x0800
 
#define MOD_IGNORE_ALL_MODIFIER   0x0400
 
#define IME_CHOTKEY_IME_NONIME_TOGGLE   0x10
 
#define IME_CHOTKEY_SHAPE_TOGGLE   0x11
 
#define IME_CHOTKEY_SYMBOL_TOGGLE   0x12
 
#define IME_JHOTKEY_CLOSE_OPEN   0x30
 
#define IME_KHOTKEY_SHAPE_TOGGLE   0x50
 
#define IME_KHOTKEY_HANJACONVERT   0x51
 
#define IME_KHOTKEY_ENGLISH   0x52
 
#define IME_THOTKEY_IME_NONIME_TOGGLE   0x70
 
#define IME_THOTKEY_SHAPE_TOGGLE   0x71
 
#define IME_THOTKEY_SYMBOL_TOGGLE   0x72
 
#define IME_HOTKEY_DSWITCH_FIRST   0x100
 
#define IME_HOTKEY_DSWITCH_LAST   0x11F
 
#define IME_HOTKEY_PRIVATE_FIRST   0x200
 
#define IME_ITHOTKEY_RESEND_RESULTSTR   0x200
 
#define IME_ITHOTKEY_PREVIOUS_COMPOSITION   0x201
 
#define IME_ITHOTKEY_UISTYLE_TOGGLE   0x202
 
#define IME_ITHOTKEY_RECONVERTSTRING   0x203
 
#define IME_HOTKEY_PRIVATE_LAST   0x21F
 
#define GCS_COMPREADSTR   0x0001
 
#define GCS_COMPREADATTR   0x0002
 
#define GCS_COMPREADCLAUSE   0x0004
 
#define GCS_COMPSTR   0x0008
 
#define GCS_COMPATTR   0x0010
 
#define GCS_COMPCLAUSE   0x0020
 
#define GCS_CURSORPOS   0x0080
 
#define GCS_DELTASTART   0x0100
 
#define GCS_RESULTREADSTR   0x0200
 
#define GCS_RESULTREADCLAUSE   0x0400
 
#define GCS_RESULTSTR   0x0800
 
#define GCS_RESULTCLAUSE   0x1000
 
#define CS_INSERTCHAR   0x2000
 
#define CS_NOMOVECARET   0x4000
 
#define IMEVER_0310   0x0003000A
 
#define IMEVER_0400   0x00040000
 
#define IME_PROP_AT_CARET   0x00010000
 
#define IME_PROP_SPECIAL_UI   0x00020000
 
#define IME_PROP_CANDLIST_START_FROM_1   0x00040000
 
#define IME_PROP_UNICODE   0x00080000
 
#define IME_PROP_COMPLETE_ON_UNSELECT   0x00100000
 
#define UI_CAP_2700   0x00000001
 
#define UI_CAP_ROT90   0x00000002
 
#define UI_CAP_ROTANY   0x00000004
 
#define UI_CAP_SOFTKBD   0x00010000
 
#define SCS_CAP_COMPSTR   0x00000001
 
#define SCS_CAP_MAKEREAD   0x00000002
 
#define SCS_CAP_SETRECONVERTSTRING   0x00000004
 
#define SELECT_CAP_CONVERSION   0x00000001
 
#define SELECT_CAP_SENTENCE   0x00000002
 
#define GGL_LEVEL   0x00000001
 
#define GGL_INDEX   0x00000002
 
#define GGL_STRING   0x00000003
 
#define GGL_PRIVATE   0x00000004
 
#define GL_LEVEL_NOGUIDELINE   0x00000000
 
#define GL_LEVEL_FATAL   0x00000001
 
#define GL_LEVEL_ERROR   0x00000002
 
#define GL_LEVEL_WARNING   0x00000003
 
#define GL_LEVEL_INFORMATION   0x00000004
 
#define GL_ID_UNKNOWN   0x00000000
 
#define GL_ID_NOMODULE   0x00000001
 
#define GL_ID_NODICTIONARY   0x00000010
 
#define GL_ID_CANNOTSAVE   0x00000011
 
#define GL_ID_NOCONVERT   0x00000020
 
#define GL_ID_TYPINGERROR   0x00000021
 
#define GL_ID_TOOMANYSTROKE   0x00000022
 
#define GL_ID_READINGCONFLICT   0x00000023
 
#define GL_ID_INPUTREADING   0x00000024
 
#define GL_ID_INPUTRADICAL   0x00000025
 
#define GL_ID_INPUTCODE   0x00000026
 
#define GL_ID_INPUTSYMBOL   0x00000027
 
#define GL_ID_CHOOSECANDIDATE   0x00000028
 
#define GL_ID_REVERSECONVERSION   0x00000029
 
#define GL_ID_PRIVATE_FIRST   0x00008000
 
#define GL_ID_PRIVATE_LAST   0x0000FFFF
 
#define IGP_GETIMEVERSION   (DWORD)(-4)
 
#define IGP_PROPERTY   0x00000004
 
#define IGP_CONVERSION   0x00000008
 
#define IGP_SENTENCE   0x0000000c
 
#define IGP_UI   0x00000010
 
#define IGP_SETCOMPSTR   0x00000014
 
#define IGP_SELECT   0x00000018
 
#define SCS_SETSTR   (GCS_COMPREADSTR|GCS_COMPSTR)
 
#define SCS_CHANGEATTR   (GCS_COMPREADATTR|GCS_COMPATTR)
 
#define SCS_CHANGECLAUSE   (GCS_COMPREADCLAUSE|GCS_COMPCLAUSE)
 
#define SCS_SETRECONVERTSTRING   0x00010000
 
#define SCS_QUERYRECONVERTSTRING   0x00020000
 
#define ATTR_INPUT   0x00
 
#define ATTR_TARGET_CONVERTED   0x01
 
#define ATTR_CONVERTED   0x02
 
#define ATTR_TARGET_NOTCONVERTED   0x03
 
#define ATTR_INPUT_ERROR   0x04
 
#define ATTR_FIXEDCONVERTED   0x05
 
#define CFS_DEFAULT   0x0000
 
#define CFS_RECT   0x0001
 
#define CFS_POINT   0x0002
 
#define CFS_FORCE_POSITION   0x0020
 
#define CFS_CANDIDATEPOS   0x0040
 
#define CFS_EXCLUDE   0x0080
 
#define GCL_CONVERSION   0x0001
 
#define GCL_REVERSECONVERSION   0x0002
 
#define GCL_REVERSE_LENGTH   0x0003
 
#define IME_CMODE_ALPHANUMERIC   0x0000
 
#define IME_CMODE_NATIVE   0x0001
 
#define IME_CMODE_CHINESE   IME_CMODE_NATIVE
 
#define IME_CMODE_HANGEUL   IME_CMODE_NATIVE
 
#define IME_CMODE_HANGUL   IME_CMODE_NATIVE
 
#define IME_CMODE_JAPANESE   IME_CMODE_NATIVE
 
#define IME_CMODE_KATAKANA   0x0002 /* only effect under IME_CMODE_NATIVE */
 
#define IME_CMODE_LANGUAGE   0x0003
 
#define IME_CMODE_FULLSHAPE   0x0008
 
#define IME_CMODE_ROMAN   0x0010
 
#define IME_CMODE_CHARCODE   0x0020
 
#define IME_CMODE_HANJACONVERT   0x0040
 
#define IME_CMODE_SOFTKBD   0x0080
 
#define IME_CMODE_NOCONVERSION   0x0100
 
#define IME_CMODE_EUDC   0x0200
 
#define IME_CMODE_SYMBOL   0x0400
 
#define IME_CMODE_FIXED   0x0800
 
#define IME_SMODE_NONE   0x0000
 
#define IME_SMODE_PLAURALCLAUSE   0x0001
 
#define IME_SMODE_SINGLECONVERT   0x0002
 
#define IME_SMODE_AUTOMATIC   0x0004
 
#define IME_SMODE_PHRASEPREDICT   0x0008
 
#define IME_SMODE_CONVERSATION   0x0010
 
#define IME_CAND_UNKNOWN   0x0000
 
#define IME_CAND_READ   0x0001
 
#define IME_CAND_CODE   0x0002
 
#define IME_CAND_MEANING   0x0003
 
#define IME_CAND_RADICAL   0x0004
 
#define IME_CAND_STROKE   0x0005
 
#define IMN_CLOSESTATUSWINDOW   0x0001
 
#define IMN_OPENSTATUSWINDOW   0x0002
 
#define IMN_CHANGECANDIDATE   0x0003
 
#define IMN_CLOSECANDIDATE   0x0004
 
#define IMN_OPENCANDIDATE   0x0005
 
#define IMN_SETCONVERSIONMODE   0x0006
 
#define IMN_SETSENTENCEMODE   0x0007
 
#define IMN_SETOPENSTATUS   0x0008
 
#define IMN_SETCANDIDATEPOS   0x0009
 
#define IMN_SETCOMPOSITIONFONT   0x000A
 
#define IMN_SETCOMPOSITIONWINDOW   0x000B
 
#define IMN_SETSTATUSWINDOWPOS   0x000C
 
#define IMN_GUIDELINE   0x000D
 
#define IMN_PRIVATE   0x000E
 
#define IMR_COMPOSITIONWINDOW   0x0001
 
#define IMR_CANDIDATEWINDOW   0x0002
 
#define IMR_COMPOSITIONFONT   0x0003
 
#define IMR_RECONVERTSTRING   0x0004
 
#define IMR_CONFIRMRECONVERTSTRING   0x0005
 
#define IMR_QUERYCHARPOSITION   0x0006
 
#define IMR_DOCUMENTFEED   0x0007
 
#define IMM_ERROR_NODATA   (-1)
 
#define IMM_ERROR_GENERAL   (-2)
 
#define IME_CONFIG_GENERAL   1
 
#define IME_CONFIG_REGISTERWORD   2
 
#define IME_CONFIG_SELECTDICTIONARY   3
 
#define IME_ESC_QUERY_SUPPORT   0x0003
 
#define IME_ESC_RESERVED_FIRST   0x0004
 
#define IME_ESC_RESERVED_LAST   0x07FF
 
#define IME_ESC_PRIVATE_FIRST   0x0800
 
#define IME_ESC_PRIVATE_LAST   0x0FFF
 
#define IME_ESC_SEQUENCE_TO_INTERNAL   0x1001
 
#define IME_ESC_GET_EUDC_DICTIONARY   0x1003
 
#define IME_ESC_SET_EUDC_DICTIONARY   0x1004
 
#define IME_ESC_MAX_KEY   0x1005
 
#define IME_ESC_IME_NAME   0x1006
 
#define IME_ESC_SYNC_HOTKEY   0x1007
 
#define IME_ESC_HANJA_MODE   0x1008
 
#define IME_ESC_AUTOMATA   0x1009
 
#define IME_ESC_PRIVATE_HOTKEY   0x100a
 
#define IME_ESC_GETHELPFILENAME   0x100b
 
#define IME_REGWORD_STYLE_EUDC   0x00000001
 
#define IME_REGWORD_STYLE_USER_FIRST   0x80000000
 
#define IME_REGWORD_STYLE_USER_LAST   0xFFFFFFFF
 
#define IACE_CHILDREN   0x0001
 
#define IACE_DEFAULT   0x0010
 
#define IACE_IGNORENOCONTEXT   0x0020
 
#define IGIMIF_RIGHTMENU   0x0001
 
#define IGIMII_CMODE   0x0001
 
#define IGIMII_SMODE   0x0002
 
#define IGIMII_CONFIGURE   0x0004
 
#define IGIMII_TOOLS   0x0008
 
#define IGIMII_HELP   0x0010
 
#define IGIMII_OTHER   0x0020
 
#define IGIMII_INPUTTOOLS   0x0040
 
#define IMFT_RADIOCHECK   0x00001
 
#define IMFT_SEPARATOR   0x00002
 
#define IMFT_SUBMENU   0x00004
 
#define IMFS_GRAYED   MFS_GRAYED
 
#define IMFS_DISABLED   MFS_DISABLED
 
#define IMFS_CHECKED   MFS_CHECKED
 
#define IMFS_HILITE   MFS_HILITE
 
#define IMFS_ENABLED   MFS_ENABLED
 
#define IMFS_UNCHECKED   MFS_UNCHECKED
 
#define IMFS_UNHILITE   MFS_UNHILITE
 
#define IMFS_DEFAULT   MFS_DEFAULT
 
#define SOFTKEYBOARD_TYPE_T1   0x0001
 
#define SOFTKEYBOARD_TYPE_C1   0x0002
 
#define ImmConfigureIME   WINELIB_NAME_AW(ImmConfigureIME)
 
#define ImmEnumRegisterWord   WINELIB_NAME_AW(ImmEnumRegisterWord)
 
#define ImmEscape   WINELIB_NAME_AW(ImmEscape)
 
#define ImmGetCandidateList   WINELIB_NAME_AW(ImmGetCandidateList)
 
#define ImmGetCandidateListCount   WINELIB_NAME_AW(ImmGetCandidateListCount)
 
#define ImmGetCompositionString   WINELIB_NAME_AW(ImmGetCompositionString)
 
#define ImmGetConversionList   WINELIB_NAME_AW(ImmGetConversionList)
 
#define ImmGetDescription   WINELIB_NAME_AW(ImmGetDescription)
 
#define ImmGetGuideLine   WINELIB_NAME_AW(ImmGetGuideLine)
 
#define ImmGetIMEFileName   WINELIB_NAME_AW(ImmGetIMEFileName)
 
#define ImmGetImeMenuItems   WINELIB_NAME_AW(ImmGetImeMenuItems)
 
#define ImmGetRegisterWordStyle   WINELIB_NAME_AW(ImmGetRegisterWordStyle)
 
#define ImmInstallIME   WINELIB_NAME_AW(ImmInstallIME)
 
#define ImmIsUIMessage   WINELIB_NAME_AW(ImmIsUIMessage)
 
#define ImmRegisterWord   WINELIB_NAME_AW(ImmRegisterWord)
 
#define ImmSetCompositionString   WINELIB_NAME_AW(ImmSetCompositionString)
 
#define ImmUnregisterWord   WINELIB_NAME_AW(ImmUnregisterWord)
 

Typedefs

typedef HANDLE HIMC
 
typedef HANDLE HIMCC
 
typedef struct tagREGISTERWORDA REGISTERWORDA
 
typedef struct tagREGISTERWORDAPREGISTERWORDA
 
typedef struct tagREGISTERWORDANPREGISTERWORDA
 
typedef struct tagREGISTERWORDALPREGISTERWORDA
 
typedef struct tagREGISTERWORDW REGISTERWORDW
 
typedef struct tagREGISTERWORDWPREGISTERWORDW
 
typedef struct tagREGISTERWORDWNPREGISTERWORDW
 
typedef struct tagREGISTERWORDWLPREGISTERWORDW
 
typedef int(CALLBACKREGISTERWORDENUMPROCA) (_In_ LPCSTR, _In_ DWORD, _In_ LPCSTR, _In_ LPVOID)
 
typedef int(CALLBACKREGISTERWORDENUMPROCW) (_In_ LPCWSTR, _In_ DWORD, _In_ LPCWSTR, _In_ LPVOID)
 
typedef struct tagCANDIDATEFORM CANDIDATEFORM
 
typedef struct tagCANDIDATEFORMLPCANDIDATEFORM
 
typedef struct tagCANDIDATELIST CANDIDATELIST
 
typedef struct tagCANDIDATELISTLPCANDIDATELIST
 
typedef struct tagSTYLEBUFA STYLEBUFA
 
typedef struct tagSTYLEBUFALPSTYLEBUFA
 
typedef struct tagSTYLEBUFW STYLEBUFW
 
typedef struct tagSTYLEBUFWLPSTYLEBUFW
 
typedef struct tagRECONVERTSTRING RECONVERTSTRING
 
typedef struct tagRECONVERTSTRINGLPRECONVERTSTRING
 
typedef struct tagIMEMENUITEMINFOA IMEMENUITEMINFOA
 
typedef struct tagIMEMENUITEMINFOALPIMEMENUITEMINFOA
 
typedef struct tagIMEMENUITEMINFOW IMEMENUITEMINFOW
 
typedef struct tagIMEMENUITEMINFOWLPIMEMENUITEMINFOW
 
typedef struct tagIMECHARPOSITION IMECHARPOSITION
 
typedef struct tagIMECHARPOSITIONPIMECHARPOSITION
 
typedef struct tagIMECHARPOSITIONNPIMECHARPOSITION
 
typedef struct tagIMECHARPOSITIONLPIMECHARPOSITION
 
typedef BOOL(CALLBACKIMCENUMPROC) (HIMC, LPARAM)
 
typedef struct _tagCOMPOSITIONFORM COMPOSITIONFORM
 
typedef struct _tagCOMPOSITIONFORMLPCOMPOSITIONFORM
 
typedef struct _tagIMEINFO IMEINFO
 
typedef struct _tagIMEINFOLPIMEINFO
 
typedef struct tagCOMPOSITIONSTRING COMPOSITIONSTRING
 
typedef struct tagCOMPOSITIONSTRINGLPCOMPOSITIONSTRING
 
typedef struct tagGUIDELINE GUIDELINE
 
typedef struct tagGUIDELINELPGUIDELINE
 
typedef struct tagCANDIDATEINFO CANDIDATEINFO
 
typedef struct tagCANDIDATEINFOLPCANDIDATEINFO
 

Functions

BOOL WINAPI ImmUnlockIMC (HIMC)
 
DWORD WINAPI ImmGetIMCLockCount (HIMC)
 
HIMCC WINAPI ImmCreateIMCC (DWORD)
 
HIMCC WINAPI ImmDestroyIMCC (HIMCC)
 
LPVOID WINAPI ImmLockIMCC (HIMCC)
 
BOOL WINAPI ImmUnlockIMCC (HIMCC)
 
DWORD WINAPI ImmGetIMCCLockCount (HIMCC)
 
HIMCC WINAPI ImmReSizeIMCC (HIMCC, DWORD)
 
DWORD WINAPI ImmGetIMCCSize (HIMCC)
 
BOOL WINAPI ImmGenerateMessage (HIMC)
 
LRESULT WINAPI ImmRequestMessageA (HIMC, WPARAM, LPARAM)
 
LRESULT WINAPI ImmRequestMessageW (HIMC, WPARAM, LPARAM)
 
BOOL WINAPI ImmTranslateMessage (HWND, UINT, WPARAM, LPARAM)
 
HWND WINAPI ImmCreateSoftKeyboard (UINT, UINT, int, int)
 
BOOL WINAPI ImmDestroySoftKeyboard (HWND)
 
BOOL WINAPI ImmShowSoftKeyboard (HWND, int)
 
BOOL WINAPI ImeInquire (LPIMEINFO, LPWSTR, LPCWSTR lpszOptions)
 
BOOL WINAPI ImeConfigure (HKL, HWND, DWORD, LPVOID)
 
DWORD WINAPI ImeConversionList (HIMC, LPCWSTR, LPCANDIDATELIST, DWORD, UINT)
 
BOOL WINAPI ImeDestroy (UINT)
 
LRESULT WINAPI ImeEscape (HIMC, UINT, LPVOID)
 
BOOL WINAPI ImeProcessKey (HIMC, UINT, LPARAM, CONST LPBYTE)
 
BOOL WINAPI ImeSelect (HIMC, BOOL)
 
BOOL WINAPI ImeSetActiveContext (HIMC, BOOL)
 
UINT WINAPI ImeToAsciiEx (UINT, UINT, CONST LPBYTE, LPDWORD, UINT, HIMC)
 
BOOL WINAPI NotifyIME (HIMC, DWORD, DWORD, DWORD)
 
BOOL WINAPI ImeRegisterWord (LPCWSTR, DWORD, LPCWSTR)
 
BOOL WINAPI ImeUnregisterWord (LPCWSTR, DWORD, LPCWSTR)
 
UINT WINAPI ImeGetRegisterWordStyle (UINT, LPSTYLEBUFW)
 
UINT WINAPI ImeEnumRegisterWord (REGISTERWORDENUMPROCW, LPCWSTR, DWORD, LPCWSTR, LPVOID)
 
BOOL WINAPI ImeSetCompositionString (HIMC, DWORD, LPCVOID, DWORD, LPCVOID, DWORD)
 
DWORD WINAPI ImeGetImeMenuItems (HIMC, DWORD, DWORD, LPIMEMENUITEMINFOW, LPIMEMENUITEMINFOW, DWORD)
 
HIMC WINAPI ImmAssociateContext (_In_ HWND, _In_ HIMC)
 
BOOL WINAPI ImmAssociateContextEx (_In_ HWND, _In_ HIMC, _In_ DWORD)
 
BOOL WINAPI ImmConfigureIMEA (_In_ HKL, _In_ HWND, _In_ DWORD, _In_ LPVOID)
 
BOOL WINAPI ImmConfigureIMEW (_In_ HKL, _In_ HWND, _In_ DWORD, _In_ LPVOID)
 
HIMC WINAPI ImmCreateContext (void)
 
BOOL WINAPI ImmDestroyContext (_In_ HIMC hIMC)
 
BOOL WINAPI ImmDisableIME (_In_ DWORD idThread)
 
BOOL WINAPI ImmEnumInputContext (_In_ DWORD, _In_ IMCENUMPROC, _In_ LPARAM)
 
UINT WINAPI ImmEnumRegisterWordA (_In_ HKL, _In_ REGISTERWORDENUMPROCA, _In_opt_ LPCSTR lpszReading, _In_ DWORD, _In_opt_ LPCSTR lpszRegister, _In_ LPVOID)
 
UINT WINAPI ImmEnumRegisterWordW (_In_ HKL, _In_ REGISTERWORDENUMPROCW, _In_opt_ LPCWSTR lpszReading, _In_ DWORD, _In_opt_ LPCWSTR lpszRegister, _In_ LPVOID)
 
LRESULT WINAPI ImmEscapeA (_In_ HKL, _In_ HIMC, _In_ UINT, _In_ LPVOID)
 
LRESULT WINAPI ImmEscapeW (_In_ HKL, _In_ HIMC, _In_ UINT, _In_ LPVOID)
 
DWORD WINAPI ImmGetCandidateListA (_In_ HIMC, _In_ DWORD deIndex, _Out_writes_bytes_opt_(dwBufLen) LPCANDIDATELIST lpCandList, _In_ DWORD dwBufLen)
 
DWORD WINAPI ImmGetCandidateListW (_In_ HIMC, _In_ DWORD deIndex, _Out_writes_bytes_opt_(dwBufLen) LPCANDIDATELIST lpCandList, _In_ DWORD dwBufLen)
 
DWORD WINAPI ImmGetCandidateListCountA (_In_ HIMC, _Out_ LPDWORD)
 
DWORD WINAPI ImmGetCandidateListCountW (_In_ HIMC, _Out_ LPDWORD)
 
BOOL WINAPI ImmGetCandidateWindow (_In_ HIMC, _In_ DWORD, _Out_ LPCANDIDATEFORM lpCandidate)
 
LONG WINAPI ImmGetCompositionStringA (_In_ HIMC, _In_ DWORD, _Out_writes_bytes_opt_(dwBufLen) LPVOID lpBuf, _In_ DWORD dwBufLen)
 
LONG WINAPI ImmGetCompositionStringW (_In_ HIMC, _In_ DWORD, _Out_writes_bytes_opt_(dwBufLen) LPVOID lpBuf, _In_ DWORD dwBufLen)
 
BOOL WINAPI ImmGetCompositionWindow (_In_ HIMC, _Out_ LPCOMPOSITIONFORM)
 
HIMC WINAPI ImmGetContext (_In_ HWND)
 
DWORD WINAPI ImmGetConversionListA (_In_ HKL, _In_ HIMC, _In_ LPCSTR lpSrc, _Out_writes_bytes_(dwBufLen) LPCANDIDATELIST lpDst, _In_ DWORD dwBufLen, _In_ UINT uFlag)
 
DWORD WINAPI ImmGetConversionListW (_In_ HKL, _In_ HIMC, _In_ LPCWSTR lpSrc, _Out_writes_bytes_(dwBufLen) LPCANDIDATELIST lpDst, _In_ DWORD dwBufLen, _In_ UINT uFlag)
 
BOOL WINAPI ImmGetConversionStatus (_In_ HIMC, _Out_opt_ LPDWORD lpfdwConversion, _Out_opt_ LPDWORD lpfdwSentence)
 
HWND WINAPI ImmGetDefaultIMEWnd (_In_ HWND)
 
UINT WINAPI ImmGetDescriptionA (_In_ HKL, _Out_writes_opt_(uBufLen) LPSTR lpszDescription, _In_ UINT uBufLen)
 
UINT WINAPI ImmGetDescriptionW (_In_ HKL, _Out_writes_opt_(uBufLen) LPWSTR lpszDescription, _In_ UINT uBufLen)
 
DWORD WINAPI ImmGetGuideLineA (_In_ HIMC, _In_ DWORD dwIndex, _Out_writes_bytes_opt_(dwBufLen) LPSTR lpBuf, _In_ DWORD dwBufLen)
 
DWORD WINAPI ImmGetGuideLineW (_In_ HIMC, _In_ DWORD dwIndex, _Out_writes_bytes_opt_(dwBufLen) LPWSTR lpBuf, _In_ DWORD dwBufLen)
 
UINT WINAPI ImmGetIMEFileNameA (_In_ HKL, _Out_writes_opt_(uBufLen) LPSTR lpszFileName, _In_ UINT uBufLen)
 
UINT WINAPI ImmGetIMEFileNameW (_In_ HKL, _Out_writes_opt_(uBufLen) LPWSTR lpszFileName, _In_ UINT uBufLen)
 
DWORD WINAPI ImmGetImeMenuItemsA (_In_ HIMC, _In_ DWORD, _In_ DWORD, _Out_opt_ LPIMEMENUITEMINFOA lpImeParentMenu, _Out_writes_bytes_opt_(dwSize) LPIMEMENUITEMINFOA lpImeMenu, _In_ DWORD dwSize)
 
DWORD WINAPI ImmGetImeMenuItemsW (_In_ HIMC, _In_ DWORD, _In_ DWORD, _Out_opt_ LPIMEMENUITEMINFOW lpImeParentMenu, _Out_writes_bytes_opt_(dwSize) LPIMEMENUITEMINFOW lpImeMenu, _In_ DWORD dwSize)
 
BOOL WINAPI ImmGetOpenStatus (_In_ HIMC)
 
DWORD WINAPI ImmGetProperty (_In_ HKL, _In_ DWORD)
 
UINT WINAPI ImmGetRegisterWordStyleA (_In_ HKL, _In_ UINT nItem, _Out_writes_(nItem) LPSTYLEBUFA lpStyleBuf)
 
UINT WINAPI ImmGetRegisterWordStyleW (_In_ HKL, _In_ UINT nItem, _Out_writes_(nItem) LPSTYLEBUFW lpStyleBuf)
 
BOOL WINAPI ImmGetStatusWindowPos (_In_ HIMC, _Out_ LPPOINT)
 
UINT WINAPI ImmGetVirtualKey (_In_ HWND)
 
HKL WINAPI ImmInstallIMEA (_In_ LPCSTR, _In_ LPCSTR)
 
HKL WINAPI ImmInstallIMEW (_In_ LPCWSTR, _In_ LPCWSTR)
 
BOOL WINAPI ImmIsIME (_In_ HKL)
 
BOOL WINAPI ImmIsUIMessageA (_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
 
BOOL WINAPI ImmIsUIMessageW (_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
 
BOOL WINAPI ImmNotifyIME (_In_ HIMC, _In_ DWORD, _In_ DWORD, _In_ DWORD)
 
DWORD WINAPI ImmProcessKey (HWND, HKL, UINT, LPARAM, DWORD)
 
BOOL WINAPI ImmRegisterWordA (_In_ HKL, _In_ LPCSTR lpszReading, _In_ DWORD, _In_ LPCSTR lpszRegister)
 
BOOL WINAPI ImmRegisterWordW (_In_ HKL, _In_ LPCWSTR lpszReading, _In_ DWORD, _In_ LPCWSTR lpszRegister)
 
BOOL WINAPI ImmReleaseContext (_In_ HWND, _In_ HIMC)
 
BOOL WINAPI ImmSetCandidateWindow (_In_ HIMC, _In_ LPCANDIDATEFORM)
 
BOOL WINAPI ImmSetCompositionStringA (_In_ HIMC, _In_ DWORD dwIndex, _In_reads_bytes_opt_(dwCompLen) LPCVOID lpComp, _In_ DWORD dwCompLen, _In_reads_bytes_opt_(dwReadLen) LPCVOID lpRead, _In_ DWORD dwReadLen)
 
BOOL WINAPI ImmSetCompositionStringW (_In_ HIMC, _In_ DWORD dwIndex, _In_reads_bytes_opt_(dwCompLen) LPCVOID lpComp, _In_ DWORD dwCompLen, _In_reads_bytes_opt_(dwReadLen) LPCVOID lpRead, _In_ DWORD dwReadLen)
 
BOOL WINAPI ImmSetCompositionWindow (_In_ HIMC, _In_ LPCOMPOSITIONFORM)
 
BOOL WINAPI ImmSetConversionStatus (_In_ HIMC, _In_ DWORD, _In_ DWORD)
 
BOOL WINAPI ImmSetOpenStatus (_In_ HIMC, _In_ BOOL)
 
BOOL WINAPI ImmSetStatusWindowPos (_In_ HIMC, _In_ LPPOINT)
 
BOOL WINAPI ImmSimulateHotKey (_In_ HWND, _In_ DWORD)
 
BOOL WINAPI ImmUnregisterWordA (_In_ HKL, _In_ LPCSTR lpszReading, _In_ DWORD, _In_ LPCSTR lpszUnregister)
 
BOOL WINAPI ImmUnregisterWordW (_In_ HKL, _In_ LPCWSTR lpszReading, _In_ DWORD, _In_ LPCWSTR lpszUnregister)
 

Macro Definition Documentation

◆ ATTR_CONVERTED

#define ATTR_CONVERTED   0x02

Definition at line 462 of file imm.h.

◆ ATTR_FIXEDCONVERTED

#define ATTR_FIXEDCONVERTED   0x05

Definition at line 465 of file imm.h.

◆ ATTR_INPUT

#define ATTR_INPUT   0x00

Definition at line 460 of file imm.h.

◆ ATTR_INPUT_ERROR

#define ATTR_INPUT_ERROR   0x04

Definition at line 464 of file imm.h.

◆ ATTR_TARGET_CONVERTED

#define ATTR_TARGET_CONVERTED   0x01

Definition at line 461 of file imm.h.

◆ ATTR_TARGET_NOTCONVERTED

#define ATTR_TARGET_NOTCONVERTED   0x03

Definition at line 463 of file imm.h.

◆ CFS_CANDIDATEPOS

#define CFS_CANDIDATEPOS   0x0040

Definition at line 473 of file imm.h.

◆ CFS_DEFAULT

#define CFS_DEFAULT   0x0000

Definition at line 469 of file imm.h.

◆ CFS_EXCLUDE

#define CFS_EXCLUDE   0x0080

Definition at line 474 of file imm.h.

◆ CFS_FORCE_POSITION

#define CFS_FORCE_POSITION   0x0020

Definition at line 472 of file imm.h.

◆ CFS_POINT

#define CFS_POINT   0x0002

Definition at line 471 of file imm.h.

◆ CFS_RECT

#define CFS_RECT   0x0001

Definition at line 470 of file imm.h.

◆ CPS_CANCEL

#define CPS_CANCEL   0x0004

Definition at line 314 of file imm.h.

◆ CPS_COMPLETE

#define CPS_COMPLETE   0x0001

Definition at line 311 of file imm.h.

◆ CPS_CONVERT

#define CPS_CONVERT   0x0002

Definition at line 312 of file imm.h.

◆ CPS_REVERT

#define CPS_REVERT   0x0003

Definition at line 313 of file imm.h.

◆ CS_INSERTCHAR

#define CS_INSERTCHAR   0x2000

Definition at line 377 of file imm.h.

◆ CS_NOMOVECARET

#define CS_NOMOVECARET   0x4000

Definition at line 378 of file imm.h.

◆ GCL_CONVERSION

#define GCL_CONVERSION   0x0001

Definition at line 477 of file imm.h.

◆ GCL_REVERSE_LENGTH

#define GCL_REVERSE_LENGTH   0x0003

Definition at line 479 of file imm.h.

◆ GCL_REVERSECONVERSION

#define GCL_REVERSECONVERSION   0x0002

Definition at line 478 of file imm.h.

◆ GCS_COMPATTR

#define GCS_COMPATTR   0x0010

Definition at line 367 of file imm.h.

◆ GCS_COMPCLAUSE

#define GCS_COMPCLAUSE   0x0020

Definition at line 368 of file imm.h.

◆ GCS_COMPREADATTR

#define GCS_COMPREADATTR   0x0002

Definition at line 364 of file imm.h.

◆ GCS_COMPREADCLAUSE

#define GCS_COMPREADCLAUSE   0x0004

Definition at line 365 of file imm.h.

◆ GCS_COMPREADSTR

#define GCS_COMPREADSTR   0x0001

Definition at line 363 of file imm.h.

◆ GCS_COMPSTR

#define GCS_COMPSTR   0x0008

Definition at line 366 of file imm.h.

◆ GCS_CURSORPOS

#define GCS_CURSORPOS   0x0080

Definition at line 369 of file imm.h.

◆ GCS_DELTASTART

#define GCS_DELTASTART   0x0100

Definition at line 370 of file imm.h.

◆ GCS_RESULTCLAUSE

#define GCS_RESULTCLAUSE   0x1000

Definition at line 374 of file imm.h.

◆ GCS_RESULTREADCLAUSE

#define GCS_RESULTREADCLAUSE   0x0400

Definition at line 372 of file imm.h.

◆ GCS_RESULTREADSTR

#define GCS_RESULTREADSTR   0x0200

Definition at line 371 of file imm.h.

◆ GCS_RESULTSTR

#define GCS_RESULTSTR   0x0800

Definition at line 373 of file imm.h.

◆ GGL_INDEX

#define GGL_INDEX   0x00000002

Definition at line 413 of file imm.h.

◆ GGL_LEVEL

#define GGL_LEVEL   0x00000001

Definition at line 412 of file imm.h.

◆ GGL_PRIVATE

#define GGL_PRIVATE   0x00000004

Definition at line 415 of file imm.h.

◆ GGL_STRING

#define GGL_STRING   0x00000003

Definition at line 414 of file imm.h.

◆ GL_ID_CANNOTSAVE

#define GL_ID_CANNOTSAVE   0x00000011

Definition at line 428 of file imm.h.

◆ GL_ID_CHOOSECANDIDATE

#define GL_ID_CHOOSECANDIDATE   0x00000028

Definition at line 437 of file imm.h.

◆ GL_ID_INPUTCODE

#define GL_ID_INPUTCODE   0x00000026

Definition at line 435 of file imm.h.

◆ GL_ID_INPUTRADICAL

#define GL_ID_INPUTRADICAL   0x00000025

Definition at line 434 of file imm.h.

◆ GL_ID_INPUTREADING

#define GL_ID_INPUTREADING   0x00000024

Definition at line 433 of file imm.h.

◆ GL_ID_INPUTSYMBOL

#define GL_ID_INPUTSYMBOL   0x00000027

Definition at line 436 of file imm.h.

◆ GL_ID_NOCONVERT

#define GL_ID_NOCONVERT   0x00000020

Definition at line 429 of file imm.h.

◆ GL_ID_NODICTIONARY

#define GL_ID_NODICTIONARY   0x00000010

Definition at line 427 of file imm.h.

◆ GL_ID_NOMODULE

#define GL_ID_NOMODULE   0x00000001

Definition at line 426 of file imm.h.

◆ GL_ID_PRIVATE_FIRST

#define GL_ID_PRIVATE_FIRST   0x00008000

Definition at line 439 of file imm.h.

◆ GL_ID_PRIVATE_LAST

#define GL_ID_PRIVATE_LAST   0x0000FFFF

Definition at line 440 of file imm.h.

◆ GL_ID_READINGCONFLICT

#define GL_ID_READINGCONFLICT   0x00000023

Definition at line 432 of file imm.h.

◆ GL_ID_REVERSECONVERSION

#define GL_ID_REVERSECONVERSION   0x00000029

Definition at line 438 of file imm.h.

◆ GL_ID_TOOMANYSTROKE

#define GL_ID_TOOMANYSTROKE   0x00000022

Definition at line 431 of file imm.h.

◆ GL_ID_TYPINGERROR

#define GL_ID_TYPINGERROR   0x00000021

Definition at line 430 of file imm.h.

◆ GL_ID_UNKNOWN

#define GL_ID_UNKNOWN   0x00000000

Definition at line 425 of file imm.h.

◆ GL_LEVEL_ERROR

#define GL_LEVEL_ERROR   0x00000002

Definition at line 420 of file imm.h.

◆ GL_LEVEL_FATAL

#define GL_LEVEL_FATAL   0x00000001

Definition at line 419 of file imm.h.

◆ GL_LEVEL_INFORMATION

#define GL_LEVEL_INFORMATION   0x00000004

Definition at line 422 of file imm.h.

◆ GL_LEVEL_NOGUIDELINE

#define GL_LEVEL_NOGUIDELINE   0x00000000

Definition at line 418 of file imm.h.

◆ GL_LEVEL_WARNING

#define GL_LEVEL_WARNING   0x00000003

Definition at line 421 of file imm.h.

◆ IACE_CHILDREN

#define IACE_CHILDREN   0x0001

Definition at line 581 of file imm.h.

◆ IACE_DEFAULT

#define IACE_DEFAULT   0x0010

Definition at line 582 of file imm.h.

◆ IACE_IGNORENOCONTEXT

#define IACE_IGNORENOCONTEXT   0x0020

Definition at line 583 of file imm.h.

◆ IGIMIF_RIGHTMENU

#define IGIMIF_RIGHTMENU   0x0001

Definition at line 586 of file imm.h.

◆ IGIMII_CMODE

#define IGIMII_CMODE   0x0001

Definition at line 589 of file imm.h.

◆ IGIMII_CONFIGURE

#define IGIMII_CONFIGURE   0x0004

Definition at line 591 of file imm.h.

◆ IGIMII_HELP

#define IGIMII_HELP   0x0010

Definition at line 593 of file imm.h.

◆ IGIMII_INPUTTOOLS

#define IGIMII_INPUTTOOLS   0x0040

Definition at line 595 of file imm.h.

◆ IGIMII_OTHER

#define IGIMII_OTHER   0x0020

Definition at line 594 of file imm.h.

◆ IGIMII_SMODE

#define IGIMII_SMODE   0x0002

Definition at line 590 of file imm.h.

◆ IGIMII_TOOLS

#define IGIMII_TOOLS   0x0008

Definition at line 592 of file imm.h.

◆ IGP_CONVERSION

#define IGP_CONVERSION   0x00000008

Definition at line 445 of file imm.h.

◆ IGP_GETIMEVERSION

#define IGP_GETIMEVERSION   (DWORD)(-4)

Definition at line 443 of file imm.h.

◆ IGP_PROPERTY

#define IGP_PROPERTY   0x00000004

Definition at line 444 of file imm.h.

◆ IGP_SELECT

#define IGP_SELECT   0x00000018

Definition at line 449 of file imm.h.

◆ IGP_SENTENCE

#define IGP_SENTENCE   0x0000000c

Definition at line 446 of file imm.h.

◆ IGP_SETCOMPSTR

#define IGP_SETCOMPSTR   0x00000014

Definition at line 448 of file imm.h.

◆ IGP_UI

#define IGP_UI   0x00000010

Definition at line 447 of file imm.h.

◆ IMC_CLOSESTATUSWINDOW

#define IMC_CLOSESTATUSWINDOW   0x0021

Definition at line 285 of file imm.h.

◆ IMC_GETCANDIDATEPOS

#define IMC_GETCANDIDATEPOS   0x0007

Definition at line 277 of file imm.h.

◆ IMC_GETCOMPOSITIONFONT

#define IMC_GETCOMPOSITIONFONT   0x0009

Definition at line 279 of file imm.h.

◆ IMC_GETCOMPOSITIONWINDOW

#define IMC_GETCOMPOSITIONWINDOW   0x000B

Definition at line 281 of file imm.h.

◆ IMC_GETSTATUSWINDOWPOS

#define IMC_GETSTATUSWINDOWPOS   0x000F

Definition at line 283 of file imm.h.

◆ IMC_OPENSTATUSWINDOW

#define IMC_OPENSTATUSWINDOW   0x0022

Definition at line 286 of file imm.h.

◆ IMC_SETCANDIDATEPOS

#define IMC_SETCANDIDATEPOS   0x0008

Definition at line 278 of file imm.h.

◆ IMC_SETCOMPOSITIONFONT

#define IMC_SETCOMPOSITIONFONT   0x000A

Definition at line 280 of file imm.h.

◆ IMC_SETCOMPOSITIONWINDOW

#define IMC_SETCOMPOSITIONWINDOW   0x000C

Definition at line 282 of file imm.h.

◆ IMC_SETCONVERSIONMODE

#define IMC_SETCONVERSIONMODE   0x0002

Definition at line 224 of file imm.h.

◆ IMC_SETOPENSTATUS

#define IMC_SETOPENSTATUS   0x0006

Definition at line 226 of file imm.h.

◆ IMC_SETSENTENCEMODE

#define IMC_SETSENTENCEMODE   0x0004

Definition at line 225 of file imm.h.

◆ IMC_SETSTATUSWINDOWPOS

#define IMC_SETSTATUSWINDOWPOS   0x0010

Definition at line 284 of file imm.h.

◆ IME_CAND_CODE

#define IME_CAND_CODE   0x0002

Definition at line 513 of file imm.h.

◆ IME_CAND_MEANING

#define IME_CAND_MEANING   0x0003

Definition at line 514 of file imm.h.

◆ IME_CAND_RADICAL

#define IME_CAND_RADICAL   0x0004

Definition at line 515 of file imm.h.

◆ IME_CAND_READ

#define IME_CAND_READ   0x0001

Definition at line 512 of file imm.h.

◆ IME_CAND_STROKE

#define IME_CAND_STROKE   0x0005

Definition at line 516 of file imm.h.

◆ IME_CAND_UNKNOWN

#define IME_CAND_UNKNOWN   0x0000

Definition at line 511 of file imm.h.

◆ IME_CHOTKEY_IME_NONIME_TOGGLE

#define IME_CHOTKEY_IME_NONIME_TOGGLE   0x10

Definition at line 330 of file imm.h.

◆ IME_CHOTKEY_SHAPE_TOGGLE

#define IME_CHOTKEY_SHAPE_TOGGLE   0x11

Definition at line 331 of file imm.h.

◆ IME_CHOTKEY_SYMBOL_TOGGLE

#define IME_CHOTKEY_SYMBOL_TOGGLE   0x12

Definition at line 332 of file imm.h.

◆ IME_CMODE_ALPHANUMERIC

#define IME_CMODE_ALPHANUMERIC   0x0000

Definition at line 483 of file imm.h.

◆ IME_CMODE_CHARCODE

#define IME_CMODE_CHARCODE   0x0020

Definition at line 494 of file imm.h.

◆ IME_CMODE_CHINESE

#define IME_CMODE_CHINESE   IME_CMODE_NATIVE

Definition at line 485 of file imm.h.

◆ IME_CMODE_EUDC

#define IME_CMODE_EUDC   0x0200

Definition at line 498 of file imm.h.

◆ IME_CMODE_FIXED

#define IME_CMODE_FIXED   0x0800

Definition at line 500 of file imm.h.

◆ IME_CMODE_FULLSHAPE

#define IME_CMODE_FULLSHAPE   0x0008

Definition at line 492 of file imm.h.

◆ IME_CMODE_HANGEUL

#define IME_CMODE_HANGEUL   IME_CMODE_NATIVE

Definition at line 487 of file imm.h.

◆ IME_CMODE_HANGUL

#define IME_CMODE_HANGUL   IME_CMODE_NATIVE

Definition at line 488 of file imm.h.

◆ IME_CMODE_HANJACONVERT

#define IME_CMODE_HANJACONVERT   0x0040

Definition at line 495 of file imm.h.

◆ IME_CMODE_JAPANESE

#define IME_CMODE_JAPANESE   IME_CMODE_NATIVE

Definition at line 489 of file imm.h.

◆ IME_CMODE_KATAKANA

#define IME_CMODE_KATAKANA   0x0002 /* only effect under IME_CMODE_NATIVE */

Definition at line 490 of file imm.h.

◆ IME_CMODE_LANGUAGE

#define IME_CMODE_LANGUAGE   0x0003

Definition at line 491 of file imm.h.

◆ IME_CMODE_NATIVE

#define IME_CMODE_NATIVE   0x0001

Definition at line 484 of file imm.h.

◆ IME_CMODE_NOCONVERSION

#define IME_CMODE_NOCONVERSION   0x0100

Definition at line 497 of file imm.h.

◆ IME_CMODE_ROMAN

#define IME_CMODE_ROMAN   0x0010

Definition at line 493 of file imm.h.

◆ IME_CMODE_SOFTKBD

#define IME_CMODE_SOFTKBD   0x0080

Definition at line 496 of file imm.h.

◆ IME_CMODE_SYMBOL

#define IME_CMODE_SYMBOL   0x0400

Definition at line 499 of file imm.h.

◆ IME_CONFIG_GENERAL

#define IME_CONFIG_GENERAL   1

Definition at line 552 of file imm.h.

◆ IME_CONFIG_REGISTERWORD

#define IME_CONFIG_REGISTERWORD   2

Definition at line 553 of file imm.h.

◆ IME_CONFIG_SELECTDICTIONARY

#define IME_CONFIG_SELECTDICTIONARY   3

Definition at line 554 of file imm.h.

◆ IME_ESC_AUTOMATA

#define IME_ESC_AUTOMATA   0x1009

Definition at line 569 of file imm.h.

◆ IME_ESC_GET_EUDC_DICTIONARY

#define IME_ESC_GET_EUDC_DICTIONARY   0x1003

Definition at line 563 of file imm.h.

◆ IME_ESC_GETHELPFILENAME

#define IME_ESC_GETHELPFILENAME   0x100b

Definition at line 571 of file imm.h.

◆ IME_ESC_HANJA_MODE

#define IME_ESC_HANJA_MODE   0x1008

Definition at line 568 of file imm.h.

◆ IME_ESC_IME_NAME

#define IME_ESC_IME_NAME   0x1006

Definition at line 566 of file imm.h.

◆ IME_ESC_MAX_KEY

#define IME_ESC_MAX_KEY   0x1005

Definition at line 565 of file imm.h.

◆ IME_ESC_PRIVATE_FIRST

#define IME_ESC_PRIVATE_FIRST   0x0800

Definition at line 560 of file imm.h.

◆ IME_ESC_PRIVATE_HOTKEY

#define IME_ESC_PRIVATE_HOTKEY   0x100a

Definition at line 570 of file imm.h.

◆ IME_ESC_PRIVATE_LAST

#define IME_ESC_PRIVATE_LAST   0x0FFF

Definition at line 561 of file imm.h.

◆ IME_ESC_QUERY_SUPPORT

#define IME_ESC_QUERY_SUPPORT   0x0003

Definition at line 557 of file imm.h.

◆ IME_ESC_RESERVED_FIRST

#define IME_ESC_RESERVED_FIRST   0x0004

Definition at line 558 of file imm.h.

◆ IME_ESC_RESERVED_LAST

#define IME_ESC_RESERVED_LAST   0x07FF

Definition at line 559 of file imm.h.

◆ IME_ESC_SEQUENCE_TO_INTERNAL

#define IME_ESC_SEQUENCE_TO_INTERNAL   0x1001

Definition at line 562 of file imm.h.

◆ IME_ESC_SET_EUDC_DICTIONARY

#define IME_ESC_SET_EUDC_DICTIONARY   0x1004

Definition at line 564 of file imm.h.

◆ IME_ESC_SYNC_HOTKEY

#define IME_ESC_SYNC_HOTKEY   0x1007

Definition at line 567 of file imm.h.

◆ IME_HOTKEY_DSWITCH_FIRST

#define IME_HOTKEY_DSWITCH_FIRST   0x100

Definition at line 347 of file imm.h.

◆ IME_HOTKEY_DSWITCH_LAST

#define IME_HOTKEY_DSWITCH_LAST   0x11F

Definition at line 348 of file imm.h.

◆ IME_HOTKEY_PRIVATE_FIRST

#define IME_HOTKEY_PRIVATE_FIRST   0x200

Definition at line 351 of file imm.h.

◆ IME_HOTKEY_PRIVATE_LAST

#define IME_HOTKEY_PRIVATE_LAST   0x21F

Definition at line 356 of file imm.h.

◆ IME_ITHOTKEY_PREVIOUS_COMPOSITION

#define IME_ITHOTKEY_PREVIOUS_COMPOSITION   0x201

Definition at line 353 of file imm.h.

◆ IME_ITHOTKEY_RECONVERTSTRING

#define IME_ITHOTKEY_RECONVERTSTRING   0x203

Definition at line 355 of file imm.h.

◆ IME_ITHOTKEY_RESEND_RESULTSTR

#define IME_ITHOTKEY_RESEND_RESULTSTR   0x200

Definition at line 352 of file imm.h.

◆ IME_ITHOTKEY_UISTYLE_TOGGLE

#define IME_ITHOTKEY_UISTYLE_TOGGLE   0x202

Definition at line 354 of file imm.h.

◆ IME_JHOTKEY_CLOSE_OPEN

#define IME_JHOTKEY_CLOSE_OPEN   0x30

Definition at line 335 of file imm.h.

◆ IME_KHOTKEY_ENGLISH

#define IME_KHOTKEY_ENGLISH   0x52

Definition at line 340 of file imm.h.

◆ IME_KHOTKEY_HANJACONVERT

#define IME_KHOTKEY_HANJACONVERT   0x51

Definition at line 339 of file imm.h.

◆ IME_KHOTKEY_SHAPE_TOGGLE

#define IME_KHOTKEY_SHAPE_TOGGLE   0x50

Definition at line 338 of file imm.h.

◆ IME_PROP_ACCEPT_WIDE_VKEY

#define IME_PROP_ACCEPT_WIDE_VKEY   0x0020

Definition at line 221 of file imm.h.

◆ IME_PROP_AT_CARET

#define IME_PROP_AT_CARET   0x00010000

Definition at line 389 of file imm.h.

◆ IME_PROP_CANDLIST_START_FROM_1

#define IME_PROP_CANDLIST_START_FROM_1   0x00040000

Definition at line 391 of file imm.h.

◆ IME_PROP_COMPLETE_ON_UNSELECT

#define IME_PROP_COMPLETE_ON_UNSELECT   0x00100000

Definition at line 393 of file imm.h.

◆ IME_PROP_END_UNLOAD

#define IME_PROP_END_UNLOAD   0x0001

Definition at line 216 of file imm.h.

◆ IME_PROP_IGNORE_UPKEYS

#define IME_PROP_IGNORE_UPKEYS   0x0004

Definition at line 218 of file imm.h.

◆ IME_PROP_KBD_CHAR_FIRST

#define IME_PROP_KBD_CHAR_FIRST   0x0002

Definition at line 217 of file imm.h.

◆ IME_PROP_NEED_ALTKEY

#define IME_PROP_NEED_ALTKEY   0x0008

Definition at line 219 of file imm.h.

◆ IME_PROP_NO_KEYS_ON_CLOSE

#define IME_PROP_NO_KEYS_ON_CLOSE   0x0010

Definition at line 220 of file imm.h.

◆ IME_PROP_SPECIAL_UI

#define IME_PROP_SPECIAL_UI   0x00020000

Definition at line 390 of file imm.h.

◆ IME_PROP_UNICODE

#define IME_PROP_UNICODE   0x00080000

Definition at line 392 of file imm.h.

◆ IME_REGWORD_STYLE_EUDC

#define IME_REGWORD_STYLE_EUDC   0x00000001

Definition at line 575 of file imm.h.

◆ IME_REGWORD_STYLE_USER_FIRST

#define IME_REGWORD_STYLE_USER_FIRST   0x80000000

Definition at line 576 of file imm.h.

◆ IME_REGWORD_STYLE_USER_LAST

#define IME_REGWORD_STYLE_USER_LAST   0xFFFFFFFF

Definition at line 577 of file imm.h.

◆ IME_SMODE_AUTOMATIC

#define IME_SMODE_AUTOMATIC   0x0004

Definition at line 506 of file imm.h.

◆ IME_SMODE_CONVERSATION

#define IME_SMODE_CONVERSATION   0x0010

Definition at line 508 of file imm.h.

◆ IME_SMODE_NONE

#define IME_SMODE_NONE   0x0000

Definition at line 503 of file imm.h.

◆ IME_SMODE_PHRASEPREDICT

#define IME_SMODE_PHRASEPREDICT   0x0008

Definition at line 507 of file imm.h.

◆ IME_SMODE_PLAURALCLAUSE

#define IME_SMODE_PLAURALCLAUSE   0x0001

Definition at line 504 of file imm.h.

◆ IME_SMODE_SINGLECONVERT

#define IME_SMODE_SINGLECONVERT   0x0002

Definition at line 505 of file imm.h.

◆ IME_THOTKEY_IME_NONIME_TOGGLE

#define IME_THOTKEY_IME_NONIME_TOGGLE   0x70

Definition at line 342 of file imm.h.

◆ IME_THOTKEY_SHAPE_TOGGLE

#define IME_THOTKEY_SHAPE_TOGGLE   0x71

Definition at line 343 of file imm.h.

◆ IME_THOTKEY_SYMBOL_TOGGLE

#define IME_THOTKEY_SYMBOL_TOGGLE   0x72

Definition at line 344 of file imm.h.

◆ IMEMENUITEM_STRING_SIZE

#define IMEMENUITEM_STRING_SIZE   80

Definition at line 108 of file imm.h.

◆ IMEVER_0310

#define IMEVER_0310   0x0003000A

Definition at line 385 of file imm.h.

◆ IMEVER_0400

#define IMEVER_0400   0x00040000

Definition at line 386 of file imm.h.

◆ IMFS_CHECKED

#define IMFS_CHECKED   MFS_CHECKED

Definition at line 605 of file imm.h.

◆ IMFS_DEFAULT

#define IMFS_DEFAULT   MFS_DEFAULT

Definition at line 610 of file imm.h.

◆ IMFS_DISABLED

#define IMFS_DISABLED   MFS_DISABLED

Definition at line 604 of file imm.h.

◆ IMFS_ENABLED

#define IMFS_ENABLED   MFS_ENABLED

Definition at line 607 of file imm.h.

◆ IMFS_GRAYED

#define IMFS_GRAYED   MFS_GRAYED

Definition at line 603 of file imm.h.

◆ IMFS_HILITE

#define IMFS_HILITE   MFS_HILITE

Definition at line 606 of file imm.h.

◆ IMFS_UNCHECKED

#define IMFS_UNCHECKED   MFS_UNCHECKED

Definition at line 608 of file imm.h.

◆ IMFS_UNHILITE

#define IMFS_UNHILITE   MFS_UNHILITE

Definition at line 609 of file imm.h.

◆ IMFT_RADIOCHECK

#define IMFT_RADIOCHECK   0x00001

Definition at line 598 of file imm.h.

◆ IMFT_SEPARATOR

#define IMFT_SEPARATOR   0x00002

Definition at line 599 of file imm.h.

◆ IMFT_SUBMENU

#define IMFT_SUBMENU   0x00004

Definition at line 600 of file imm.h.

◆ IMM_ERROR_GENERAL

#define IMM_ERROR_GENERAL   (-2)

Definition at line 548 of file imm.h.

◆ IMM_ERROR_NODATA

#define IMM_ERROR_NODATA   (-1)

Definition at line 547 of file imm.h.

◆ ImmConfigureIME

#define ImmConfigureIME   WINELIB_NAME_AW(ImmConfigureIME)

Definition at line 627 of file imm.h.

◆ ImmEnumRegisterWord

#define ImmEnumRegisterWord   WINELIB_NAME_AW(ImmEnumRegisterWord)

Definition at line 654 of file imm.h.

◆ ImmEscape

#define ImmEscape   WINELIB_NAME_AW(ImmEscape)

Definition at line 658 of file imm.h.

◆ ImmGetCandidateList

#define ImmGetCandidateList   WINELIB_NAME_AW(ImmGetCandidateList)

Definition at line 676 of file imm.h.

◆ ImmGetCandidateListCount

#define ImmGetCandidateListCount   WINELIB_NAME_AW(ImmGetCandidateListCount)

Definition at line 680 of file imm.h.

◆ ImmGetCompositionString

#define ImmGetCompositionString   WINELIB_NAME_AW(ImmGetCompositionString)

Definition at line 717 of file imm.h.

◆ ImmGetConversionList

#define ImmGetConversionList   WINELIB_NAME_AW(ImmGetConversionList)

Definition at line 742 of file imm.h.

◆ ImmGetDescription

#define ImmGetDescription   WINELIB_NAME_AW(ImmGetDescription)

Definition at line 767 of file imm.h.

◆ ImmGetGuideLine

#define ImmGetGuideLine   WINELIB_NAME_AW(ImmGetGuideLine)

Definition at line 785 of file imm.h.

◆ ImmGetIMEFileName

#define ImmGetIMEFileName   WINELIB_NAME_AW(ImmGetIMEFileName)

Definition at line 801 of file imm.h.

◆ ImmGetImeMenuItems

#define ImmGetImeMenuItems   WINELIB_NAME_AW(ImmGetImeMenuItems)

Definition at line 823 of file imm.h.

◆ ImmGetRegisterWordStyle

#define ImmGetRegisterWordStyle   WINELIB_NAME_AW(ImmGetRegisterWordStyle)

Definition at line 842 of file imm.h.

◆ IMMGWL_IMC

#define IMMGWL_IMC   0

Definition at line 212 of file imm.h.

◆ IMMGWL_PRIVATE

#define IMMGWL_PRIVATE   (sizeof(LONG))

Definition at line 213 of file imm.h.

◆ ImmInstallIME

#define ImmInstallIME   WINELIB_NAME_AW(ImmInstallIME)

Definition at line 849 of file imm.h.

◆ ImmIsUIMessage

#define ImmIsUIMessage   WINELIB_NAME_AW(ImmIsUIMessage)

Definition at line 855 of file imm.h.

◆ ImmRegisterWord

#define ImmRegisterWord   WINELIB_NAME_AW(ImmRegisterWord)

Definition at line 877 of file imm.h.

◆ ImmRequestMessage

#define ImmRequestMessage   WINELIB_NAME_AW(ImmRequestMessage);

Definition at line 253 of file imm.h.

◆ ImmSetCompositionString

#define ImmSetCompositionString   WINELIB_NAME_AW(ImmSetCompositionString)

Definition at line 902 of file imm.h.

◆ ImmUnregisterWord

#define ImmUnregisterWord   WINELIB_NAME_AW(ImmUnregisterWord)

Definition at line 926 of file imm.h.

◆ IMN_CHANGECANDIDATE

#define IMN_CHANGECANDIDATE   0x0003

Definition at line 522 of file imm.h.

◆ IMN_CLOSECANDIDATE

#define IMN_CLOSECANDIDATE   0x0004

Definition at line 523 of file imm.h.

◆ IMN_CLOSESTATUSWINDOW

#define IMN_CLOSESTATUSWINDOW   0x0001

Definition at line 520 of file imm.h.

◆ IMN_GUIDELINE

#define IMN_GUIDELINE   0x000D

Definition at line 532 of file imm.h.

◆ IMN_OPENCANDIDATE

#define IMN_OPENCANDIDATE   0x0005

Definition at line 524 of file imm.h.

◆ IMN_OPENSTATUSWINDOW

#define IMN_OPENSTATUSWINDOW   0x0002

Definition at line 521 of file imm.h.

◆ IMN_PRIVATE

#define IMN_PRIVATE   0x000E

Definition at line 533 of file imm.h.

◆ IMN_SETCANDIDATEPOS

#define IMN_SETCANDIDATEPOS   0x0009

Definition at line 528 of file imm.h.

◆ IMN_SETCOMPOSITIONFONT

#define IMN_SETCOMPOSITIONFONT   0x000A

Definition at line 529 of file imm.h.

◆ IMN_SETCOMPOSITIONWINDOW

#define IMN_SETCOMPOSITIONWINDOW   0x000B

Definition at line 530 of file imm.h.

◆ IMN_SETCONVERSIONMODE

#define IMN_SETCONVERSIONMODE   0x0006

Definition at line 525 of file imm.h.

◆ IMN_SETOPENSTATUS

#define IMN_SETOPENSTATUS   0x0008

Definition at line 527 of file imm.h.

◆ IMN_SETSENTENCEMODE

#define IMN_SETSENTENCEMODE   0x0007

Definition at line 526 of file imm.h.

◆ IMN_SETSTATUSWINDOWPOS

#define IMN_SETSTATUSWINDOWPOS   0x000C

Definition at line 531 of file imm.h.

◆ IMR_CANDIDATEWINDOW

#define IMR_CANDIDATEWINDOW   0x0002

Definition at line 538 of file imm.h.

◆ IMR_COMPOSITIONFONT

#define IMR_COMPOSITIONFONT   0x0003

Definition at line 539 of file imm.h.

◆ IMR_COMPOSITIONWINDOW

#define IMR_COMPOSITIONWINDOW   0x0001

Definition at line 537 of file imm.h.

◆ IMR_CONFIRMRECONVERTSTRING

#define IMR_CONFIRMRECONVERTSTRING   0x0005

Definition at line 541 of file imm.h.

◆ IMR_DOCUMENTFEED

#define IMR_DOCUMENTFEED   0x0007

Definition at line 543 of file imm.h.

◆ IMR_QUERYCHARPOSITION

#define IMR_QUERYCHARPOSITION   0x0006

Definition at line 542 of file imm.h.

◆ IMR_RECONVERTSTRING

#define IMR_RECONVERTSTRING   0x0004

Definition at line 540 of file imm.h.

◆ ISC_SHOWUIALL

#define ISC_SHOWUIALL   0xC000000F

Definition at line 307 of file imm.h.

◆ ISC_SHOWUIALLCANDIDATEWINDOW

#define ISC_SHOWUIALLCANDIDATEWINDOW   0x0000000F

Definition at line 306 of file imm.h.

◆ ISC_SHOWUICANDIDATEWINDOW

#define ISC_SHOWUICANDIDATEWINDOW   0x00000001

Definition at line 303 of file imm.h.

◆ ISC_SHOWUICOMPOSITIONWINDOW

#define ISC_SHOWUICOMPOSITIONWINDOW   0x80000000

Definition at line 304 of file imm.h.

◆ ISC_SHOWUIGUIDELINE

#define ISC_SHOWUIGUIDELINE   0x40000000

Definition at line 305 of file imm.h.

◆ MOD_ALT

#define MOD_ALT   0x0001

Definition at line 318 of file imm.h.

◆ MOD_CONTROL

#define MOD_CONTROL   0x0002

Definition at line 319 of file imm.h.

◆ MOD_IGNORE_ALL_MODIFIER

#define MOD_IGNORE_ALL_MODIFIER   0x0400

Definition at line 326 of file imm.h.

◆ MOD_LEFT

#define MOD_LEFT   0x8000

Definition at line 322 of file imm.h.

◆ MOD_ON_KEYUP

#define MOD_ON_KEYUP   0x0800

Definition at line 325 of file imm.h.

◆ MOD_RIGHT

#define MOD_RIGHT   0x4000

Definition at line 323 of file imm.h.

◆ MOD_SHIFT

#define MOD_SHIFT   0x0004

Definition at line 320 of file imm.h.

◆ NI_CHANGECANDIDATELIST [1/2]

#define NI_CHANGECANDIDATELIST   0x0013

Definition at line 295 of file imm.h.

◆ NI_CHANGECANDIDATELIST [2/2]

#define NI_CHANGECANDIDATELIST   0x0013

Definition at line 295 of file imm.h.

◆ NI_CLOSECANDIDATE [1/2]

#define NI_CLOSECANDIDATE   0x0011

Definition at line 293 of file imm.h.

◆ NI_CLOSECANDIDATE [2/2]

#define NI_CLOSECANDIDATE   0x0011

Definition at line 293 of file imm.h.

◆ NI_COMPOSITIONSTR [1/2]

#define NI_COMPOSITIONSTR   0x0015

Definition at line 297 of file imm.h.

◆ NI_COMPOSITIONSTR [2/2]

#define NI_COMPOSITIONSTR   0x0015

Definition at line 297 of file imm.h.

◆ NI_CONTEXTUPDATED

#define NI_CONTEXTUPDATED   0x0003

Definition at line 229 of file imm.h.

◆ NI_FINALIZECONVERSIONRESULT [1/2]

#define NI_FINALIZECONVERSIONRESULT   0x0014

Definition at line 296 of file imm.h.

◆ NI_FINALIZECONVERSIONRESULT [2/2]

#define NI_FINALIZECONVERSIONRESULT   0x0014

Definition at line 296 of file imm.h.

◆ NI_IMEMENUSELECTED [1/2]

#define NI_IMEMENUSELECTED   0x0018

Definition at line 300 of file imm.h.

◆ NI_IMEMENUSELECTED [2/2]

#define NI_IMEMENUSELECTED   0x0018

Definition at line 300 of file imm.h.

◆ NI_OPENCANDIDATE [1/2]

#define NI_OPENCANDIDATE   0x0010

Definition at line 292 of file imm.h.

◆ NI_OPENCANDIDATE [2/2]

#define NI_OPENCANDIDATE   0x0010

Definition at line 292 of file imm.h.

◆ NI_SELECTCANDIDATESTR [1/2]

#define NI_SELECTCANDIDATESTR   0x0012

Definition at line 294 of file imm.h.

◆ NI_SELECTCANDIDATESTR [2/2]

#define NI_SELECTCANDIDATESTR   0x0012

Definition at line 294 of file imm.h.

◆ NI_SETCANDIDATE_PAGESIZE [1/2]

#define NI_SETCANDIDATE_PAGESIZE   0x0017

Definition at line 299 of file imm.h.

◆ NI_SETCANDIDATE_PAGESIZE [2/2]

#define NI_SETCANDIDATE_PAGESIZE   0x0017

Definition at line 299 of file imm.h.

◆ NI_SETCANDIDATE_PAGESTART [1/2]

#define NI_SETCANDIDATE_PAGESTART   0x0016

Definition at line 298 of file imm.h.

◆ NI_SETCANDIDATE_PAGESTART [2/2]

#define NI_SETCANDIDATE_PAGESTART   0x0016

Definition at line 298 of file imm.h.

◆ SCS_CAP_COMPSTR

#define SCS_CAP_COMPSTR   0x00000001

Definition at line 402 of file imm.h.

◆ SCS_CAP_MAKEREAD

#define SCS_CAP_MAKEREAD   0x00000002

Definition at line 403 of file imm.h.

◆ SCS_CAP_SETRECONVERTSTRING

#define SCS_CAP_SETRECONVERTSTRING   0x00000004

Definition at line 404 of file imm.h.

◆ SCS_CHANGEATTR

#define SCS_CHANGEATTR   (GCS_COMPREADATTR|GCS_COMPATTR)

Definition at line 454 of file imm.h.

◆ SCS_CHANGECLAUSE

#define SCS_CHANGECLAUSE   (GCS_COMPREADCLAUSE|GCS_COMPCLAUSE)

Definition at line 455 of file imm.h.

◆ SCS_QUERYRECONVERTSTRING

#define SCS_QUERYRECONVERTSTRING   0x00020000

Definition at line 457 of file imm.h.

◆ SCS_SETRECONVERTSTRING

#define SCS_SETRECONVERTSTRING   0x00010000

Definition at line 456 of file imm.h.

◆ SCS_SETSTR

#define SCS_SETSTR   (GCS_COMPREADSTR|GCS_COMPSTR)

Definition at line 453 of file imm.h.

◆ SELECT_CAP_CONVERSION

#define SELECT_CAP_CONVERSION   0x00000001

Definition at line 407 of file imm.h.

◆ SELECT_CAP_SENTENCE

#define SELECT_CAP_SENTENCE   0x00000002

Definition at line 408 of file imm.h.

◆ SOFTKEYBOARD_TYPE_C1

#define SOFTKEYBOARD_TYPE_C1   0x0002

Definition at line 619 of file imm.h.

◆ SOFTKEYBOARD_TYPE_T1

#define SOFTKEYBOARD_TYPE_T1   0x0001

Definition at line 617 of file imm.h.

◆ UI_CAP_2700

#define UI_CAP_2700   0x00000001

Definition at line 396 of file imm.h.

◆ UI_CAP_ROT90

#define UI_CAP_ROT90   0x00000002

Definition at line 397 of file imm.h.

◆ UI_CAP_ROTANY

#define UI_CAP_ROTANY   0x00000004

Definition at line 398 of file imm.h.

◆ UI_CAP_SOFTKBD

#define UI_CAP_SOFTKBD   0x00010000

Definition at line 399 of file imm.h.

Typedef Documentation

◆ CANDIDATEFORM

◆ CANDIDATEINFO

◆ CANDIDATELIST

◆ COMPOSITIONFORM

◆ COMPOSITIONSTRING

◆ GUIDELINE

◆ HIMC

typedef HANDLE HIMC

Definition at line 33 of file imm.h.

◆ HIMCC

typedef HANDLE HIMCC

Definition at line 34 of file imm.h.

◆ IMCENUMPROC

typedef BOOL(CALLBACK* IMCENUMPROC) (HIMC, LPARAM)

Definition at line 147 of file imm.h.

◆ IMECHARPOSITION

◆ IMEINFO

◆ IMEMENUITEMINFOA

◆ IMEMENUITEMINFOW

◆ LPCANDIDATEFORM

◆ LPCANDIDATEINFO

◆ LPCANDIDATELIST

◆ LPCOMPOSITIONFORM

◆ LPCOMPOSITIONSTRING

◆ LPGUIDELINE

◆ LPIMECHARPOSITION

◆ LPIMEINFO

◆ LPIMEMENUITEMINFOA

◆ LPIMEMENUITEMINFOW

◆ LPRECONVERTSTRING

◆ LPREGISTERWORDA

◆ LPREGISTERWORDW

◆ LPSTYLEBUFA

◆ LPSTYLEBUFW

◆ NPIMECHARPOSITION

◆ NPREGISTERWORDA

◆ NPREGISTERWORDW

◆ PIMECHARPOSITION

◆ PREGISTERWORDA

◆ PREGISTERWORDW

◆ RECONVERTSTRING

◆ REGISTERWORDA

◆ REGISTERWORDENUMPROCA

typedef int(CALLBACK * REGISTERWORDENUMPROCA) (_In_ LPCSTR, _In_ DWORD, _In_ LPCSTR, _In_ LPVOID)

Definition at line 48 of file imm.h.

◆ REGISTERWORDENUMPROCW

typedef int(CALLBACK * REGISTERWORDENUMPROCW) (_In_ LPCWSTR, _In_ DWORD, _In_ LPCWSTR, _In_ LPVOID)

Definition at line 55 of file imm.h.

◆ REGISTERWORDW

◆ STYLEBUFA

◆ STYLEBUFW

Function Documentation

◆ ImeConfigure()

BOOL WINAPI ImeConfigure ( HKL  ,
HWND  ,
DWORD  ,
LPVOID   
)

Referenced by IMM_GetImmHkl().

◆ ImeConversionList()

DWORD WINAPI ImeConversionList ( HIMC  ,
LPCWSTR  ,
LPCANDIDATELIST  ,
DWORD  ,
UINT   
)

Referenced by IMM_GetImmHkl().

◆ ImeDestroy()

BOOL WINAPI ImeDestroy ( UINT  )

Referenced by IMM_GetImmHkl().

◆ ImeEnumRegisterWord()

UINT WINAPI ImeEnumRegisterWord ( REGISTERWORDENUMPROCW  ,
LPCWSTR  ,
DWORD  ,
LPCWSTR  ,
LPVOID   
)

Referenced by IMM_GetImmHkl().

◆ ImeEscape()

LRESULT WINAPI ImeEscape ( HIMC  ,
UINT  ,
LPVOID   
)

Referenced by IMM_GetImmHkl().

◆ ImeGetImeMenuItems()

DWORD WINAPI ImeGetImeMenuItems ( HIMC  ,
DWORD  ,
DWORD  ,
LPIMEMENUITEMINFOW  ,
LPIMEMENUITEMINFOW  ,
DWORD   
)

Referenced by IMM_GetImmHkl().

◆ ImeGetRegisterWordStyle()

UINT WINAPI ImeGetRegisterWordStyle ( UINT  ,
LPSTYLEBUFW   
)

Referenced by IMM_GetImmHkl().

◆ ImeInquire()

BOOL WINAPI ImeInquire ( LPIMEINFO  ,
LPWSTR  ,
LPCWSTR  lpszOptions 
)

Referenced by IMM_GetImmHkl().

◆ ImeProcessKey()

BOOL WINAPI ImeProcessKey ( HIMC  ,
UINT  ,
LPARAM  ,
CONST  LPBYTE 
)

Referenced by IMM_GetImmHkl().

◆ ImeRegisterWord()

BOOL WINAPI ImeRegisterWord ( LPCWSTR  ,
DWORD  ,
LPCWSTR   
)

Referenced by IMM_GetImmHkl().

◆ ImeSelect()

BOOL WINAPI ImeSelect ( HIMC  ,
BOOL   
)

Referenced by IMM_GetImmHkl().

◆ ImeSetActiveContext()

BOOL WINAPI ImeSetActiveContext ( HIMC  ,
BOOL   
)

Referenced by IMM_GetImmHkl().

◆ ImeSetCompositionString()

BOOL WINAPI ImeSetCompositionString ( HIMC  ,
DWORD  ,
LPCVOID  ,
DWORD  ,
LPCVOID  ,
DWORD   
)

Referenced by IMM_GetImmHkl().

◆ ImeToAsciiEx()

UINT WINAPI ImeToAsciiEx ( UINT  ,
UINT  ,
CONST  LPBYTE,
LPDWORD  ,
UINT  ,
HIMC   
)

Referenced by IMM_GetImmHkl().

◆ ImeUnregisterWord()

BOOL WINAPI ImeUnregisterWord ( LPCWSTR  ,
DWORD  ,
LPCWSTR   
)

Referenced by IMM_GetImmHkl().

◆ ImmAssociateContext()

HIMC WINAPI ImmAssociateContext ( _In_  HWND,
_In_  HIMC 
)

◆ ImmAssociateContextEx()

BOOL WINAPI ImmAssociateContextEx ( _In_  HWND,
_In_  HIMC,
_In_  DWORD 
)

◆ ImmConfigureIMEA()

BOOL WINAPI ImmConfigureIMEA ( _In_  HKL,
_In_  HWND,
_In_  DWORD,
_In_  LPVOID 
)

◆ ImmConfigureIMEW()

BOOL WINAPI ImmConfigureIMEW ( _In_  HKL,
_In_  HWND,
_In_  DWORD,
_In_  LPVOID 
)

◆ ImmCreateContext()

HIMC WINAPI ImmCreateContext ( void  )

Definition at line 428 of file imm.c.

429 {
430  PCLIENTIMC pClientImc;
431  HIMC hIMC;
432 
433  TRACE("()\n");
434 
435  if (g_psi == NULL || !(g_psi->dwSRVIFlags & SRVINFO_IMM32))
436  return NULL;
437 
438  pClientImc = Imm32HeapAlloc(HEAP_ZERO_MEMORY, sizeof(CLIENTIMC));
439  if (pClientImc == NULL)
440  return NULL;
441 
442  hIMC = NtUserCreateInputContext(pClientImc);
443  if (hIMC == NULL)
444  {
445  HeapFree(g_hImm32Heap, 0, pClientImc);
446  return NULL;
447  }
448 
449  RtlInitializeCriticalSection(&pClientImc->cs);
450 
451  // FIXME: NtUserGetThreadState and enum ThreadStateRoutines are broken.
452  pClientImc->unknown = NtUserGetThreadState(13);
453 
454  return hIMC;
455 }
HIMC NTAPI NtUserCreateInputContext(PCLIENTIMC pClientImc)
Definition: ntstubs.c:424
DWORD_PTR NTAPI NtUserGetThreadState(DWORD Routine)
Definition: misc.c:231
LPVOID APIENTRY Imm32HeapAlloc(DWORD dwFlags, DWORD dwBytes)
Definition: utils.c:107
PSERVERINFO g_psi
Definition: imm.c:18
DWORD unknown
Definition: ntuser.h:1296
DWORD dwSRVIFlags
Definition: ntuser.h:1013
DWORD HIMC
Definition: dimm.idl:75
#define TRACE(s)
Definition: solgame.cpp:4
NTSYSAPI NTSTATUS NTAPI RtlInitializeCriticalSection(_In_ PRTL_CRITICAL_SECTION CriticalSection)
RTL_CRITICAL_SECTION cs
Definition: ntuser.h:1297
HANDLE g_hImm32Heap
Definition: utils.c:17
#define NULL
Definition: types.h:112
#define HEAP_ZERO_MEMORY
Definition: compat.h:134
#define SRVINFO_IMM32
Definition: ntuser.h:919
#define HeapFree(x, y, z)
Definition: compat.h:594

Referenced by ActiveIMMApp_CreateContext(), ImmGetContextThreadFunc(), test_ImmAssociateContextEx(), test_ImmDefaultHwnd(), test_ImmDestroyContext(), test_ImmGetIMCLockCount(), test_ImmNotifyIME(), and test_InvalidIMC().

◆ ImmCreateIMCC()

HIMCC WINAPI ImmCreateIMCC ( DWORD  )

Definition at line 191 of file utils.c.

192 {
193  if (size < 4)
194  size = 4;
195  return LocalAlloc(LHND, size);
196 }
GLsizeiptr size
Definition: glext.h:5919
#define LHND
Definition: winbase.h:379
HLOCAL NTAPI LocalAlloc(UINT uFlags, SIZE_T dwBytes)
Definition: heapmem.c:1373

Referenced by START_TEST(), test_ImmDestroyIMCC(), and test_ImmGetIMCCLockCount().

◆ ImmCreateSoftKeyboard()

HWND WINAPI ImmCreateSoftKeyboard ( UINT  ,
UINT  ,
int  ,
int   
)

Definition at line 1323 of file imm.c.

1324 {
1325  FIXME("(%d, %d, %d, %d): stub\n", uType, hOwner, x, y);
1327  return 0;
1328 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
#define FIXME(fmt,...)
Definition: debug.h:111
#define SetLastError(x)
Definition: compat.h:611
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:102

◆ ImmDestroyContext()

BOOL WINAPI ImmDestroyContext ( _In_ HIMC  hIMC)

◆ ImmDestroyIMCC()

HIMCC WINAPI ImmDestroyIMCC ( HIMCC  )

Definition at line 201 of file utils.c.

202 {
203  if (block)
204  return LocalFree(block);
205  return NULL;
206 }
static unsigned int block
Definition: xmlmemory.c:118
HLOCAL NTAPI LocalFree(HLOCAL hMem)
Definition: heapmem.c:1577
#define NULL
Definition: types.h:112

Referenced by Imm32CleanupContext(), START_TEST(), test_ImmDestroyIMCC(), and test_ImmGetIMCCLockCount().

◆ ImmDestroySoftKeyboard()

BOOL WINAPI ImmDestroySoftKeyboard ( HWND  )

Definition at line 1333 of file imm.c.

1334 {
1335  TRACE("(%p)\n", hSoftWnd);
1336  return DestroyWindow(hSoftWnd);
1337 }
BOOL WINAPI DestroyWindow(_In_ HWND)
#define TRACE(s)
Definition: solgame.cpp:4

◆ ImmDisableIME()

BOOL WINAPI ImmDisableIME ( _In_ DWORD  idThread)

◆ ImmEnumInputContext()

BOOL WINAPI ImmEnumInputContext ( _In_  DWORD,
_In_  IMCENUMPROC,
_In_  LPARAM 
)

◆ ImmEnumRegisterWordA()

UINT WINAPI ImmEnumRegisterWordA ( _In_  HKL,
_In_  REGISTERWORDENUMPROCA,
_In_opt_ LPCSTR  lpszReading,
_In_  DWORD,
_In_opt_ LPCSTR  lpszRegister,
_In_  LPVOID 
)

◆ ImmEnumRegisterWordW()

UINT WINAPI ImmEnumRegisterWordW ( _In_  HKL,
_In_  REGISTERWORDENUMPROCW,
_In_opt_ LPCWSTR  lpszReading,
_In_  DWORD,
_In_opt_ LPCWSTR  lpszRegister,
_In_  LPVOID 
)

◆ ImmEscapeA()

LRESULT WINAPI ImmEscapeA ( _In_  HKL,
_In_  HIMC,
_In_  UINT,
_In_  LPVOID 
)

◆ ImmEscapeW()

LRESULT WINAPI ImmEscapeW ( _In_  HKL,
_In_  HIMC,
_In_  UINT,
_In_  LPVOID 
)

◆ ImmGenerateMessage()

BOOL WINAPI ImmGenerateMessage ( HIMC  )

Definition at line 431 of file keymsg.c.

432 {
433  PCLIENTIMC pClientImc;
434  LPINPUTCONTEXT pIC;
435  LPTRANSMSG pMsgs, pTrans = NULL, pItem;
436  HWND hWnd;
437  DWORD dwIndex, dwCount, cbTrans;
438  HIMCC hMsgBuf = NULL;
439  BOOL bAnsi;
440 
441  TRACE("(%p)\n", hIMC);
442 
443  if (Imm32IsCrossThreadAccess(hIMC))
444  return FALSE;
445 
446  pClientImc = ImmLockClientImc(hIMC);
447  if (pClientImc == NULL)
448  return FALSE;
449 
450  bAnsi = !(pClientImc->dwFlags & CLIENTIMC_WIDE);
451  ImmUnlockClientImc(pClientImc);
452 
453  pIC = ImmLockIMC(hIMC);
454  if (pIC == NULL)
455  return FALSE;
456 
457  dwCount = pIC->dwNumMsgBuf;
458  if (dwCount == 0)
459  goto Quit;
460 
461  hMsgBuf = pIC->hMsgBuf;
462  pMsgs = ImmLockIMCC(hMsgBuf);
463  if (pMsgs == NULL)
464  goto Quit;
465 
466  cbTrans = dwCount * sizeof(TRANSMSG);
467  pTrans = Imm32HeapAlloc(0, cbTrans);
468  if (pTrans == NULL)
469  goto Quit;
470 
471  RtlCopyMemory(pTrans, pMsgs, cbTrans);
472 
473 #ifdef IMM_NT3_SUPPORT
474  if (GetWin32ClientInfo()->dwExpWinVer < _WIN32_WINNT_NT4) /* old version (3.x)? */
475  {
477  WORD wLang = PRIMARYLANGID(LangID);
478 
479  /* translate the messages if Japanese or Korean */
480  if (wLang == LANG_JAPANESE ||
481  (wLang == LANG_KOREAN && NtUserGetAppImeLevel(pIC->hWnd) == 3))
482  {
483  dwCount = ImmNt3Trans(dwCount, pTrans, hIMC, bAnsi, wLang);
484  }
485  }
486 #endif
487 
488  /* send them */
489  hWnd = pIC->hWnd;
490  pItem = pTrans;
491  for (dwIndex = 0; dwIndex < dwCount; ++dwIndex, ++pItem)
492  {
493  if (bAnsi)
494  SendMessageA(hWnd, pItem->message, pItem->wParam, pItem->lParam);
495  else
496  SendMessageW(hWnd, pItem->message, pItem->wParam, pItem->lParam);
497  }
498 
499 Quit:
500  if (pTrans)
501  HeapFree(g_hImm32Heap, 0, pTrans);
502  if (hMsgBuf)
503  ImmUnlockIMCC(hMsgBuf);
504  pIC->dwNumMsgBuf = 0; /* done */
505  ImmUnlockIMC(hIMC);
506  return TRUE;
507 }
DWORD HIMCC
Definition: dimm.idl:76
LPVOID APIENTRY Imm32HeapAlloc(DWORD dwFlags, DWORD dwBytes)
Definition: utils.c:107
#define TRUE
Definition: types.h:120
LRESULT WINAPI SendMessageA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
LPINPUTCONTEXT WINAPI ImmLockIMC(HIMC hIMC)
Definition: imm.c:1134
HWND hWnd
Definition: settings.c:17
LPVOID WINAPI ImmLockIMCC(HIMCC imcc)
Definition: utils.c:211
WORD LANGID
Definition: typedefs.h:81
#define GetWin32ClientInfo()
Definition: ntuser.h:326
#define CLIENTIMC_WIDE
Definition: ntuser.h:1313
#define LANG_JAPANESE
Definition: nls.h:76
#define FALSE
Definition: types.h:117
unsigned int BOOL
Definition: ntddk_ex.h:94
#define _WIN32_WINNT_NT4
Definition: sdkddkver.h:20
LCID WINAPI GetSystemDefaultLCID(void)
Definition: lang.c:787
PCLIENTIMC WINAPI ImmLockClientImc(HIMC hImc)
Definition: imm.c:641
DWORD NTAPI NtUserGetAppImeLevel(HWND hWnd)
Definition: ime.c:98
#define TRACE(s)
Definition: solgame.cpp:4
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned long DWORD
Definition: ntddk_ex.h:95
struct _tagTRANSMSG TRANSMSG
HWND hWnd
Definition: imm.h:28
static BOOL Imm32IsCrossThreadAccess(HIMC hIMC)
Definition: precomp.h:79
BOOL WINAPI ImmUnlockIMCC(HIMCC imcc)
Definition: utils.c:221
HIMCC hMsgBuf
Definition: imm.h:45
#define LANGIDFROMLCID(l)
Definition: nls.h:18
HANDLE g_hImm32Heap
Definition: utils.c:17
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
DWORD dwNumMsgBuf
Definition: imm.h:44
#define NULL
Definition: types.h:112
DWORD dwFlags
Definition: ntuser.h:1295
#define RtlCopyMemory(Destination, Source, Length)
Definition: typedefs.h:263
#define LANG_KOREAN
Definition: nls.h:84
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ WDFREQUEST _In_opt_ PWDF_REQUEST_SEND_OPTIONS _Out_writes_opt_ NumCharacters PUSHORT _Inout_ PUSHORT _In_ UCHAR _In_opt_ USHORT LangID
Definition: wdfusb.h:1075
BOOL WINAPI ImmUnlockIMC(HIMC hIMC)
Definition: imm.c:1147
#define HeapFree(x, y, z)
Definition: compat.h:594
#define PRIMARYLANGID(l)
Definition: nls.h:16
VOID WINAPI ImmUnlockClientImc(PCLIENTIMC pClientImc)
Definition: imm.c:683

Referenced by test_ImmMessages(), and test_InvalidIMC().

◆ ImmGetCandidateListA()

DWORD WINAPI ImmGetCandidateListA ( _In_  HIMC,
_In_ DWORD  deIndex,
_Out_writes_bytes_opt_(dwBufLen) LPCANDIDATELIST  lpCandList,
_In_ DWORD  dwBufLen 
)

◆ ImmGetCandidateListCountA()

DWORD WINAPI ImmGetCandidateListCountA ( _In_  HIMC,
_Out_  LPDWORD 
)

◆ ImmGetCandidateListCountW()

DWORD WINAPI ImmGetCandidateListCountW ( _In_  HIMC,
_Out_  LPDWORD 
)

◆ ImmGetCandidateListW()

DWORD WINAPI ImmGetCandidateListW ( _In_  HIMC,
_In_ DWORD  deIndex,
_Out_writes_bytes_opt_(dwBufLen) LPCANDIDATELIST  lpCandList,
_In_ DWORD  dwBufLen 
)

◆ ImmGetCandidateWindow()

BOOL WINAPI ImmGetCandidateWindow ( _In_  HIMC,
_In_  DWORD,
_Out_ LPCANDIDATEFORM  lpCandidate 
)

◆ ImmGetCompositionStringA()

LONG WINAPI ImmGetCompositionStringA ( _In_  HIMC,
_In_  DWORD,
_Out_writes_bytes_opt_(dwBufLen) LPVOID  lpBuf,
_In_ DWORD  dwBufLen 
)

◆ ImmGetCompositionStringW()

LONG WINAPI ImmGetCompositionStringW ( _In_  HIMC,
_In_  DWORD,
_Out_writes_bytes_opt_(dwBufLen) LPVOID  lpBuf,
_In_ DWORD  dwBufLen 
)

◆ ImmGetCompositionWindow()

BOOL WINAPI ImmGetCompositionWindow ( _In_  HIMC,
_Out_  LPCOMPOSITIONFORM 
)

◆ ImmGetContext()

HIMC WINAPI ImmGetContext ( _In_  HWND)

◆ ImmGetConversionListA()

DWORD WINAPI ImmGetConversionListA ( _In_  HKL,
_In_  HIMC,
_In_ LPCSTR  lpSrc,
_Out_writes_bytes_(dwBufLen) LPCANDIDATELIST  lpDst,
_In_ DWORD  dwBufLen,
_In_ UINT  uFlag 
)

◆ ImmGetConversionListW()

DWORD WINAPI ImmGetConversionListW ( _In_  HKL,
_In_  HIMC,
_In_ LPCWSTR  lpSrc,
_Out_writes_bytes_(dwBufLen) LPCANDIDATELIST  lpDst,
_In_ DWORD  dwBufLen,
_In_ UINT  uFlag 
)

◆ ImmGetConversionStatus()

BOOL WINAPI ImmGetConversionStatus ( _In_  HIMC,
_Out_opt_ LPDWORD  lpfdwConversion,
_Out_opt_ LPDWORD  lpfdwSentence 
)

◆ ImmGetDefaultIMEWnd()

HWND WINAPI ImmGetDefaultIMEWnd ( _In_  HWND)

◆ ImmGetDescriptionA()

UINT WINAPI ImmGetDescriptionA ( _In_  HKL,
_Out_writes_opt_(uBufLen) LPSTR  lpszDescription,
_In_ UINT  uBufLen 
)

◆ ImmGetDescriptionW()

UINT WINAPI ImmGetDescriptionW ( _In_  HKL,
_Out_writes_opt_(uBufLen) LPWSTR  lpszDescription,
_In_ UINT  uBufLen 
)

◆ ImmGetGuideLineA()

DWORD WINAPI ImmGetGuideLineA ( _In_  HIMC,
_In_ DWORD  dwIndex,
_Out_writes_bytes_opt_(dwBufLen) LPSTR  lpBuf,
_In_ DWORD  dwBufLen 
)

◆ ImmGetGuideLineW()

DWORD WINAPI ImmGetGuideLineW ( _In_  HIMC,
_In_ DWORD  dwIndex,
_Out_writes_bytes_opt_(dwBufLen) LPWSTR  lpBuf,
_In_ DWORD  dwBufLen 
)

◆ ImmGetIMCCLockCount()

DWORD WINAPI ImmGetIMCCLockCount ( HIMCC  )

Definition at line 231 of file utils.c.

232 {
233  return LocalFlags(imcc) & LMEM_LOCKCOUNT;
234 }
#define LMEM_LOCKCOUNT
Definition: winbase.h:376
UINT NTAPI LocalFlags(HLOCAL hMem)
Definition: heapmem.c:1503

Referenced by START_TEST(), test_ImmDestroyIMCC(), and test_ImmGetIMCCLockCount().

◆ ImmGetIMCCSize()

DWORD WINAPI ImmGetIMCCSize ( HIMCC  )

Definition at line 249 of file utils.c.

250 {
251  if (imcc)
252  return LocalSize(imcc);
253  return 0;
254 }
SIZE_T NTAPI LocalSize(HLOCAL hMem)
Definition: heapmem.c:1777

Referenced by START_TEST(), and test_ImmDestroyIMCC().

◆ ImmGetIMCLockCount()

DWORD WINAPI ImmGetIMCLockCount ( HIMC  )

Definition at line 259 of file utils.c.

260 {
261  DWORD ret;
262  HIMC hClientImc;
263  PCLIENTIMC pClientImc;
264 
265  pClientImc = ImmLockClientImc(hIMC);
266  if (pClientImc == NULL)
267  return 0;
268 
269  ret = 0;
270  hClientImc = pClientImc->hImc;
271  if (hClientImc)
272  ret = (LocalFlags(hClientImc) & LMEM_LOCKCOUNT);
273 
274  ImmUnlockClientImc(pClientImc);
275  return ret;
276 }
HIMC hImc
Definition: ntuser.h:1293
#define LMEM_LOCKCOUNT
Definition: winbase.h:376
PCLIENTIMC WINAPI ImmLockClientImc(HIMC hImc)
Definition: imm.c:641
DWORD HIMC
Definition: dimm.idl:75
unsigned long DWORD
Definition: ntddk_ex.h:95
int ret
#define NULL
Definition: types.h:112
UINT NTAPI LocalFlags(HLOCAL hMem)
Definition: heapmem.c:1503
VOID WINAPI ImmUnlockClientImc(PCLIENTIMC pClientImc)
Definition: imm.c:683

Referenced by test_ImmDestroyContext(), and test_ImmGetIMCLockCount().

◆ ImmGetIMEFileNameA()

UINT WINAPI ImmGetIMEFileNameA ( _In_  HKL,
_Out_writes_opt_(uBufLen) LPSTR  lpszFileName,
_In_ UINT  uBufLen 
)

◆ ImmGetIMEFileNameW()

UINT WINAPI ImmGetIMEFileNameW ( _In_  HKL,
_Out_writes_opt_(uBufLen) LPWSTR  lpszFileName,
_In_ UINT  uBufLen 
)

◆ ImmGetImeMenuItemsA()

DWORD WINAPI ImmGetImeMenuItemsA ( _In_  HIMC,
_In_  DWORD,
_In_  DWORD,
_Out_opt_ LPIMEMENUITEMINFOA  lpImeParentMenu,
_Out_writes_bytes_opt_(dwSize) LPIMEMENUITEMINFOA  lpImeMenu,
_In_ DWORD  dwSize 
)

◆ ImmGetImeMenuItemsW()

DWORD WINAPI ImmGetImeMenuItemsW ( _In_  HIMC,
_In_  DWORD,
_In_  DWORD,
_Out_opt_ LPIMEMENUITEMINFOW  lpImeParentMenu,
_Out_writes_bytes_opt_(dwSize) LPIMEMENUITEMINFOW  lpImeMenu,
_In_ DWORD  dwSize 
)

◆ ImmGetOpenStatus()

BOOL WINAPI ImmGetOpenStatus ( _In_  HIMC)

◆ ImmGetProperty()

DWORD WINAPI ImmGetProperty ( _In_  HKL,
_In_  DWORD 
)

◆ ImmGetRegisterWordStyleA()

UINT WINAPI ImmGetRegisterWordStyleA ( _In_  HKL,
_In_ UINT  nItem,
_Out_writes_(nItem) LPSTYLEBUFA  lpStyleBuf 
)

◆ ImmGetRegisterWordStyleW()

UINT WINAPI ImmGetRegisterWordStyleW ( _In_  HKL,
_In_ UINT  nItem,
_Out_writes_(nItem) LPSTYLEBUFW  lpStyleBuf 
)

◆ ImmGetStatusWindowPos()

BOOL WINAPI ImmGetStatusWindowPos ( _In_  HIMC,
_Out_  LPPOINT 
)

◆ ImmGetVirtualKey()

UINT WINAPI ImmGetVirtualKey ( _In_  HWND)

◆ ImmInstallIMEA()

HKL WINAPI ImmInstallIMEA ( _In_  LPCSTR,
_In_  LPCSTR 
)

◆ ImmInstallIMEW()

HKL WINAPI ImmInstallIMEW ( _In_  LPCWSTR,
_In_  LPCWSTR 
)

◆ ImmIsIME()

BOOL WINAPI ImmIsIME ( _In_  HKL)

◆ ImmIsUIMessageA()

BOOL WINAPI ImmIsUIMessageA ( _In_  HWND,
_In_  UINT,
_In_  WPARAM,
_In_  LPARAM 
)

◆ ImmIsUIMessageW()

BOOL WINAPI ImmIsUIMessageW ( _In_  HWND,
_In_  UINT,
_In_  WPARAM,
_In_  LPARAM 
)

◆ ImmLockIMCC()

LPVOID WINAPI ImmLockIMCC ( HIMCC  )

Definition at line 211 of file utils.c.

212 {
213  if (imcc)
214  return LocalLock(imcc);
215  return NULL;
216 }
LPVOID NTAPI LocalLock(HLOCAL hMem)
Definition: heapmem.c:1599
#define NULL
Definition: types.h:112

Referenced by ImmGenerateMessage(), ImmGetCandidateListAW(), ImmGetCandidateListCountAW(), ImmGetCompositionStringT(), ImmGetGuideLineAW(), ImmTranslateMessage(), test_ImmDestroyIMCC(), test_ImmGetIMCCLockCount(), and test_ImmMessages().

◆ ImmNotifyIME()

BOOL WINAPI ImmNotifyIME ( _In_  HIMC,
_In_  DWORD,
_In_  DWORD,
_In_  DWORD 
)

◆ ImmProcessKey()

DWORD WINAPI ImmProcessKey ( HWND  ,
HKL  ,
UINT  ,
LPARAM  ,
DWORD   
)

Definition at line 352 of file keymsg.c.

353 {
354  DWORD ret = 0;
355  HIMC hIMC;
356  PIMEDPI pImeDpi;
357  LPINPUTCONTEXTDX pIC;
358  BYTE KeyState[256];
359  UINT vk;
360  BOOL bUseIme = TRUE, bSkipThisKey = FALSE, bLowWordOnly = FALSE;
361 
362  TRACE("(%p, %p, 0x%X, %p, 0x%lX)\n", hWnd, hKL, vKey, lParam, dwHotKeyID);
363 
364  hIMC = ImmGetContext(hWnd);
365  pImeDpi = ImmLockImeDpi(hKL);
366  if (pImeDpi)
367  {
368  pIC = (LPINPUTCONTEXTDX)ImmLockIMC(hIMC);
369  if (pIC)
370  {
371  if (LOBYTE(vKey) == VK_PACKET &&
373  {
374  if (pImeDpi->ImeInfo.fdwProperty & IME_PROP_UNICODE)
375  {
376  bLowWordOnly = TRUE;
377  }
378  else
379  {
380  bUseIme = FALSE;
381  if (pIC->fOpen)
382  bSkipThisKey = TRUE;
383  }
384  }
385 
386  if (bUseIme)
387  {
388  if (GetKeyboardState(KeyState))
389  {
390  vk = (bLowWordOnly ? LOWORD(vKey) : vKey);
391  if (pImeDpi->ImeProcessKey(hIMC, vk, lParam, KeyState))
392  {
393  pIC->bNeedsTrans = TRUE;
394  pIC->nVKey = vKey;
396  }
397  }
398  }
399  else if (bSkipThisKey)
400  {
402  }
403 
404  ImmUnlockIMC(hIMC);
405  }
406 
407  ImmUnlockImeDpi(pImeDpi);
408  }
409 
410  if (dwHotKeyID != INVALID_HOTKEY_ID)
411  {
412  if (Imm32ProcessHotKey(hWnd, hIMC, hKL, dwHotKeyID))
413  {
414  if (vKey != VK_KANJI || dwHotKeyID != IME_JHOTKEY_CLOSE_OPEN)
415  ret |= IPHK_HOTKEY;
416  }
417  }
418 
419  if (ret & IPHK_PROCESSBYIME)
420  {
421  FIXME("TODO: We have to do something here.\n");
422  }
423 
424  ImmReleaseContext(hWnd, hIMC);
425  return ret;
426 }
VOID WINAPI ImmUnlockImeDpi(PIMEDPI pImeDpi)
Definition: ime.c:426
IMEINFO ImeInfo
Definition: ntuser.h:1243
#define VK_KANJI
Definition: winuser.h:2189
#define LOBYTE(W)
Definition: jmemdos.c:487
#define TRUE
Definition: types.h:120
LPINPUTCONTEXT WINAPI ImmLockIMC(HIMC hIMC)
Definition: imm.c:1134
WORD vk
Definition: input.c:77
HWND hWnd
Definition: settings.c:17
BOOL APIENTRY Imm32ProcessHotKey(HWND hWnd, HIMC hIMC, HKL hKL, DWORD dwHotKeyID)
Definition: keymsg.c:183
#define IPHK_PROCESSBYIME
Definition: undocuser.h:139
#define FALSE
Definition: types.h:117
unsigned int BOOL
Definition: ntddk_ex.h:94
BOOL bNeedsTrans
Definition: imm.h:94
UINT nVKey
Definition: imm.h:93
#define FIXME(fmt,...)
Definition: debug.h:111
DWORD HIMC
Definition: dimm.idl:75
#define TRACE(s)
Definition: solgame.cpp:4
DWORD fdwProperty
Definition: imm.h:158
HIMC WINAPI ImmGetContext(HWND hWnd)
Definition: imm.c:1030
PIMEDPI WINAPI ImmLockImeDpi(HKL hKL)
Definition: ime.c:397
unsigned long DWORD
Definition: ntddk_ex.h:95
_Check_return_ BOOL WINAPI GetKeyboardState(_Out_writes_(256) PBYTE lpKeyState)
int ret
unsigned char BYTE
Definition: xxhash.c:193
BOOL WINAPI ImmReleaseContext(HWND hWnd, HIMC hIMC)
Definition: imm.c:1198
#define IME_JHOTKEY_CLOSE_OPEN
Definition: imm.h:335
#define IME_PROP_UNICODE
Definition: imm.h:392
#define IPHK_SKIPTHISKEY
Definition: undocuser.h:141
unsigned int UINT
Definition: ndis.h:50
#define IPHK_HOTKEY
Definition: undocuser.h:138
#define INVALID_HOTKEY_ID
Definition: precomp.h:50
#define IME_PROP_ACCEPT_WIDE_VKEY
Definition: imm.h:221
BOOL WINAPI ImmUnlockIMC(HIMC hIMC)
Definition: imm.c:1147
LPARAM lParam
Definition: combotst.c:139
#define LOWORD(l)
Definition: pedump.c:82
struct INPUTCONTEXTDX * LPINPUTCONTEXTDX

◆ ImmRegisterWordA()

BOOL WINAPI ImmRegisterWordA ( _In_  HKL,
_In_ LPCSTR  lpszReading,
_In_  DWORD,
_In_ LPCSTR  lpszRegister 
)

◆ ImmRegisterWordW()

BOOL WINAPI ImmRegisterWordW ( _In_  HKL,
_In_ LPCWSTR  lpszReading,
_In_  DWORD,
_In_ LPCWSTR  lpszRegister 
)

◆ ImmReleaseContext()

BOOL WINAPI ImmReleaseContext ( _In_  HWND,
_In_  HIMC 
)

◆ ImmRequestMessageA()

LRESULT WINAPI ImmRequestMessageA ( HIMC  ,
WPARAM  ,
LPARAM   
)

Definition at line 1168 of file imm.c.

1169 {
1171 
1172  TRACE("%p %ld %ld\n", hIMC, wParam, wParam);
1173 
1174  if (data) return SendMessageA(data->IMC.hWnd, WM_IME_REQUEST, wParam, lParam);
1175 
1177  return 0;
1178 }
LRESULT WINAPI SendMessageA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
#define ERROR_INVALID_HANDLE
Definition: compat.h:98
WPARAM wParam
Definition: combotst.c:138
static InputContextData * get_imc_data(HIMC hIMC)
Definition: imm.c:282
#define WM_IME_REQUEST
Definition: winuser.h:1819
#define TRACE(s)
Definition: solgame.cpp:4
#define SetLastError(x)
Definition: compat.h:611
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
LPARAM lParam
Definition: combotst.c:139

Referenced by test_InvalidIMC().

◆ ImmRequestMessageW()

LRESULT WINAPI ImmRequestMessageW ( HIMC  ,
WPARAM  ,
LPARAM   
)

Definition at line 1183 of file imm.c.

1184 {
1186 
1187  TRACE("%p %ld %ld\n", hIMC, wParam, wParam);
1188 
1189  if (data) return SendMessageW(data->IMC.hWnd, WM_IME_REQUEST, wParam, lParam);
1190 
1192  return 0;
1193 }
#define ERROR_INVALID_HANDLE
Definition: compat.h:98
WPARAM wParam
Definition: combotst.c:138
static InputContextData * get_imc_data(HIMC hIMC)
Definition: imm.c:282
#define WM_IME_REQUEST
Definition: winuser.h:1819
#define TRACE(s)
Definition: solgame.cpp:4
#define SetLastError(x)
Definition: compat.h:611
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
LPARAM lParam
Definition: combotst.c:139

◆ ImmReSizeIMCC()

HIMCC WINAPI ImmReSizeIMCC ( HIMCC  ,
DWORD   
)

Definition at line 239 of file utils.c.

240 {
241  if (!imcc)
242  return NULL;
243  return LocalReAlloc(imcc, size, LHND);
244 }
GLsizeiptr size
Definition: glext.h:5919
HLOCAL NTAPI LocalReAlloc(HLOCAL hMem, SIZE_T dwBytes, UINT uFlags)
Definition: heapmem.c:1608
#define LHND
Definition: winbase.h:379
#define NULL
Definition: types.h:112

Referenced by test_ImmMessages().

◆ ImmSetCandidateWindow()

BOOL WINAPI ImmSetCandidateWindow ( _In_  HIMC,
_In_  LPCANDIDATEFORM 
)

◆ ImmSetCompositionStringA()

BOOL WINAPI ImmSetCompositionStringA ( _In_  HIMC,
_In_ DWORD  dwIndex,
_In_reads_bytes_opt_(dwCompLen) LPCVOID  lpComp,
_In_ DWORD  dwCompLen,
_In_reads_bytes_opt_(dwReadLen) LPCVOID  lpRead,
_In_ DWORD  dwReadLen 
)

◆ ImmSetCompositionStringW()

BOOL WINAPI ImmSetCompositionStringW ( _In_  HIMC,
_In_ DWORD  dwIndex,
_In_reads_bytes_opt_(dwCompLen) LPCVOID  lpComp,
_In_ DWORD  dwCompLen,
_In_reads_bytes_opt_(dwReadLen) LPCVOID  lpRead,
_In_ DWORD  dwReadLen 
)

◆ ImmSetCompositionWindow()

BOOL WINAPI ImmSetCompositionWindow ( _In_  HIMC,
_In_  LPCOMPOSITIONFORM 
)

◆ ImmSetConversionStatus()

BOOL WINAPI ImmSetConversionStatus ( _In_  HIMC,
_In_  DWORD,
_In_  DWORD 
)

◆ ImmSetOpenStatus()

BOOL WINAPI ImmSetOpenStatus ( _In_  HIMC,
_In_  BOOL 
)

◆ ImmSetStatusWindowPos()

BOOL WINAPI ImmSetStatusWindowPos ( _In_  HIMC,
_In_  LPPOINT 
)

◆ ImmShowSoftKeyboard()

BOOL WINAPI ImmShowSoftKeyboard ( HWND  ,
int   
)

Definition at line 1342 of file imm.c.

1343 {
1344  TRACE("(%p, %d)\n", hSoftWnd, nCmdShow);
1345  if (hSoftWnd)
1346  return ShowWindow(hSoftWnd, nCmdShow);
1347  return FALSE;
1348 }
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
#define FALSE
Definition: types.h:117
#define TRACE(s)
Definition: solgame.cpp:4

◆ ImmSimulateHotKey()

BOOL WINAPI ImmSimulateHotKey ( _In_  HWND,
_In_  DWORD 
)

◆ ImmTranslateMessage()

BOOL WINAPI ImmTranslateMessage ( HWND  ,
UINT  ,
WPARAM  ,
LPARAM   
)

Definition at line 569 of file keymsg.c.

570 {
571 #define MSG_COUNT 0x100
572  BOOL ret = FALSE;
573  INT kret;
574  LPINPUTCONTEXTDX pIC;
575  PIMEDPI pImeDpi = NULL;
577  LPTRANSMSG pTransMsg;
578  BYTE abKeyState[256];
579  HIMC hIMC;
580  HKL hKL;
581  UINT vk;
582  DWORD dwThreadId, dwCount, cbList;
583  WCHAR wch;
584  WORD wChar;
585 
586  TRACE("(%p, 0x%X, %p, %p)\n", hwnd, msg, wParam, lKeyData);
587 
588  /* filter the message */
589  switch (msg)
590  {
591  case WM_KEYDOWN: case WM_KEYUP: case WM_SYSKEYDOWN: case WM_SYSKEYUP:
592  break;
593  default:
594  return FALSE;
595  }
596 
597  hIMC = ImmGetContext(hwnd);
598  pIC = (LPINPUTCONTEXTDX)ImmLockIMC(hIMC);
599  if (pIC == NULL)
600  {
601  ImmReleaseContext(hwnd, hIMC);
602  return FALSE;
603  }
604 
605  if (!pIC->bNeedsTrans) /* is translation needed? */
606  {
607  /* directly post them */
608  dwCount = pIC->dwNumMsgBuf;
609  if (dwCount == 0)
610  goto Quit;
611 
612  pTransMsg = ImmLockIMCC(pIC->hMsgBuf);
613  if (pTransMsg)
614  {
615  Imm32PostMessages(hwnd, hIMC, dwCount, pTransMsg);
616  ImmUnlockIMCC(pIC->hMsgBuf);
617  ret = TRUE;
618  }
619  pIC->dwNumMsgBuf = 0; /* done */
620  goto Quit;
621  }
622  pIC->bNeedsTrans = FALSE; /* clear the flag */
623 
626  pImeDpi = ImmLockImeDpi(hKL);
627  if (pImeDpi == NULL)
628  goto Quit;
629 
630  if (!GetKeyboardState(abKeyState)) /* get keyboard ON/OFF status */
631  goto Quit;
632 
633  /* convert a virtual key if IME_PROP_KBD_CHAR_FIRST */
634  vk = pIC->nVKey;
636  {
637  if (pImeDpi->ImeInfo.fdwProperty & IME_PROP_UNICODE)
638  {
639  wch = 0;
640  kret = ToUnicode(vk, HIWORD(lKeyData), abKeyState, &wch, 1, 0);
641  if (kret == 1)
642  vk = MAKELONG(LOBYTE(vk), wch);
643  }
644  else
645  {
646  wChar = 0;
647  kret = ToAsciiEx(vk, HIWORD(lKeyData), abKeyState, &wChar, 0, hKL);
648  if (kret > 0)
649  vk = MAKEWORD(vk, wChar);
650  }
651  }
652 
653  /* allocate a list */
654  cbList = offsetof(TRANSMSGLIST, TransMsg) + MSG_COUNT * sizeof(TRANSMSG);
655  pList = Imm32HeapAlloc(0, cbList);
656  if (!pList)
657  goto Quit;
658 
659  /* use IME conversion engine and convert the list */
660  pList->uMsgCount = MSG_COUNT;
661  kret = pImeDpi->ImeToAsciiEx(vk, HIWORD(lKeyData), abKeyState, pList, 0, hIMC);
662  if (kret <= 0)
663  goto Quit;
664 
665  /* post them */
666  if (kret <= MSG_COUNT)
667  {
668  Imm32PostMessages(hwnd, hIMC, kret, pList->TransMsg);
669  ret = TRUE;
670  }
671  else
672  {
673  pTransMsg = ImmLockIMCC(pIC->hMsgBuf);
674  if (pTransMsg == NULL)
675  goto Quit;
676  Imm32PostMessages(hwnd, hIMC, kret, pTransMsg);
677  ImmUnlockIMCC(pIC->hMsgBuf);
678  }
679 
680 Quit:
681  if (pList)
683  ImmUnlockImeDpi(pImeDpi);
684  ImmUnlockIMC(hIMC);
685  ImmReleaseContext(hwnd, hIMC);
686  return ret;
687 #undef MSG_COUNT
688 }
VOID WINAPI ImmUnlockImeDpi(PIMEDPI pImeDpi)
Definition: ime.c:426
#define IME_PROP_KBD_CHAR_FIRST
Definition: imm.h:217
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
IMEINFO ImeInfo
Definition: ntuser.h:1243
LPVOID APIENTRY Imm32HeapAlloc(DWORD dwFlags, DWORD dwBytes)
Definition: utils.c:107
#define LOBYTE(W)
Definition: jmemdos.c:487
#define MAKEWORD(a, b)
Definition: typedefs.h:248
#define TRUE
Definition: types.h:120
LPINPUTCONTEXT WINAPI ImmLockIMC(HIMC hIMC)
Definition: imm.c:1134
WORD vk
Definition: input.c:77
LPVOID WINAPI ImmLockIMCC(HIMCC imcc)
Definition: utils.c:211
int32_t INT
Definition: typedefs.h:58
WPARAM wParam
Definition: combotst.c:138
#define FALSE
Definition: types.h:117
unsigned int BOOL
Definition: ntddk_ex.h:94
FxChildList * pList
BOOL bNeedsTrans
Definition: imm.h:94
UINT nVKey
Definition: imm.h:93
DWORD WINAPI GetWindowThreadProcessId(HWND, PDWORD)
#define MAKELONG(a, b)
Definition: typedefs.h:249
#define offsetof(TYPE, MEMBER)
#define WM_KEYDOWN
Definition: winuser.h:1698
DWORD HIMC
Definition: dimm.idl:75
#define TRACE(s)
Definition: solgame.cpp:4
__wchar_t WCHAR
Definition: xmlstorage.h:180
DWORD fdwProperty
Definition: imm.h:158
HIMC WINAPI ImmGetContext(HWND hWnd)
Definition: imm.c:1030
PIMEDPI WINAPI ImmLockImeDpi(HKL hKL)
Definition: ime.c:397
#define WM_KEYUP
Definition: winuser.h:1699
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned long DWORD
Definition: ntddk_ex.h:95
struct _tagTRANSMSG TRANSMSG
_Check_return_ BOOL WINAPI GetKeyboardState(_Out_writes_(256) PBYTE lpKeyState)
#define MSG_COUNT
BOOL WINAPI ImmUnlockIMCC(HIMCC imcc)
Definition: utils.c:221
int ret
DWORD dwThreadId
Definition: fdebug.c:31
UINT_PTR HKL
Definition: msctf.idl:101
unsigned char BYTE
Definition: xxhash.c:193
int WINAPI ToAsciiEx(_In_ UINT, _In_ UINT, _In_reads_opt_(256) CONST BYTE *, _Out_ LPWORD, _In_ UINT, _In_opt_ HKL)
BOOL WINAPI ImmReleaseContext(HWND hWnd, HIMC hIMC)
Definition: imm.c:1198
HANDLE g_hImm32Heap
Definition: utils.c:17
#define IME_PROP_UNICODE
Definition: imm.h:392
#define WM_SYSKEYUP
Definition: winuser.h:1703
PKEYBOARD_LAYOUT GetKeyboardLayout()
Definition: utils.c:194
unsigned int UINT
Definition: ndis.h:50
#define NULL
Definition: types.h:112
VOID APIENTRY Imm32PostMessages(HWND hwnd, HIMC hIMC, DWORD dwCount, LPTRANSMSG lpTransMsg)
Definition: keymsg.c:510
int WINAPI ToUnicode(_In_ UINT wVirtKey, _In_ UINT wScanCode, _In_reads_bytes_opt_(256) CONST BYTE *lpKeyState, _Out_writes_(cchBuff) LPWSTR pwszBuff, _In_ int cchBuff, _In_ UINT wFlags)
#define msg(x)
Definition: auth_time.c:54
#define WM_SYSKEYDOWN
Definition: winuser.h:1702
#define HIWORD(l)
Definition: typedefs.h:247
BOOL WINAPI ImmUnlockIMC(HIMC hIMC)
Definition: imm.c:1147
#define HeapFree(x, y, z)
Definition: compat.h:594
struct INPUTCONTEXTDX * LPINPUTCONTEXTDX

◆ ImmUnlockIMC()

BOOL WINAPI ImmUnlockIMC ( HIMC  )

Definition at line 1147 of file imm.c.

1148 {
1149  PCLIENTIMC pClientImc;
1150  HIMC hClientImc;
1151 
1152  pClientImc = ImmLockClientImc(hIMC);
1153  if (pClientImc == NULL)
1154  return FALSE;
1155 
1156  hClientImc = pClientImc->hImc;
1157  if (hClientImc)
1158  LocalUnlock(hClientImc);
1159 
1160  InterlockedDecrement(&pClientImc->cLockObj);
1161  ImmUnlockClientImc(pClientImc);
1162  return TRUE;
1163 }
HIMC hImc
Definition: ntuser.h:1293
BOOL NTAPI LocalUnlock(HLOCAL hMem)
Definition: heapmem.c:1788
#define TRUE
Definition: types.h:120
LONG cLockObj
Definition: ntuser.h:1294
#define FALSE
Definition: types.h:117
PCLIENTIMC WINAPI ImmLockClientImc(HIMC hImc)
Definition: imm.c:641
DWORD HIMC
Definition: dimm.idl:75
#define InterlockedDecrement
Definition: armddk.h:52
#define NULL
Definition: types.h:112
VOID WINAPI ImmUnlockClientImc(PCLIENTIMC pClientImc)
Definition: imm.c:683

Referenced by Imm32CleanupContext(), Imm32CShapeToggle(), Imm32CSymbolToggle(), Imm32ImeNonImeToggle(), Imm32KEnglish(), Imm32KHanjaConvert(), Imm32KShapeToggle(), ImmGenerateMessage(), ImmGetCandidateListAW(), ImmGetCandidateListCountAW(), ImmGetCandidateWindow(), ImmGetCompositionFontA(), ImmGetCompositionFontW(), ImmGetCompositionWindow(), ImmGetConversionStatus(), ImmGetGuideLineAW(), ImmGetOpenStatus(), ImmGetStatusWindowPos(), ImmGetVirtualKey(), ImmProcessKey(), ImmSetCandidateWindow(), ImmSetCompositionFontA(), ImmSetCompositionFontW(), ImmSetCompositionWindow(), ImmSetConversionStatus(), ImmSetOpenStatus(), ImmSetStatusWindowPos(), ImmTranslateMessage(), test_ImmDestroyContext(), test_ImmGetIMCLockCount(), test_ImmMessages(), and test_InvalidIMC().

◆ ImmUnlockIMCC()

BOOL WINAPI ImmUnlockIMCC ( HIMCC  )

Definition at line 221 of file utils.c.

222 {
223  if (imcc)
224  return LocalUnlock(imcc);
225  return FALSE;
226 }
BOOL NTAPI LocalUnlock(HLOCAL hMem)
Definition: heapmem.c:1788
#define FALSE
Definition: types.h:117

Referenced by ImmGenerateMessage(), ImmGetCandidateListAW(), ImmGetCandidateListCountAW(), ImmGetCompositionStringT(), ImmGetGuideLineAW(), ImmTranslateMessage(), test_ImmDestroyIMCC(), test_ImmGetIMCCLockCount(), and test_ImmMessages().

◆ ImmUnregisterWordA()

BOOL WINAPI ImmUnregisterWordA ( _In_  HKL,
_In_ LPCSTR  lpszReading,
_In_  DWORD,
_In_ LPCSTR  lpszUnregister 
)

◆ ImmUnregisterWordW()

BOOL WINAPI ImmUnregisterWordW ( _In_  HKL,
_In_ LPCWSTR  lpszReading,
_In_  DWORD,
_In_ LPCWSTR  lpszUnregister 
)

◆ NotifyIME()

BOOL WINAPI NotifyIME ( HIMC  ,
DWORD  ,
DWORD  ,
DWORD   
)

Referenced by IMM_GetImmHkl().