ReactOS 0.4.15-dev-7934-g1dc8d80
immdev.h File Reference
#include <wingdi.h>
#include <imm.h>
Include dependency graph for immdev.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _tagIMEINFO
 
struct  tagCANDIDATEINFO
 
struct  tagSOFTKBDDATA
 
struct  tagCOMPOSITIONSTRING
 
struct  tagGUIDELINE
 
struct  _tagINPUTCONTEXT
 
struct  _tagTRANSMSG
 
struct  _tagTRANSMSGLIST
 

Macros

#define IMC_GETCONVERSIONMODE   0x0001
 
#define IMC_GETSENTENCEMODE   0x0003
 
#define IMC_GETOPENSTATUS   0x0005
 
#define IMC_GETSOFTKBDFONT   0x0011
 
#define IMC_SETSOFTKBDFONT   0x0012
 
#define IMC_GETSOFTKBDPOS   0x0013
 
#define IMC_SETSOFTKBDPOS   0x0014
 
#define IMC_GETSOFTKBDSUBTYPE   0x0015
 
#define IMC_SETSOFTKBDSUBTYPE   0x0016
 
#define IMC_SETSOFTKBDDATA   0x0018
 
#define IMS_NOTIFYIMESHOW   0x05
 
#define IMS_UPDATEIMEUI   0x06
 
#define IMS_SETCANDFORM   0x09
 
#define IMS_SETCOMPFONT   0x0A
 
#define IMS_SETCOMPFORM   0x0B
 
#define IMS_CONFIGURE   0x0D
 
#define IMS_SETOPENSTATUS   0x0F
 
#define IMS_FREELAYOUT   0x11
 
#define IMS_GETCONVSTATUS   0x14
 
#define IMS_IMEHELP   0x15
 
#define IMS_IMEACTIVATE   0x17
 
#define IMS_IMEDEACTIVATE   0x18
 
#define IMS_ACTIVATELAYOUT   0x19
 
#define IMS_GETIMEMENU   0x1C
 
#define IMS_GETCONTEXT   0x1E
 
#define IMS_SENDNOTIFICATION   0x1F
 
#define IMS_COMPLETECOMPSTR   0x20
 
#define IMS_LOADTHREADLAYOUT   0x21
 
#define IMS_SETLANGBAND   0x23
 
#define IMS_UNSETLANGBAND   0x24
 
#define IMN_SOFTKBDDESTROYED   0x0011
 
#define IMMGWL_IMC   0
 
#define IMMGWL_PRIVATE   (sizeof(LONG))
 
#define IMMGWLP_IMC   0
 
#define IMMGWLP_PRIVATE   (sizeof(LONG_PTR))
 
#define INIT_STATUSWNDPOS   0x00000001
 
#define INIT_CONVERSION   0x00000002
 
#define INIT_SENTENCE   0x00000004
 
#define INIT_LOGFONT   0x00000008
 
#define INIT_COMPFORM   0x00000010
 
#define INIT_SOFTKBDPOS   0x00000020
 
#define INIT_GUIDMAP   0x00000040
 
#define INPUTCONTEXTDX_CHANGE_OPEN   0x1
 
#define INPUTCONTEXTDX_CHANGE_CONVERSION   0x2
 
#define INPUTCONTEXTDX_CHANGE_SENTENCE   0x4
 
#define INPUTCONTEXTDX_CHANGE_FORCE_OPEN   0x100
 
#define WM_IME_REPORT   0x280
 
#define IR_STRINGSTART   0x100
 
#define IR_STRINGEND   0x101
 
#define IR_OPENCONVERT   0x120
 
#define IR_CHANGECONVERT   0x121
 
#define IR_CLOSECONVERT   0x122
 
#define IR_FULLCONVERT   0x123
 
#define IR_IMESELECT   0x130
 
#define IR_STRING   0x140
 
#define IR_DBCSCHAR   0x160
 
#define IR_UNDETERMINE   0x170
 
#define IR_STRINGEX   0x180
 
#define IR_MODEINFO   0x190
 
#define ImmRequestMessage   ImmRequestMessageA
 
#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 IME_SYSINFO_WINLOGON   0x0001
 
#define IME_SYSINFO_WOW16   0x0002
 

Typedefs

typedef struct _tagIMEINFO IMEINFO
 
typedef struct _tagIMEINFOPIMEINFO
 
typedef struct _tagIMEINFONPIMEINFO
 
typedef struct _tagIMEINFOLPIMEINFO
 
typedef struct tagCANDIDATEINFO CANDIDATEINFO
 
typedef struct tagCANDIDATEINFOPCANDIDATEINFO
 
typedef struct tagCANDIDATEINFONPCANDIDATEINFO
 
typedef struct tagCANDIDATEINFOLPCANDIDATEINFO
 
typedef struct tagSOFTKBDDATA SOFTKBDDATA
 
typedef struct tagSOFTKBDDATAPSOFTKBDDATA
 
typedef struct tagSOFTKBDDATANPSOFTKBDDATA
 
typedef struct tagSOFTKBDDATALPSOFTKBDDATA
 
typedef struct tagCOMPOSITIONSTRING COMPOSITIONSTRING
 
typedef struct tagCOMPOSITIONSTRINGPCOMPOSITIONSTRING
 
typedef struct tagCOMPOSITIONSTRINGNPCOMPOSITIONSTRING
 
typedef struct tagCOMPOSITIONSTRINGLPCOMPOSITIONSTRING
 
typedef struct tagGUIDELINE GUIDELINE
 
typedef struct tagGUIDELINEPGUIDELINE
 
typedef struct tagGUIDELINENPGUIDELINE
 
typedef struct tagGUIDELINELPGUIDELINE
 
typedef struct _tagINPUTCONTEXT INPUTCONTEXT
 
typedef struct _tagINPUTCONTEXTPINPUTCONTEXT
 
typedef struct _tagINPUTCONTEXTNPINPUTCONTEXT
 
typedef struct _tagINPUTCONTEXTLPINPUTCONTEXT
 
typedef struct _tagTRANSMSG TRANSMSG
 
typedef struct _tagTRANSMSGPTRANSMSG
 
typedef struct _tagTRANSMSGNPTRANSMSG
 
typedef struct _tagTRANSMSGLPTRANSMSG
 
typedef struct _tagTRANSMSGLIST TRANSMSGLIST
 
typedef struct _tagTRANSMSGLISTPTRANSMSGLIST
 
typedef struct _tagTRANSMSGLISTNPTRANSMSGLIST
 
