ReactOS 0.4.16-dev-2610-ge2c92c0
ime.h
Go to the documentation of this file.
1
7#ifndef _IME_
8#define _IME_
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14#ifndef _WINDEF_
15typedef unsigned int UINT;
16#endif
17
18#define IME_MAXPROCESS 32
19
22#define SendIMEMessageEx WINELIB_NAME_AW(SendIMEMessageEx)
23
24typedef struct tagIMESTRUCT {
34
35#define CP_HWND 0
36#define CP_OPEN 1
37#define CP_DIRECT 2
38#define CP_LEVEL 3
39
40#if !defined(VK_DBE_ALPHANUMERIC)
41#define VK_DBE_ALPHANUMERIC 0x0f0
42#define VK_DBE_KATAKANA 0x0f1
43#define VK_DBE_HIRAGANA 0x0f2
44#define VK_DBE_SBCSCHAR 0x0f3
45#define VK_DBE_DBCSCHAR 0x0f4
46#define VK_DBE_ROMAN 0x0f5
47#define VK_DBE_NOROMAN 0x0f6
48#define VK_DBE_ENTERWORDREGISTERMODE 0x0f7
49#define VK_DBE_ENTERIMECONFIGMODE 0x0f8
50#define VK_DBE_FLUSHSTRING 0x0f9
51#define VK_DBE_CODEINPUT 0x0fa
52#define VK_DBE_NOCODEINPUT 0x0fb
53#define VK_DBE_DETERMINESTRING 0x0fc
54#define VK_DBE_ENTERDLGCONVERSIONMODE 0x0fd
55#endif
56
57#define MCW_DEFAULT 0x00
58#define MCW_RECT 0x01
59#define MCW_WINDOW 0x02
60#define MCW_SCREEN 0x04
61#define MCW_VERTICAL 0x08
62#define MCW_HIDDEN 0x10
63
64#define IME_MODE_ALPHANUMERIC 0x0001
65
66#ifdef KOREA
67#define IME_MODE_SBCSCHAR 0x0002
68#else
69#define IME_MODE_SBCSCHAR 0x0008
70#endif
71
72#define IME_MODE_KATAKANA 0x0002
73#define IME_MODE_HIRAGANA 0x0004
74#define IME_MODE_HANJACONVERT 0x0004
75#define IME_MODE_DBCSCHAR 0x0010
76#define IME_MODE_ROMAN 0x0020
77#define IME_MODE_NOROMAN 0x0040
78#define IME_MODE_CODEINPUT 0x0080
79#define IME_MODE_NOCODEINPUT 0x0100
80
81#define IME_GETIMECAPS 0x03
82#define IME_SETOPEN 0x04
83#define IME_GETOPEN 0x05
84#define IME_GETVERSION 0x07
85#define IME_SETCONVERSIONWINDOW 0x08
86#define IME_MOVEIMEWINDOW IME_SETCONVERSIONWINDOW
87#define IME_SETCONVERSIONMODE 0x10
88
89#define IME_GETCONVERSIONMODE 0x11
90#define IME_SET_MODE 0x12
91#define IME_SENDVKEY 0x13
92#define IME_ENTERWORDREGISTERMODE 0x18
93#define IME_SETCONVERSIONFONTEX 0x19
94
95#define IME_BANJAtoJUNJA 0x13
96#define IME_JUNJAtoBANJA 0x14
97#define IME_JOHABtoKS 0x15
98#define IME_KStoJOHAB 0x16
99
100#define IMEA_INIT 0x01
101#define IMEA_NEXT 0x02
102#define IMEA_PREV 0x03
103
104#define IME_REQUEST_CONVERT 0x01
105#define IME_ENABLE_CONVERT 0x02
106
107#define INTERIM_WINDOW 0x00
108#define MODE_WINDOW 0x01
109#define HANJA_WINDOW 0x02
110
111#define IME_RS_ERROR 0x01
112#define IME_RS_NOIME 0x02
113#define IME_RS_TOOLONG 0x05
114#define IME_RS_ILLEGAL 0x06
115#define IME_RS_NOTFOUND 0x07
116#define IME_RS_NOROOM 0x0a
117#define IME_RS_DISKERROR 0x0e
118#define IME_RS_INVALID 0x11
119#define IME_RS_NEST 0x12
120#define IME_RS_SYSTEMMODAL 0x13
121
122#define WM_IME_REPORT 0x0280
123
124#define IR_STRINGSTART 0x100
125#define IR_STRINGEND 0x101
126#define IR_OPENCONVERT 0x120
127#define IR_CHANGECONVERT 0x121
128#define IR_CLOSECONVERT 0x122
129#define IR_FULLCONVERT 0x123
130#define IR_IMESELECT 0x130
131#define IR_STRING 0x140
132#define IR_DBCSCHAR 0x160
133#define IR_UNDETERMINE 0x170
134#define IR_STRINGEX 0x180
135#define IR_MODEINFO 0x190
136
137#define WM_WNT_CONVERTREQUESTEX 0x0109
138#define WM_CONVERTREQUEST 0x010A
139#define WM_CONVERTRESULT 0x010B
140#define WM_INTERIM 0x010C
141
142#define WM_IMEKEYDOWN 0x290
143#define WM_IMEKEYUP 0x291
144
145typedef struct tagUNDETERMINESTRUCT {
161
162typedef struct tagSTRINGEXSTRUCT {
169
170#ifdef __cplusplus
171}
172#endif
173#endif
unsigned long DWORD
Definition: ntddk_ex.h:95
struct tagUNDETERMINESTRUCT * LPUNDETERMINESTRUCT
struct tagUNDETERMINESTRUCT * NPUNDETERMINESTRUCT
unsigned int UINT
Definition: ime.h:15
struct tagSTRINGEXSTRUCT * LPSTRINGEXSTRUCT
struct tagSTRINGEXSTRUCT * NPSTRINGEXSTRUCT
struct tagIMESTRUCT IMESTRUCT
LRESULT WINAPI SendIMEMessageExA(HWND, LPARAM)
Definition: imm.c:1269
struct tagUNDETERMINESTRUCT * PUNDETERMINESTRUCT
struct tagIMESTRUCT * NPIMESTRUCT
struct tagIMESTRUCT * LPIMESTRUCT
struct tagIMESTRUCT * PIMESTRUCT
struct tagUNDETERMINESTRUCT UNDETERMINESTRUCT
LRESULT WINAPI SendIMEMessageExW(HWND, LPARAM)
Definition: imm.c:1259
struct tagSTRINGEXSTRUCT STRINGEXSTRUCT
LONG_PTR LPARAM
Definition: minwindef.h:175
LONG_PTR LRESULT
Definition: minwindef.h:176
UINT_PTR WPARAM
Definition: minwindef.h:174
UINT fnc
Definition: ime.h:25
LPARAM lParam2
Definition: ime.h:31
UINT dchDest
Definition: ime.h:29
UINT wCount
Definition: ime.h:27
WPARAM wParam
Definition: ime.h:26
LPARAM lParam3
Definition: ime.h:32
LPARAM lParam1
Definition: ime.h:30
UINT dchSource
Definition: ime.h:28
UINT uYomiPos
Definition: ime.h:166
UINT uDeterminePos
Definition: ime.h:164
UINT uDetermineDelimPos
Definition: ime.h:165
DWORD dwSize
Definition: ime.h:163
UINT uYomiDelimPos
Definition: ime.h:167
UINT uDefIMESize
Definition: ime.h:147
UINT uDetermineDelimPos
Definition: ime.h:156
UINT uYomiTextPos
Definition: ime.h:158
UINT uUndetAttrPos
Definition: ime.h:151
UINT uYomiDelimPos
Definition: ime.h:159
UINT uDetermineTextPos
Definition: ime.h:155
UINT uUndetTextPos
Definition: ime.h:150
UINT uDetermineTextLen
Definition: ime.h:154
UINT uDeltaStart
Definition: ime.h:153
UINT uYomiTextLen
Definition: ime.h:157
UINT uUndetTextLen
Definition: ime.h:149
#define WINAPI
Definition: msvc.h:6