typedef struct _tagTRANSMSGLISTLPTRANSMSGLIST
 

Functions

 C_ASSERT (offsetof(INPUTCONTEXT, hWnd)==0x0)
 
 C_ASSERT (offsetof(INPUTCONTEXT, fOpen)==0x4)
 
 C_ASSERT (offsetof(INPUTCONTEXT, ptStatusWndPos)==0x8)
 
 C_ASSERT (offsetof(INPUTCONTEXT, ptSoftKbdPos)==0x10)
 
 C_ASSERT (offsetof(INPUTCONTEXT, fdwConversion)==0x18)
 
 C_ASSERT (offsetof(INPUTCONTEXT, fdwSentence)==0x1C)
 
 C_ASSERT (offsetof(INPUTCONTEXT, lfFont)==0x20)
 
 C_ASSERT (offsetof(INPUTCONTEXT, cfCompForm)==0x7C)
 
 C_ASSERT (offsetof(INPUTCONTEXT, cfCandForm)==0x98)
 
 C_ASSERT (offsetof(INPUTCONTEXT, hCompStr)==0x118)
 
 C_ASSERT (offsetof(INPUTCONTEXT, hCandInfo)==0x11C)
 
 C_ASSERT (offsetof(INPUTCONTEXT, hGuideLine)==0x120)
 
 C_ASSERT (offsetof(INPUTCONTEXT, hPrivate)==0x124)
 
 C_ASSERT (offsetof(INPUTCONTEXT, dwNumMsgBuf)==0x128)
 
 C_ASSERT (offsetof(INPUTCONTEXT, hMsgBuf)==0x12C)
 
 C_ASSERT (offsetof(INPUTCONTEXT, fdwInit)==0x130)
 
 C_ASSERT (offsetof(INPUTCONTEXT, dwReserve)==0x134)
 
 C_ASSERT (sizeof(INPUTCONTEXT)==0x140)
 
LPINPUTCONTEXT WINAPI ImmLockIMC (_In_ HIMC hIMC)
 
BOOL WINAPI ImmUnlockIMC (_In_ HIMC hIMC)
 
DWORD WINAPI ImmGetIMCLockCount (_In_ HIMC hIMC)
 
HIMCC WINAPI ImmCreateIMCC (_In_ DWORD size)
 
HIMCC WINAPI ImmDestroyIMCC (_In_ HIMCC block)
 
LPVOID WINAPI ImmLockIMCC (_In_ HIMCC imcc)
 
BOOL WINAPI ImmUnlockIMCC (_In_ HIMCC imcc)
 
DWORD WINAPI ImmGetIMCCLockCount (_In_ HIMCC imcc)
 
HIMCC WINAPI ImmReSizeIMCC (_In_ HIMCC imcc, _In_ DWORD size)
 
DWORD WINAPI ImmGetIMCCSize (_In_ HIMCC imcc)
 
BOOL WINAPI ImmGenerateMessage (_In_ HIMC hIMC)
 
BOOL WINAPI ImmTranslateMessage (_In_ HWND hwnd, _In_ UINT msg, _In_ WPARAM wParam, _In_ LPARAM lKeyData)
 
LRESULT WINAPI ImmRequestMessageA (_In_ HIMC hIMC, _In_ WPARAM wParam, _In_ LPARAM lParam)
 
LRESULT WINAPI ImmRequestMessageW (_In_ HIMC hIMC, _In_ WPARAM wParam, _In_ LPARAM lParam)
 
HWND WINAPI ImmCreateSoftKeyboard (_In_ UINT uType, _In_ HWND hwndParent, _In_ INT x, _In_ INT y)
 
BOOL WINAPI ImmShowSoftKeyboard (_In_ HWND hwndSoftKBD, _In_ INT nCmdShow)
 
BOOL WINAPI ImmDestroySoftKeyboard (_In_ HWND hwndSoftKBD)
 
BOOL WINAPI ImeInquire (_Out_ LPIMEINFO lpIMEInfo, _Out_ LPTSTR lpszWndClass, _In_ DWORD dwSystemInfoFlags)
 
DWORD WINAPI ImeConversionList (_In_ HIMC hIMC, _In_ LPCTSTR lpSrc, _Out_ LPCANDIDATELIST lpDst, _In_ DWORD dwBufLen, _In_ UINT uFlag)
 
BOOL WINAPI ImeRegisterWord (_In_ LPCTSTR lpszReading, _In_ DWORD dwStyle, _In_ LPCTSTR lpszString)
 
BOOL WINAPI ImeUnregisterWord (_In_ LPCTSTR lpszReading, _In_ DWORD dwStyle, _In_ LPCTSTR lpszString)
 
UINT WINAPI ImeGetRegisterWordStyle (_In_ UINT nItem, _Out_ LPSTYLEBUF lpStyleBuf)
 
UINT WINAPI ImeEnumRegisterWord (_In_ REGISTERWORDENUMPROC lpfnEnumProc, _In_opt_ LPCTSTR lpszReading, _In_ DWORD dwStyle, _In_opt_ LPCTSTR lpszString, _In_opt_ LPVOID lpData)
 
BOOL WINAPI ImeConfigure (_In_ HKL hKL, _In_ HWND hWnd, _In_ DWORD dwMode, _Inout_opt_ LPVOID lpData)
 
BOOL WINAPI ImeDestroy (_In_ UINT uReserved)
 
LRESULT WINAPI ImeEscape (_In_ HIMC hIMC, _In_ UINT uEscape, _Inout_opt_ LPVOID lpData)
 
BOOL WINAPI ImeProcessKey (_In_ HIMC hIMC, _In_ UINT uVirKey, _In_ LPARAM lParam, _In_ CONST LPBYTE lpbKeyState)
 
BOOL WINAPI ImeSelect (_In_ HIMC hIMC, _In_ BOOL fSelect)
 
BOOL WINAPI ImeSetActiveContext (_In_ HIMC hIMC, _In_ BOOL fFlag)
 
UINT WINAPI ImeToAsciiEx (_In_ UINT uVirKey, _In_ UINT uScanCode, _In_ CONST LPBYTE lpbKeyState, _Out_ LPTRANSMSGLIST lpTransMsgList, _In_ UINT fuState, _In_ HIMC hIMC)
 
BOOL WINAPI NotifyIME (_In_ HIMC hIMC, _In_ DWORD dwAction, _In_ DWORD dwIndex, _In_ DWORD_PTR dwValue)
 
BOOL WINAPI ImeSetCompositionString (_In_ HIMC hIMC, _In_ DWORD dwIndex, _In_opt_ LPCVOID lpComp, _In_ DWORD dwCompLen, _In_opt_ LPCVOID lpRead, _In_ DWORD dwReadLen)
 
DWORD WINAPI ImeGetImeMenuItems (_In_ HIMC hIMC, _In_ DWORD dwFlags, _In_ DWORD dwType, _Inout_opt_ LPIMEMENUITEMINFO lpImeParentMenu, _Inout_opt_ LPIMEMENUITEMINFO lpImeMenu, _In_ DWORD dwSize)
 

Macro Definition Documentation

◆ IMC_GETCONVERSIONMODE

#define IMC_GETCONVERSIONMODE   0x0001

Definition at line 86 of file immdev.h.

◆ IMC_GETOPENSTATUS

#define IMC_GETOPENSTATUS   0x0005

Definition at line 88 of file immdev.h.

◆ IMC_GETSENTENCEMODE

#define IMC_GETSENTENCEMODE   0x0003

Definition at line 87 of file immdev.h.

◆ IMC_GETSOFTKBDFONT

#define IMC_GETSOFTKBDFONT   0x0011

Definition at line 89 of file immdev.h.

◆ IMC_GETSOFTKBDPOS

#define IMC_GETSOFTKBDPOS   0x0013

Definition at line 91 of file immdev.h.

◆ IMC_GETSOFTKBDSUBTYPE

#define IMC_GETSOFTKBDSUBTYPE   0x0015

Definition at line 93 of file immdev.h.

◆ IMC_SETCONVERSIONMODE

#define IMC_SETCONVERSIONMODE   0x0002

Definition at line 392 of file immdev.h.

◆ IMC_SETOPENSTATUS

#define IMC_SETOPENSTATUS   0x0006

Definition at line 394 of file immdev.h.

◆ IMC_SETSENTENCEMODE

#define IMC_SETSENTENCEMODE   0x0004

Definition at line 393 of file immdev.h.

◆ IMC_SETSOFTKBDDATA

#define IMC_SETSOFTKBDDATA   0x0018

Definition at line 95 of file immdev.h.

◆ IMC_SETSOFTKBDFONT

#define IMC_SETSOFTKBDFONT   0x0012

Definition at line 90 of file immdev.h.

◆ IMC_SETSOFTKBDPOS

#define IMC_SETSOFTKBDPOS   0x0014

Definition at line 92 of file immdev.h.

◆ IMC_SETSOFTKBDSUBTYPE

#define IMC_SETSOFTKBDSUBTYPE   0x0016

Definition at line 94 of file immdev.h.

◆ IME_PROP_ACCEPT_WIDE_VKEY

#define IME_PROP_ACCEPT_WIDE_VKEY   0x0020

Definition at line 389 of file immdev.h.

◆ IME_PROP_END_UNLOAD

#define IME_PROP_END_UNLOAD   0x0001

Definition at line 384 of file immdev.h.

◆ IME_PROP_IGNORE_UPKEYS

#define IME_PROP_IGNORE_UPKEYS   0x0004

Definition at line 386 of file immdev.h.

◆ IME_PROP_KBD_CHAR_FIRST

#define IME_PROP_KBD_CHAR_FIRST   0x0002

Definition at line 385 of file immdev.h.

◆ IME_PROP_NEED_ALTKEY

#define IME_PROP_NEED_ALTKEY   0x0008

Definition at line 387 of file immdev.h.

◆ IME_PROP_NO_KEYS_ON_CLOSE

#define IME_PROP_NO_KEYS_ON_CLOSE   0x0010

Definition at line 388 of file immdev.h.

◆ IME_SYSINFO_WINLOGON

#define IME_SYSINFO_WINLOGON   0x0001

Definition at line 409 of file immdev.h.

◆ IME_SYSINFO_WOW16

#define IME_SYSINFO_WOW16   0x0002

Definition at line 410 of file immdev.h.

◆ IMMGWL_IMC

#define IMMGWL_IMC   0

Definition at line 122 of file immdev.h.

◆ IMMGWL_PRIVATE

#define IMMGWL_PRIVATE   (sizeof(LONG))

Definition at line 123 of file immdev.h.

◆ IMMGWLP_IMC

#define IMMGWLP_IMC   0

Definition at line 125 of file immdev.h.

◆ IMMGWLP_PRIVATE

#define IMMGWLP_PRIVATE   (sizeof(LONG_PTR))

Definition at line 126 of file immdev.h.

◆ ImmRequestMessage

#define ImmRequestMessage   ImmRequestMessageA

Definition at line 238 of file immdev.h.

◆ IMN_SOFTKBDDESTROYED

#define IMN_SOFTKBDDESTROYED   0x0011

Definition at line 120 of file immdev.h.

◆ IMS_ACTIVATELAYOUT

#define IMS_ACTIVATELAYOUT   0x19

Definition at line 110 of file immdev.h.

◆ IMS_COMPLETECOMPSTR

#define IMS_COMPLETECOMPSTR   0x20

Definition at line 114 of file immdev.h.

◆ IMS_CONFIGURE

#define IMS_CONFIGURE   0x0D

Definition at line 103 of file immdev.h.

◆ IMS_FREELAYOUT

#define IMS_FREELAYOUT   0x11

Definition at line 105 of file immdev.h.

◆ IMS_GETCONTEXT

#define IMS_GETCONTEXT   0x1E

Definition at line 112 of file immdev.h.

◆ IMS_GETCONVSTATUS

#define IMS_GETCONVSTATUS   0x14

Definition at line 106 of file immdev.h.

◆ IMS_GETIMEMENU

#define IMS_GETIMEMENU   0x1C

Definition at line 111 of file immdev.h.

◆ IMS_IMEACTIVATE

#define IMS_IMEACTIVATE   0x17

Definition at line 108 of file immdev.h.

◆ IMS_IMEDEACTIVATE

#define IMS_IMEDEACTIVATE   0x18

Definition at line 109 of file immdev.h.

◆ IMS_IMEHELP

#define IMS_IMEHELP   0x15

Definition at line 107 of file immdev.h.

◆ IMS_LOADTHREADLAYOUT

#define IMS_LOADTHREADLAYOUT   0x21

Definition at line 115 of file immdev.h.

◆ IMS_NOTIFYIMESHOW

#define IMS_NOTIFYIMESHOW   0x05

Definition at line 98 of file immdev.h.

◆ IMS_SENDNOTIFICATION

#define IMS_SENDNOTIFICATION   0x1F

Definition at line 113 of file immdev.h.

◆ IMS_SETCANDFORM

#define IMS_SETCANDFORM   0x09

Definition at line 100 of file immdev.h.

◆ IMS_SETCOMPFONT

#define IMS_SETCOMPFONT   0x0A

Definition at line 101 of file immdev.h.

◆ IMS_SETCOMPFORM

#define IMS_SETCOMPFORM   0x0B

Definition at line 102 of file immdev.h.

◆ IMS_SETLANGBAND

#define IMS_SETLANGBAND   0x23

Definition at line 116 of file immdev.h.

◆ IMS_SETOPENSTATUS

#define IMS_SETOPENSTATUS   0x0F

Definition at line 104 of file immdev.h.

◆ IMS_UNSETLANGBAND

#define IMS_UNSETLANGBAND   0x24

Definition at line 117 of file immdev.h.

◆ IMS_UPDATEIMEUI

#define IMS_UPDATEIMEUI   0x06

Definition at line 99 of file immdev.h.

◆ INIT_COMPFORM

#define INIT_COMPFORM   0x00000010

Definition at line 177 of file immdev.h.

◆ INIT_CONVERSION

#define INIT_CONVERSION   0x00000002

Definition at line 174 of file immdev.h.

◆ INIT_GUIDMAP

#define INIT_GUIDMAP   0x00000040

Definition at line 179 of file immdev.h.

◆ INIT_LOGFONT

#define INIT_LOGFONT   0x00000008

Definition at line 176 of file immdev.h.

◆ INIT_SENTENCE

#define INIT_SENTENCE   0x00000004

Definition at line 175 of file immdev.h.

◆ INIT_SOFTKBDPOS

#define INIT_SOFTKBDPOS   0x00000020

Definition at line 178 of file immdev.h.

◆ INIT_STATUSWNDPOS

#define INIT_STATUSWNDPOS   0x00000001

Definition at line 173 of file immdev.h.

◆ INPUTCONTEXTDX_CHANGE_CONVERSION

#define INPUTCONTEXTDX_CHANGE_CONVERSION   0x2

Definition at line 183 of file immdev.h.

◆ INPUTCONTEXTDX_CHANGE_FORCE_OPEN

#define INPUTCONTEXTDX_CHANGE_FORCE_OPEN   0x100

Definition at line 185 of file immdev.h.

◆ INPUTCONTEXTDX_CHANGE_OPEN

#define INPUTCONTEXTDX_CHANGE_OPEN   0x1

Definition at line 182 of file immdev.h.

◆ INPUTCONTEXTDX_CHANGE_SENTENCE

#define INPUTCONTEXTDX_CHANGE_SENTENCE   0x4

Definition at line 184 of file immdev.h.

◆ IR_CHANGECONVERT

#define IR_CHANGECONVERT   0x121

Definition at line 195 of file immdev.h.

◆ IR_CLOSECONVERT

#define IR_CLOSECONVERT   0x122

Definition at line 196 of file immdev.h.

◆ IR_DBCSCHAR

#define IR_DBCSCHAR   0x160

Definition at line 200 of file immdev.h.

◆ IR_FULLCONVERT

#define IR_FULLCONVERT   0x123

Definition at line 197 of file immdev.h.

◆ IR_IMESELECT

#define IR_IMESELECT   0x130

Definition at line 198 of file immdev.h.

◆ IR_MODEINFO

#define IR_MODEINFO   0x190

Definition at line 203 of file immdev.h.

◆ IR_OPENCONVERT

#define IR_OPENCONVERT   0x120

Definition at line 194 of file immdev.h.

◆ IR_STRING

#define IR_STRING   0x140

Definition at line 199 of file immdev.h.

◆ IR_STRINGEND

#define IR_STRINGEND   0x101

Definition at line 193 of file immdev.h.

◆ IR_STRINGEX

#define IR_STRINGEX   0x180

Definition at line 202 of file immdev.h.

◆ IR_STRINGSTART

#define IR_STRINGSTART   0x100

Definition at line 192 of file immdev.h.

◆ IR_UNDETERMINE

#define IR_UNDETERMINE   0x170

Definition at line 201 of file immdev.h.

◆ NI_CHANGECANDIDATELIST

#define NI_CHANGECANDIDATELIST   0x0013

Definition at line 401 of file immdev.h.

◆ NI_CLOSECANDIDATE

#define NI_CLOSECANDIDATE   0x0011

Definition at line 399 of file immdev.h.

◆ NI_COMPOSITIONSTR

#define NI_COMPOSITIONSTR   0x0015

Definition at line 403 of file immdev.h.

◆ NI_CONTEXTUPDATED

#define NI_CONTEXTUPDATED   0x0003

Definition at line 397 of file immdev.h.

◆ NI_FINALIZECONVERSIONRESULT

#define NI_FINALIZECONVERSIONRESULT   0x0014

Definition at line 402 of file immdev.h.

◆ NI_IMEMENUSELECTED

#define NI_IMEMENUSELECTED   0x0018

Definition at line 406 of file immdev.h.

◆ NI_OPENCANDIDATE

#define NI_OPENCANDIDATE   0x0010

Definition at line 398 of file immdev.h.

◆ NI_SELECTCANDIDATESTR

#define NI_SELECTCANDIDATESTR   0x0012

Definition at line 400 of file immdev.h.

◆ NI_SETCANDIDATE_PAGESIZE

#define NI_SETCANDIDATE_PAGESIZE   0x0017

Definition at line 405 of file immdev.h.

◆ NI_SETCANDIDATE_PAGESTART

#define NI_SETCANDIDATE_PAGESTART   0x0016

Definition at line 404 of file immdev.h.

◆ WM_IME_REPORT

#define WM_IME_REPORT   0x280

Definition at line 188 of file immdev.h.

Typedef Documentation

◆ CANDIDATEINFO

◆ COMPOSITIONSTRING

◆ GUIDELINE

◆ IMEINFO

◆ INPUTCONTEXT

◆ LPCANDIDATEINFO

◆ LPCOMPOSITIONSTRING

◆ LPGUIDELINE

◆ LPIMEINFO

◆ LPINPUTCONTEXT

◆ LPSOFTKBDDATA

◆ LPTRANSMSG

◆ LPTRANSMSGLIST

◆ NPCANDIDATEINFO

◆ NPCOMPOSITIONSTRING

◆ NPGUIDELINE

◆ NPIMEINFO

◆ NPINPUTCONTEXT

◆ NPSOFTKBDDATA

◆ NPTRANSMSG

◆ NPTRANSMSGLIST

◆ PCANDIDATEINFO

◆ PCOMPOSITIONSTRING

◆ PGUIDELINE

◆ PIMEINFO

◆ PINPUTCONTEXT

◆ PSOFTKBDDATA

◆ PTRANSMSG

◆ PTRANSMSGLIST

◆ SOFTKBDDATA

◆ TRANSMSG

◆ TRANSMSGLIST

Function Documentation

◆ C_ASSERT() [1/18]

C_ASSERT ( offsetof(INPUTCONTEXT, cfCandForm)  = =0x98)

◆ C_ASSERT() [2/18]

C_ASSERT ( offsetof(INPUTCONTEXT, cfCompForm)  = =0x7C)

◆ C_ASSERT() [3/18]

C_ASSERT ( offsetof(INPUTCONTEXT, dwNumMsgBuf)  = =0x128)

◆ C_ASSERT() [4/18]

C_ASSERT ( offsetof(INPUTCONTEXT, dwReserve)  = =0x134)

◆ C_ASSERT() [5/18]

C_ASSERT ( offsetof(INPUTCONTEXT, fdwConversion)  = =0x18)

◆ C_ASSERT() [6/18]

C_ASSERT ( offsetof(INPUTCONTEXT, fdwInit)  = =0x130)

◆ C_ASSERT() [7/18]

C_ASSERT ( offsetof(INPUTCONTEXT, fdwSentence)  = =0x1C)

◆ C_ASSERT() [8/18]

C_ASSERT ( offsetof(INPUTCONTEXT, fOpen)  = =0x4)

◆ C_ASSERT() [9/18]

C_ASSERT ( offsetof(INPUTCONTEXT, hCandInfo)  = =0x11C)

◆ C_ASSERT() [10/18]

C_ASSERT ( offsetof(INPUTCONTEXT, hCompStr)  = =0x118)

◆ C_ASSERT() [11/18]

C_ASSERT ( offsetof(INPUTCONTEXT, hGuideLine)  = =0x120)

◆ C_ASSERT() [12/18]

C_ASSERT ( offsetof(INPUTCONTEXT, hMsgBuf)  = =0x12C)

◆ C_ASSERT() [13/18]

C_ASSERT ( offsetof(INPUTCONTEXT, hPrivate)  = =0x124)

◆ C_ASSERT() [14/18]

C_ASSERT ( offsetof(INPUTCONTEXT, hWnd = =0x0)

◆ C_ASSERT() [15/18]

C_ASSERT ( offsetof(INPUTCONTEXT, lfFont)  = =0x20)

◆ C_ASSERT() [16/18]

C_ASSERT ( offsetof(INPUTCONTEXT, ptSoftKbdPos)  = =0x10)

◆ C_ASSERT() [17/18]

C_ASSERT ( offsetof(INPUTCONTEXT, ptStatusWndPos)  = =0x8)

◆ C_ASSERT() [18/18]

C_ASSERT ( sizeof(INPUTCONTEXT = =0x140)

◆ ImeConfigure()

BOOL WINAPI ImeConfigure ( _In_ HKL  hKL,
_In_ HWND  hWnd,
_In_ DWORD  dwMode,
_Inout_opt_ LPVOID  lpData 
)

Definition at line 291 of file msctfime.cpp.

296{
297 TRACE("(%p, %p, %lu, %p)\n", hKL, hWnd, dwMode, lpData);
298
299 TLS *pTLS = TLS::GetTLS();
300 if (!pTLS || !pTLS->m_pBridge || !pTLS->m_pThreadMgr)
301 return FALSE;
302
303 auto pBridge = pTLS->m_pBridge;
304 auto pThreadMgr = pTLS->m_pThreadMgr;
305
306 if (dwMode & 0x1)
307 return (pBridge->ConfigureGeneral(pTLS, pThreadMgr, hKL, hWnd) == S_OK);
308
309 if (dwMode & 0x2)
310 return (pBridge->ConfigureRegisterWord(pTLS, pThreadMgr, hKL, hWnd, lpData) == S_OK);
311
312 return FALSE;
313}
HWND hWnd
Definition: settings.c:17
Definition: tls.h:14
ITfThreadMgr_P * m_pThreadMgr
Definition: tls.h:21
static TLS * GetTLS()
@implemented
Definition: tls.cpp:32
CicBridge * m_pBridge
Definition: tls.h:19
#define FALSE
Definition: types.h:117
#define S_OK
Definition: intsafe.h:52
#define TRACE(s)
Definition: solgame.cpp:4

◆ ImeConversionList()

DWORD WINAPI ImeConversionList ( _In_ HIMC  hIMC,
_In_ LPCTSTR  lpSrc,
_Out_ LPCANDIDATELIST  lpDst,
_In_ DWORD  dwBufLen,
_In_ UINT  uFlag 
)

◆ ImeDestroy()

BOOL WINAPI ImeDestroy ( _In_ UINT  uReserved)

Definition at line 322 of file msctfime.cpp.

324{
325 TRACE("(%u)\n", uReserved);
326
327 TLS *pTLS = TLS::PeekTLS();
328 if (pTLS)
329 return FALSE;
330
331 if (!pTLS->m_pBridge || !pTLS->m_pThreadMgr)
332 return FALSE;
333
335 return TRUE;
336
337 if (pTLS->m_pBridge->DeactivateIMMX(pTLS, pTLS->m_pThreadMgr) != S_OK)
338 return FALSE;
339
340 return pTLS->m_pBridge->UnInitIMMX(pTLS);
341}
BOOL UnInitIMMX(_Inout_ TLS *pTLS)
@implemented
Definition: bridge.cpp:453
HRESULT DeactivateIMMX(_Inout_ TLS *pTLS, _Inout_ ITfThreadMgr_P *pThreadMgr)
@implemented
Definition: bridge.cpp:340
DWORD m_dwSystemInfoFlags
Definition: tls.h:18
static TLS * PeekTLS()
@implemented
Definition: tls.cpp:41
#define TRUE
Definition: types.h:120
#define IME_SYSINFO_WINLOGON
Definition: immdev.h:409

Referenced by CtfImeThreadDetach().

◆ ImeEnumRegisterWord()

UINT WINAPI ImeEnumRegisterWord ( _In_ REGISTERWORDENUMPROC  lpfnEnumProc,
_In_opt_ LPCTSTR  lpszReading,
_In_ DWORD  dwStyle,
_In_opt_ LPCTSTR  lpszString,
_In_opt_ LPVOID  lpData 
)

◆ ImeEscape()

LRESULT WINAPI ImeEscape ( _In_ HIMC  hIMC,
_In_ UINT  uEscape,
_Inout_opt_ LPVOID  lpData 
)

Definition at line 353 of file msctfime.cpp.

357{
358 TRACE("(%p, %u, %p)\n", hIMC, uEscape, lpData);
359 return 0;
360}

◆ ImeGetImeMenuItems()

DWORD WINAPI ImeGetImeMenuItems ( _In_ HIMC  hIMC,
_In_ DWORD  dwFlags,
_In_ DWORD  dwType,
_Inout_opt_ LPIMEMENUITEMINFO  lpImeParentMenu,
_Inout_opt_ LPIMEMENUITEMINFO  lpImeMenu,
_In_ DWORD  dwSize 
)

◆ ImeGetRegisterWordStyle()

UINT WINAPI ImeGetRegisterWordStyle ( _In_ UINT  nItem,
_Out_ LPSTYLEBUF  lpStyleBuf 
)

◆ ImeInquire()

BOOL WINAPI ImeInquire ( _Out_ LPIMEINFO  lpIMEInfo,
_Out_ LPTSTR  lpszWndClass,
_In_ DWORD  dwSystemInfoFlags 
)

◆ ImeProcessKey()

BOOL WINAPI ImeProcessKey ( _In_ HIMC  hIMC,
_In_ UINT  uVirKey,
_In_ LPARAM  lParam,
_In_ CONST LPBYTE  lpbKeyState 
)

Definition at line 369 of file msctfime.cpp.

374{
375 TRACE("(%p, %u, %p, lpbKeyState)\n", hIMC, uVirtKey, lParam, lpbKeyState);
376
377 TLS *pTLS = TLS::GetTLS();
378 if (!pTLS)
379 return FALSE;
380
381 auto pBridge = pTLS->m_pBridge;
382 auto pThreadMgr = pTLS->m_pThreadMgr;
383 if (!pBridge || !pThreadMgr)
384 return FALSE;
385
386 if (pTLS->m_dwFlags1 & 0x1)
387 {
388 ITfDocumentMgr *pDocMgr = NULL;
389 pThreadMgr->GetFocus(&pDocMgr);
390 if (pDocMgr && !CicBridge::IsOwnDim(pDocMgr))
391 {
392 pDocMgr->Release();
393 return FALSE;
394 }
395
396 if (pDocMgr)
397 pDocMgr->Release();
398 }
399
401 if (((pTLS->m_dwFlags2 & 1) && MsimtfIsGuidMapEnable(hIMC, NULL)) ||
402 ((lParam & (KF_ALTDOWN << 16)) &&
404 IsVKDBEKey(uVirtKey)))
405 {
406 return FALSE;
407 }
408
409 INT nUnknown60 = 0;
410 return pBridge->ProcessKey(pTLS, pThreadMgr, hIMC, uVirtKey, lParam, lpbKeyState, &nUnknown60);
411}
static BOOL IsOwnDim(ITfDocumentMgr *pDocMgr)
@implemented
Definition: bridge.cpp:904
DWORD m_dwFlags2
Definition: tls.h:23
DWORD m_dwFlags1
Definition: tls.h:22
LPARAM lParam
Definition: combotst.c:139
#define NULL
Definition: types.h:112
BOOL IsVKDBEKey(_In_ UINT uVirtKey)
@implemented
Definition: misc.cpp:116
BOOL MsimtfIsGuidMapEnable(_In_ HIMC hIMC, _Out_opt_ LPBOOL pbValue)
@implemented
Definition: misc.cpp:107
ULONG Release()
USHORT LANGID
Definition: mui.h:9
#define LOWORD(l)
Definition: pedump.c:82
#define MAKELANGID(p, s)
Definition: nls.h:15
#define SUBLANG_DEFAULT
Definition: nls.h:168
#define LANG_JAPANESE
Definition: nls.h:76
int32_t INT
Definition: typedefs.h:58
_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:1083
HKL WINAPI GetKeyboardLayout(_In_ DWORD)
#define KF_ALTDOWN
Definition: winuser.h:2449

◆ ImeRegisterWord()

BOOL WINAPI ImeRegisterWord ( _In_ LPCTSTR  lpszReading,
_In_ DWORD  dwStyle,
_In_ LPCTSTR  lpszString 
)

◆ ImeSelect()

BOOL WINAPI ImeSelect ( _In_ HIMC  hIMC,
_In_ BOOL  fSelect 
)

Definition at line 423 of file msctfime.cpp.

426{
427 TRACE("(%p, %u)\n", hIMC, fSelect);
428 return FALSE;
429}

◆ ImeSetActiveContext()

BOOL WINAPI ImeSetActiveContext ( _In_ HIMC  hIMC,
_In_ BOOL  fFlag 
)

Definition at line 441 of file msctfime.cpp.

444{
445 TRACE("(%p, %u)\n", hIMC, fFlag);
446 return FALSE;
447}

◆ ImeSetCompositionString()

BOOL WINAPI ImeSetCompositionString ( _In_ HIMC  hIMC,
_In_ DWORD  dwIndex,
_In_opt_ LPCVOID  lpComp,
_In_ DWORD  dwCompLen,
_In_opt_ LPCVOID  lpRead,
_In_ DWORD  dwReadLen 
)

Definition at line 517 of file msctfime.cpp.

524{
525 TRACE("(%p, 0x%lX, %p, 0x%lX, %p, 0x%lX)\n", hIMC, dwIndex, lpComp, dwCompLen,
526 lpRead, dwReadLen);
527
528 TLS *pTLS = TLS::GetTLS();
529 if (!pTLS)
530 return FALSE;
531
532 auto pBridge = pTLS->m_pBridge;
533 auto pThreadMgr = pTLS->m_pThreadMgr;
534 if (!pBridge || !pThreadMgr)
535 return FALSE;
536
537 return pBridge->SetCompositionString(pTLS, pThreadMgr, hIMC, dwIndex,
538 lpComp, dwCompLen, lpRead, dwReadLen);
539}

◆ ImeToAsciiEx()

UINT WINAPI ImeToAsciiEx ( _In_ UINT  uVirKey,
_In_ UINT  uScanCode,
_In_ CONST LPBYTE  lpbKeyState,
_Out_ LPTRANSMSGLIST  lpTransMsgList,
_In_ UINT  fuState,
_In_ HIMC  hIMC 
)

Definition at line 456 of file msctfime.cpp.

463{
464 TRACE("(%u, %u, %p, %p, %u, %p)\n", uVirtKey, uScanCode, lpbKeyState, lpTransMsgList,
465 fuState, hIMC);
466
467 TLS *pTLS = TLS::GetTLS();
468 if (!pTLS)
469 return 0;
470
471 auto pBridge = pTLS->m_pBridge;
472 auto pThreadMgr = pTLS->m_pThreadMgr;
473 if (!pBridge || !pThreadMgr)
474 return 0;
475
476 UINT ret = 0;
477 HRESULT hr = pBridge->ToAsciiEx(pTLS, pThreadMgr, uVirtKey, uScanCode, lpbKeyState,
478 lpTransMsgList, fuState, hIMC, &ret);
479 return ((hr == S_OK) ? ret : 0);
480}
unsigned int UINT
Definition: ndis.h:50
HRESULT hr
Definition: shlfolder.c:183
int ret

◆ ImeUnregisterWord()

BOOL WINAPI ImeUnregisterWord ( _In_ LPCTSTR  lpszReading,
_In_ DWORD  dwStyle,
_In_ LPCTSTR  lpszString 
)

◆ ImmCreateIMCC()

HIMCC WINAPI ImmCreateIMCC ( _In_ DWORD  size)

◆ ImmCreateSoftKeyboard()

HWND WINAPI ImmCreateSoftKeyboard ( _In_ UINT  uType,
_In_ HWND  hwndParent,
_In_ INT  x,
_In_ INT  y 
)

Definition at line 2101 of file softkbd.c.

2106{
2107 HKL hKL;
2108 PIMEDPI pImeDpi;
2109 UINT iVK;
2110 INT xSoftKBD, ySoftKBD, cxSoftKBD, cySoftKBD, cxEdge, cyEdge;
2111 HWND hwndSoftKBD;
2112 DWORD Style, ExStyle, UICaps;
2113 LPCWSTR pszClass;
2114 RECT rcWorkArea;
2115
2116 TRACE("(%u, %p, %d, %d)\n", uType, hwndParent, x, y);
2117
2118 if ((uType != SOFTKEYBOARD_TYPE_T1) && (uType != SOFTKEYBOARD_TYPE_C1))
2119 {
2120 ERR("uType: %u\n", uType);
2121 return NULL; /* Invalid keyboard type */
2122 }
2123
2124 /* Check IME */
2125 hKL = GetKeyboardLayout(0);
2126 pImeDpi = ImmLockImeDpi(hKL);
2127 if (IS_NULL_UNEXPECTEDLY(pImeDpi))
2128 return NULL; /* No IME */
2129
2130 UICaps = pImeDpi->ImeInfo.fdwUICaps;
2131 ImmUnlockImeDpi(pImeDpi);
2132
2133 /* Check IME capability */
2134 if (!(UICaps & UI_CAP_SOFTKBD))
2135 {
2136 ERR("UICaps: 0x%X\n", UICaps);
2137 return NULL; /* No capability for soft keyboard */
2138 }
2139
2140 /* Want metrics? */
2142 {
2143 for (iVK = 0; iVK < 0xFF; ++iVK)
2144 {
2145 guScanCode[iVK] = MapVirtualKeyW(iVK, 0);
2146 }
2147
2148 cxEdge = GetSystemMetrics(SM_CXEDGE);
2149 cyEdge = GetSystemMetrics(SM_CYEDGE);
2152
2154 }
2155
2156 if (!Imm32GetNearestWorkArea(hwndParent, &rcWorkArea))
2157 return NULL;
2158
2159 /* Register the window class */
2160 if (!Imm32RegisterSoftKeyboard(uType))
2161 {
2162 ERR("\n");
2163 return NULL;
2164 }
2165
2166 /* Calculate keyboard size */
2167 Imm32GetSoftKeyboardDimension(uType, &cxSoftKBD, &cySoftKBD);
2168
2169 /* Adjust keyboard position */
2170 xSoftKBD = Imm32Clamp(x, rcWorkArea.left, rcWorkArea.right - cxSoftKBD);
2171 ySoftKBD = Imm32Clamp(y, rcWorkArea.top , rcWorkArea.bottom - cySoftKBD);
2172
2173 /* Create soft keyboard window */
2174 if (uType == SOFTKEYBOARD_TYPE_T1)
2175 {
2177 ExStyle = 0;
2178 pszClass = T1_CLASSNAMEW;
2179 }
2180 else
2181 {
2184 pszClass = C1_CLASSNAMEW;
2185 }
2186 hwndSoftKBD = CreateWindowExW(ExStyle, pszClass, NULL, Style,
2187 xSoftKBD, ySoftKBD, cxSoftKBD, cySoftKBD,
2189 /* Initial is hidden */
2190 ShowWindow(hwndSoftKBD, SW_HIDE);
2191 UpdateWindow(hwndSoftKBD);
2192
2193 return hwndSoftKBD;
2194}
const DWORD Style
Definition: appswitch.c:71
const DWORD ExStyle
Definition: appswitch.c:72
#define ERR(fmt,...)
Definition: debug.h:110
static HWND hwndParent
Definition: cryptui.c:300
PIMEDPI WINAPI ImmLockImeDpi(HKL hKL)
Definition: ime.c:978
VOID WINAPI ImmUnlockImeDpi(PIMEDPI pImeDpi)
Definition: ime.c:1007
HMODULE ghImm32Inst
Definition: imm.c:17
#define IS_NULL_UNEXPECTEDLY(p)
Definition: precomp.h:125
unsigned long DWORD
Definition: ntddk_ex.h:95
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
#define UI_CAP_SOFTKBD
Definition: imm.h:256
#define SOFTKEYBOARD_TYPE_C1
Definition: imm.h:469
#define SOFTKEYBOARD_TYPE_T1
Definition: imm.h:468
UINT_PTR HKL
Definition: msctf.idl:143
#define WS_EX_DLGMODALFRAME
Definition: pedump.c:645
#define WS_BORDER
Definition: pedump.c:625
#define WS_POPUP
Definition: pedump.c:616
#define WS_DISABLED
Definition: pedump.c:621
static POINT gptRaiseEdge
Definition: softkbd.c:21
static BOOL Imm32RegisterSoftKeyboard(_In_ UINT uType)
Definition: softkbd.c:2043
#define C1_CLASSNAMEW
Definition: softkbd.c:1123
static void Imm32GetSoftKeyboardDimension(_In_ UINT uType, _Out_ LPINT pcx, _Out_ LPINT pcy)
Definition: softkbd.c:2075
#define T1_CLASSNAMEW
Definition: softkbd.c:113
static UINT guScanCode[256]
Definition: softkbd.c:20
static BOOL g_bWantSoftKBDMetrics
Definition: softkbd.c:22
static BOOL Imm32GetNearestWorkArea(_In_opt_ HWND hwnd, _Out_ LPRECT prcWork)
Definition: softkbd.c:82
static INT Imm32Clamp(_In_ INT x, _In_ INT xMin, _In_ INT xMax)
Definition: softkbd.c:53
IMEINFO ImeInfo
Definition: imm32_undoc.h:63
DWORD fdwUICaps
Definition: immdev.h:25
long y
Definition: polytest.cpp:48
long x
Definition: polytest.cpp:48
LONG right
Definition: windef.h:308
LONG bottom
Definition: windef.h:309
LONG top
Definition: windef.h:307
LONG left
Definition: windef.h:306
#define SW_HIDE
Definition: winuser.h:768
#define SM_CYEDGE
Definition: winuser.h:1009
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
#define SM_CXEDGE
Definition: winuser.h:1008
UINT WINAPI MapVirtualKeyW(_In_ UINT, _In_ UINT)
#define SM_CYBORDER
Definition: winuser.h:965
HWND WINAPI CreateWindowExW(_In_ DWORD dwExStyle, _In_opt_ LPCWSTR lpClassName, _In_opt_ LPCWSTR lpWindowName, _In_ DWORD dwStyle, _In_ int X, _In_ int Y, _In_ int nWidth, _In_ int nHeight, _In_opt_ HWND hWndParent, _In_opt_ HMENU hMenu, _In_opt_ HINSTANCE hInstance, _In_opt_ LPVOID lpParam)
#define SM_CXBORDER
Definition: winuser.h:964
BOOL WINAPI UpdateWindow(_In_ HWND)
#define WS_EX_WINDOWEDGE
Definition: winuser.h:407
int WINAPI GetSystemMetrics(_In_ int)
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185

◆ ImmDestroyIMCC()

HIMCC WINAPI ImmDestroyIMCC ( _In_ HIMCC  block)

◆ ImmDestroySoftKeyboard()

BOOL WINAPI ImmDestroySoftKeyboard ( _In_ HWND  hwndSoftKBD)

Definition at line 2220 of file softkbd.c.

2222{
2223 TRACE("(%p)\n", hwndSoftKBD);
2224 return DestroyWindow(hwndSoftKBD);
2225}
BOOL WINAPI DestroyWindow(_In_ HWND)

◆ ImmGenerateMessage()

BOOL WINAPI ImmGenerateMessage ( _In_ HIMC  hIMC)

◆ ImmGetIMCCLockCount()

DWORD WINAPI ImmGetIMCCLockCount ( _In_ HIMCC  imcc)

◆ ImmGetIMCCSize()

DWORD WINAPI ImmGetIMCCSize ( _In_ HIMCC  imcc)

◆ ImmGetIMCLockCount()

DWORD WINAPI ImmGetIMCLockCount ( _In_ HIMC  hIMC)

◆ ImmLockIMC()

LPINPUTCONTEXT WINAPI ImmLockIMC ( _In_ HIMC  hIMC)

◆ ImmLockIMCC()

LPVOID WINAPI ImmLockIMCC ( _In_ HIMCC  imcc)

◆ ImmRequestMessageA()

LRESULT WINAPI ImmRequestMessageA ( _In_ HIMC  hIMC,
_In_ WPARAM  wParam,
_In_ LPARAM  lParam 
)

◆ ImmRequestMessageW()

LRESULT WINAPI ImmRequestMessageW ( _In_ HIMC  hIMC,
_In_ WPARAM  wParam,
_In_ LPARAM  lParam 
)

◆ ImmReSizeIMCC()

HIMCC WINAPI ImmReSizeIMCC ( _In_ HIMCC  imcc,
_In_ DWORD  size 
)

◆ ImmShowSoftKeyboard()

BOOL WINAPI ImmShowSoftKeyboard ( _In_ HWND  hwndSoftKBD,
_In_ INT  nCmdShow 
)

Definition at line 2202 of file softkbd.c.

2205{
2206 TRACE("(%p, %d)\n", hwndSoftKBD, nCmdShow);
2207
2208 if (nCmdShow != SW_HIDE && nCmdShow != SW_SHOWNOACTIVATE)
2209 WARN("nCmdShow %d is unexpected\n", nCmdShow);
2210
2211 return hwndSoftKBD && ShowWindow(hwndSoftKBD, nCmdShow);
2212}
#define WARN(fmt,...)
Definition: debug.h:112
#define SW_SHOWNOACTIVATE
Definition: winuser.h:774

◆ ImmTranslateMessage()

BOOL WINAPI ImmTranslateMessage ( _In_ HWND  hwnd,
_In_ UINT  msg,
_In_ WPARAM  wParam,
_In_ LPARAM  lKeyData 
)

◆ ImmUnlockIMC()

BOOL WINAPI ImmUnlockIMC ( _In_ HIMC  hIMC)

◆ ImmUnlockIMCC()

BOOL WINAPI ImmUnlockIMCC ( _In_ HIMCC  imcc)

◆ NotifyIME()

BOOL WINAPI NotifyIME ( _In_ HIMC  hIMC,
_In_ DWORD  dwAction,
_In_ DWORD  dwIndex,
_In_ DWORD_PTR  dwValue 
)

Definition at line 489 of file msctfime.cpp.

494{
495 TRACE("(%p, 0x%lX, 0x%lX, %p)\n", hIMC, dwAction, dwIndex, dwValue);
496
497 TLS *pTLS = TLS::GetTLS();
498 if (!pTLS)
499 return FALSE;
500
501 auto pBridge = pTLS->m_pBridge;
502 auto pThreadMgr = pTLS->m_pThreadMgr;
503 if (!pBridge || !pThreadMgr)
504 return FALSE;
505
506 HRESULT hr = pBridge->Notify(pTLS, pThreadMgr, hIMC, dwAction, dwIndex, dwValue);
507 return (hr == S_OK);
508}