source: trunk/include/im32.h@ 22145

Last change on this file since 22145 was 10606, checked in by sandervl, 21 years ago

KOM: Updates

File size: 18.7 KB
Line 
1#ifndef __IM32_H__
2#define __IM32_H__
3
4#include <win32type.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10#ifndef __WINE_IMM_H
11
12#define LF_FACESIZE 32 // from win/wingdi.h
13
14typedef struct
15{
16 INT lfHeight;
17 INT lfWidth;
18 INT lfEscapement;
19 INT lfOrientation;
20 INT lfWeight;
21 BYTE lfItalic;
22 BYTE lfUnderline;
23 BYTE lfStrikeOut;
24 BYTE lfCharSet;
25 BYTE lfOutPrecision;
26 BYTE lfClipPrecision;
27 BYTE lfQuality;
28 BYTE lfPitchAndFamily;
29 WCHAR lfFaceName[LF_FACESIZE];
30} LOGFONTW, *PLOGFONTW, *LPLOGFONTW; // from win/wingdi.h
31
32typedef HANDLE HIMC;
33typedef HANDLE HIMCC;
34typedef HANDLE HKL;
35typedef HKL *LPHKL;
36
37typedef int (* CALLBACK REGISTERWORDENUMPROCA)(LPCSTR, DWORD, LPCSTR, LPVOID);
38typedef int (* CALLBACK REGISTERWORDENUMPROCW)(LPCWSTR, DWORD, LPCWSTR, LPVOID);
39
40typedef struct tagCANDIDATEFORM
41{
42 DWORD dwIndex;
43 DWORD dwStyle;
44 POINT ptCurrentPos;
45 RECT rcArea;
46} CANDIDATEFORM, *LPCANDIDATEFORM;
47
48typedef struct tagCANDIDATELIST
49{
50 DWORD dwSize;
51 DWORD dwStyle;
52 DWORD dwCount;
53 DWORD dwSelection;
54 DWORD dwPageStart;
55 DWORD dwPageSize;
56 DWORD dwOffset[1];
57} CANDIDATELIST, *LPCANDIDATELIST;
58
59typedef struct tagSTYLEBUFA
60{
61 DWORD dwStyle;
62 CHAR szDescription[32];
63} STYLEBUFA, *LPSTYLEBUFA;
64
65typedef struct tagSTYLEBUFW
66{
67 DWORD dwStyle;
68 WCHAR szDescription[32];
69} STYLEBUFW, *LPSTYLEBUFW;
70
71typedef struct _tagCOMPOSITIONFORM
72{
73 DWORD dwStyle;
74 POINT ptCurrentPos;
75 RECT rcArea;
76} COMPOSITIONFORM, *LPCOMPOSITIONFORM;
77
78/* wParam for WM_IME_CONTROL */
79#define IMC_GETCANDIDATEPOS_W 0x0007
80#define IMC_SETCANDIDATEPOS_W 0x0008
81#define IMC_GETCOMPOSITIONFONT_W 0x0009
82#define IMC_SETCOMPOSITIONFONT_W 0x000A
83#define IMC_GETCOMPOSITIONWINDOW_W 0x000B
84#define IMC_SETCOMPOSITIONWINDOW_W 0x000C
85#define IMC_GETSTATUSWINDOWPOS_W 0x000F
86#define IMC_SETSTATUSWINDOWPOS_W 0x0010
87#define IMC_CLOSESTATUSWINDOW_W 0x0021
88#define IMC_OPENSTATUSWINDOW_W 0x0022
89
90/*
91 * wParam for WM_IME_CONTROL to the soft keyboard
92 * dwAction for ImmNotifyIME
93 */
94#define NI_OPENCANDIDATE_W 0x0010
95#define NI_CLOSECANDIDATE_W 0x0011
96#define NI_SELECTCANDIDATESTR_W 0x0012
97#define NI_CHANGECANDIDATELIST_W 0x0013
98#define NI_FINALIZECONVERSIONRESULT_W 0x0014
99#define NI_COMPOSITIONSTR_W 0x0015
100#define NI_SETCANDIDATE_PAGESTART_W 0x0016
101#define NI_SETCANDIDATE_PAGESIZE_W 0x0017
102
103/* lParam for WM_IME_SETCONTEXT */
104#define ISC_SHOWUICANDIDATEWINDOW_W 0x00000001
105#define ISC_SHOWUICOMPOSITIONWINDOW_W 0x80000000
106#define ISC_SHOWUIGUIDELINE_W 0x40000000
107#define ISC_SHOWUIALLCANDIDATEWINDOW_W 0x0000000F
108#define ISC_SHOWUIALL_W 0xC000000F
109
110
111/* dwIndex for ImmNotifyIME/NI_COMPOSITIONSTR */
112#define CPS_COMPLETE_W 0x0001
113#define CPS_CONVERT_W 0x0002
114#define CPS_REVERT_W 0x0003
115#define CPS_CANCEL_W 0x0004
116
117
118/* the modifiers of hot key */
119#define MOD_ALT_W 0x0001
120#define MOD_CONTROL_W 0x0002
121#define MOD_SHIFT_W 0x0004
122
123#define MOD_LEFT_W 0x8000
124#define MOD_RIGHT_W 0x4000
125
126#define MOD_ON_KEYUP_W 0x0800
127#define MOD_IGNORE_ALL_MODIFIER_W 0x0400
128
129
130/* Windows for Simplified Chinese Edition hot key ID from 0x10 - 0x2F */
131#define IME_CHOTKEY_IME_NONIME_TOGGLE_W 0x10
132#define IME_CHOTKEY_SHAPE_TOGGLE_W 0x11
133#define IME_CHOTKEY_SYMBOL_TOGGLE_W 0x12
134
135/* Windows for Japanese Edition hot key ID from 0x30 - 0x4F */
136#define IME_JHOTKEY_CLOSE_OPEN_W 0x30
137
138/* Windows for Korean Edition hot key ID from 0x50 - 0x6F */
139#define IME_KHOTKEY_SHAPE_TOGGLE_W 0x50
140#define IME_KHOTKEY_HANJACONVERT_W 0x51
141#define IME_KHOTKEY_ENGLISH_W 0x52
142
143/* Windows for Tranditional Chinese Edition hot key ID from 0x70 - 0x8F */
144#define IME_THOTKEY_IME_NONIME_TOGGLE_W 0x70
145#define IME_THOTKEY_SHAPE_TOGGLE_W 0x71
146#define IME_THOTKEY_SYMBOL_TOGGLE_W 0x72
147
148/* direct switch hot key ID from 0x100 - 0x11F */
149#define IME_HOTKEY_DSWITCH_FIRST_W 0x100
150#define IME_HOTKEY_DSWITCH_LAST_W 0x11F
151
152/* IME private hot key from 0x200 - 0x21F */
153#define IME_HOTKEY_PRIVATE_FIRST_W 0x200
154#define IME_ITHOTKEY_RESEND_RESULTSTR_W 0x200
155#define IME_ITHOTKEY_PREVIOUS_COMPOSITION_W 0x201
156#define IME_ITHOTKEY_UISTYLE_TOGGLE_W 0x202
157#define IME_HOTKEY_PRIVATE_LAST_W 0x21F
158
159
160/*
161 * dwSystemInfoFlags bits
162 * parameter of ImmGetCompositionString
163 */
164#define GCS_COMPREADSTR_W 0x0001
165#define GCS_COMPREADATTR_W 0x0002
166#define GCS_COMPREADCLAUSE_W 0x0004
167#define GCS_COMPSTR_W 0x0008
168#define GCS_COMPATTR_W 0x0010
169#define GCS_COMPCLAUSE_W 0x0020
170#define GCS_CURSORPOS_W 0x0080
171#define GCS_DELTASTART_W 0x0100
172#define GCS_RESULTREADSTR_W 0x0200
173#define GCS_RESULTREADCLAUSE_W 0x0400
174#define GCS_RESULTSTR_W 0x0800
175#define GCS_RESULTCLAUSE_W 0x1000
176
177/* style bit flags for WM_IME_COMPOSITION */
178#define CS_INSERTCHAR_W 0x2000
179#define CS_NOMOVECARET_W 0x4000
180
181
182/*
183 * bits of fdwInit of INPUTCONTEXT
184 * IME version constants
185 */
186#define IMEVER_0310_W 0x0003000A
187#define IMEVER_0400_W 0x00040000
188
189
190/* IME property bits */
191#define IME_PROP_AT_CARET_W 0x00010000
192#define IME_PROP_SPECIAL_UI_W 0x00020000
193#define IME_PROP_CANDLIST_START_FROM_1_W 0x00040000
194#define IME_PROP_UNICODE_W 0x00080000
195
196
197/* IME UICapability bits */
198#define UI_CAP_2700_W 0x00000001
199#define UI_CAP_ROT90_W 0x00000002
200#define UI_CAP_ROTANY_W 0x00000004
201/* ImmSetCompositionString Capability bits */
202#define SCS_CAP_COMPSTR_W 0x00000001
203#define SCS_CAP_MAKEREAD_W 0x00000002
204
205
206/* IME WM_IME_SELECT inheritance Capability bits */
207#define SELECT_CAP_CONVERSION_W 0x00000001
208#define SELECT_CAP_SENTENCE_W 0x00000002
209
210
211/* ID for deIndex of ImmGetGuideLine */
212#define GGL_LEVEL_W 0x00000001
213#define GGL_INDEX_W 0x00000002
214#define GGL_STRING_W 0x00000003
215#define GGL_PRIVATE_W 0x00000004
216
217/* ID for dwLevel of GUIDELINE Structure */
218#define GL_LEVEL_NOGUIDELINE_W 0x00000000
219#define GL_LEVEL_FATAL_W 0x00000001
220#define GL_LEVEL_ERROR_W 0x00000002
221#define GL_LEVEL_WARNING_W 0x00000003
222#define GL_LEVEL_INFORMATION_W 0x00000004
223
224/* ID for dwIndex of GUIDELINE Structure */
225#define GL_ID_UNKNOWN_W 0x00000000
226#define GL_ID_NOMODULE_W 0x00000001
227#define GL_ID_NODICTIONARY_W 0x00000010
228#define GL_ID_CANNOTSAVE_W 0x00000011
229#define GL_ID_NOCONVERT_W 0x00000020
230#define GL_ID_TYPINGERROR_W 0x00000021
231#define GL_ID_TOOMANYSTROKE_W 0x00000022
232#define GL_ID_READINGCONFLICT_W 0x00000023
233#define GL_ID_INPUTREADING_W 0x00000024
234#define GL_ID_INPUTRADICAL_W 0x00000025
235#define GL_ID_INPUTCODE_W 0x00000026
236#define GL_ID_INPUTSYMBOL_W 0x00000027
237#define GL_ID_CHOOSECANDIDATE_W 0x00000028
238#define GL_ID_REVERSECONVERSION_W 0x00000029
239#define GL_ID_PRIVATE_FIRST_W 0x00008000
240#define GL_ID_PRIVATE_LAST_W 0x0000FFFF
241
242/* ID for dwIndex of ImmGetProperty */
243#define IGP_GETIMEVERSION_W (DWORD)(-4)
244#define IGP_PROPERTY_W 0x00000004
245#define IGP_CONVERSION_W 0x00000008
246#define IGP_SENTENCE_W 0x0000000c
247#define IGP_UI_W 0x00000010
248#define IGP_SETCOMPSTR_W 0x00000014
249#define IGP_SELECT_W 0x00000018
250
251
252/* dwIndex for ImmSetCompositionString API */
253#define SCS_SETSTR_W (GCS_COMPREADSTR_W|GCS_COMPSTR_W)
254#define SCS_CHANGEATTR_W (GCS_COMPREADATTR_W|GCS_COMPATTR_W)
255#define SCS_CHANGECLAUSE_W (GCS_COMPREADCLAUSE_W|GCS_COMPCLAUSE_W)
256
257/* attribute for COMPOSITIONSTRING Structure */
258#define ATTR_INPUT_W 0x00
259#define ATTR_TARGET_CONVERTED_W 0x01
260#define ATTR_CONVERTED_W 0x02
261#define ATTR_TARGET_NOTCONVERTED_W 0x03
262#define ATTR_INPUT_ERROR_W 0x04
263
264
265/* bit field for IMC_SETCOMPOSITIONWINDOW, IMC_SETCANDIDATEWINDOW */
266#define CFS_DEFAULT_W 0x0000
267#define CFS_RECT_W 0x0001
268#define CFS_POINT_W 0x0002
269#define CFS_FORCE_POSITION_W 0x0020
270#define CFS_CANDIDATEPOS_W 0x0040
271#define CFS_EXCLUDE_W 0x0080
272
273/* conversion direction for ImmGetConversionList */
274#define GCL_CONVERSION_W 0x0001
275#define GCL_REVERSECONVERSION_W 0x0002
276#define GCL_REVERSE_LENGTH_W 0x0003
277
278
279/* bit field for conversion mode */
280#define IME_CMODE_ALPHANUMERIC_W 0x0000
281#define IME_CMODE_NATIVE_W 0x0001
282#define IME_CMODE_CHINESE_W IME_CMODE_NATIVE_W
283/* IME_CMODE_HANGEUL is old name of IME_CMODE_HANGUL. It will be gone eventually. */
284#define IME_CMODE_HANGEUL_W IME_CMODE_NATIVE_W
285#define IME_CMODE_HANGUL_W IME_CMODE_NATIVE_W
286#define IME_CMODE_JAPANESE_W IME_CMODE_NATIVE_W
287#define IME_CMODE_KATAKANA_W 0x0002 /* only effect under IME_CMODE_NATIVE */
288#define IME_CMODE_LANGUAGE_W 0x0003
289#define IME_CMODE_FULLSHAPE_W 0x0008
290#define IME_CMODE_ROMAN_W 0x0010
291#define IME_CMODE_CHARCODE_W 0x0020
292#define IME_CMODE_HANJACONVERT_W 0x0040
293#define IME_CMODE_SOFTKBD_W 0x0080
294#define IME_CMODE_NOCONVERSION_W 0x0100
295#define IME_CMODE_EUDC_W 0x0200
296#define IME_CMODE_SYMBOL_W 0x0400
297
298
299#define IME_SMODE_NONE_W 0x0000
300#define IME_SMODE_PLAURALCLAUSE_W 0x0001
301#define IME_SMODE_SINGLECONVERT_W 0x0002
302#define IME_SMODE_AUTOMATIC_W 0x0004
303#define IME_SMODE_PHRASEPREDICT_W 0x0008
304
305/* style of candidate */
306#define IME_CAND_UNKNOWN_W 0x0000
307#define IME_CAND_READ_W 0x0001
308#define IME_CAND_CODE_W 0x0002
309#define IME_CAND_MEANING_W 0x0003
310#define IME_CAND_RADICAL_W 0x0004
311#define IME_CAND_STROKE_W 0x0005
312
313
314/* wParam of report message WM_IME_NOTIFY */
315#define IMN_CLOSESTATUSWINDOW_W 0x0001
316#define IMN_OPENSTATUSWINDOW_W 0x0002
317#define IMN_CHANGECANDIDATE_W 0x0003
318#define IMN_CLOSECANDIDATE_W 0x0004
319#define IMN_OPENCANDIDATE_W 0x0005
320#define IMN_SETCONVERSIONMODE_W 0x0006
321#define IMN_SETSENTENCEMODE_W 0x0007
322#define IMN_SETOPENSTATUS_W 0x0008
323#define IMN_SETCANDIDATEPOS_W 0x0009
324#define IMN_SETCOMPOSITIONFONT_W 0x000A
325#define IMN_SETCOMPOSITIONWINDOW_W 0x000B
326#define IMN_SETSTATUSWINDOWPOS_W 0x000C
327#define IMN_GUIDELINE_W 0x000D
328#define IMN_PRIVATE_W 0x000E
329
330
331/* error code of ImmGetCompositionString */
332#define IMM_ERROR_NODATA_W (-1)
333#define IMM_ERROR_GENERAL_W (-2)
334
335
336/* dialog mode of ImmConfigureIME */
337#define IME_CONFIG_GENERAL_W 1
338#define IME_CONFIG_REGISTERWORD_W 2
339#define IME_CONFIG_SELECTDICTIONARY_W 3
340
341/* dialog mode of ImmEscape */
342#define IME_ESC_QUERY_SUPPORT_W 0x0003
343#define IME_ESC_RESERVED_FIRST_W 0x0004
344#define IME_ESC_RESERVED_LAST_W 0x07FF
345#define IME_ESC_PRIVATE_FIRST_W 0x0800
346#define IME_ESC_PRIVATE_LAST_W 0x0FFF
347#define IME_ESC_SEQUENCE_TO_INTERNAL_W 0x1001
348#define IME_ESC_GET_EUDC_DICTIONARY_W 0x1003
349#define IME_ESC_SET_EUDC_DICTIONARY_W 0x1004
350#define IME_ESC_MAX_KEY_W 0x1005
351#define IME_ESC_IME_NAME_W 0x1006
352#define IME_ESC_SYNC_HOTKEY_W 0x1007
353#define IME_ESC_HANJA_MODE_W 0x1008
354#define IME_ESC_AUTOMATA_W 0x1009
355#define IME_ESC_PRIVATE_HOTKEY_W 0x100a
356
357
358/* style of word registration */
359#define IME_REGWORD_STYLE_EUDC_W 0x00000001
360#define IME_REGWORD_STYLE_USER_FIRST_W 0x80000000
361#define IME_REGWORD_STYLE_USER_LAST_W 0xFFFFFFFF
362
363/*
364 * type of soft keyboard
365 * for Windows Tranditional Chinese Edition
366 */
367#define SOFTKEYBOARD_TYPE_T1_W 0x0001
368/* for Windows Simplified Chinese Edition */
369#define SOFTKEYBOARD_TYPE_C1_W 0x0002
370
371typedef struct tagINPUTCONTEXT {
372 HWND hWnd;
373 BOOL fOpen;
374 POINT ptStatusWndPos;
375 POINT ptSoftKbdPos;
376 DWORD fdwConversion;
377 DWORD fdwSentence;
378 union {
379 LOGFONTA A;
380 LOGFONTW W;
381 } lfFont;
382 COMPOSITIONFORM cfCompForm;
383 CANDIDATEFORM cfCandForm[4];
384 HIMCC hCompStr;
385 HIMCC hCandInfo;
386 HIMCC hGuideLine;
387 HIMCC hPrivate;
388 DWORD dwNumMsgBuf;
389 HIMCC hMsgBuf;
390 DWORD fdwInit;
391 DWORD dwReserve[3];
392} INPUTCONTEXT, *PINPUTCONTEXT, *NPINPUTCONTEXT, *LPINPUTCONTEXT;
393
394
395#define IMEMENUITEM_STRING_SIZE 80
396
397typedef struct tagIMEMENUITEMINFOA {
398 UINT cbSize;
399 UINT fType;
400 UINT fState;
401 UINT wID;
402 HBITMAP hbmpChecked;
403 HBITMAP hbmpUnchecked;
404 DWORD dwItemData;
405 CHAR szString[IMEMENUITEM_STRING_SIZE];
406 HBITMAP hbmpItem;
407} IMEMENUITEMINFOA, *PIMEMENUITEMINFOA, *NPIMEMENUITEMINFOA, *LPIMEMENUITEMINFOA;
408
409typedef struct tagIMEMENUITEMINFOW {
410 UINT cbSize;
411 UINT fType;
412 UINT fState;
413 UINT wID;
414 HBITMAP hbmpChecked;
415 HBITMAP hbmpUnchecked;
416 DWORD dwItemData;
417 WCHAR szString[IMEMENUITEM_STRING_SIZE];
418 HBITMAP hbmpItem;
419} IMEMENUITEMINFOW, *PIMEMENUITEMINFOW, *NPIMEMENUITEMINFOW, *LPIMEMENUITEMINFOW;
420
421#endif // __WINE_IMM_H
422
423BOOL IM32Init( VOID );
424VOID IM32Term( VOID );
425
426HIMC IM32AssociateContext(HWND hWnd, HIMC hIMC);
427BOOL IM32AssociateContextEx(HWND hWnd, HIMC hIMC, DWORD dword);
428BOOL IM32ConfigureIME(HKL hKL, HWND hWnd, DWORD dwMode, LPVOID lpData, BOOL fUnicode );
429HIMC IM32CreateContext(VOID);
430HIMCC IM32CreateIMCC(DWORD dword);
431HWND IM32CreateSoftKeyboard(UINT uint, HWND hwnd, int in1, int in2);
432BOOL IM32DestroyContext(HIMC hIMC);
433HIMCC IM32DestroyIMCC(HIMCC himcc);
434BOOL IM32DestroySoftKeyboard(HWND hwnd);
435BOOL IM32DisableIME(DWORD dword);
436UINT IM32EnumRegisterWord( HKL hKL, LPVOID lpfnEnumProc, LPVOID lpszReading, DWORD dwStyle, LPVOID lpszRegister, LPVOID lpData, BOOL fUnicode );
437LRESULT IM32Escape(HKL hKL, HIMC hIMC, UINT uEscape, LPVOID lpData, BOOL fUnicode);
438BOOL IM32GenerateMessage(HIMC himc);
439DWORD IM32GetCandidateList(HIMC hIMC, DWORD deIndex, LPCANDIDATELIST lpCandList, DWORD dwBufLen, BOOL fUnicode);
440DWORD IM32GetCandidateListCount( HIMC hIMC, LPDWORD lpdwListCount, BOOL fUnicode);
441BOOL IM32GetCandidateWindow(HIMC hIMC, DWORD dwBufLen, LPCANDIDATEFORM lpCandidate);
442BOOL IM32GetCompositionFont(HIMC hIMC, LPVOID lplf, BOOL fUnicode);
443LONG IM32GetCompositionString(HIMC hIMC, DWORD dwIndex, LPVOID lpBuf, DWORD dwBufLen, BOOL fUnicode);
444BOOL IM32GetCompositionWindow(HIMC hIMC, LPCOMPOSITIONFORM lpCompForm);
445HIMC IM32GetContext(HWND hWnd);
446DWORD IM32GetConversionList( HKL hKL, HIMC hIMC, LPVOID pSrc, LPCANDIDATELIST lpDst, DWORD dwBufLen, UINT uFlag, BOOL fUnicode);
447BOOL IM32GetConversionStatus(HIMC hIMC, LPDWORD lpfdwConversion, LPDWORD lpfdwSentence);
448HWND IM32GetDefaultIMEWnd(HWND hWnd);
449UINT IM32GetDescription(HKL hKL, LPVOID lpszDescription, UINT uBufLen, BOOL fUnicode);
450DWORD IM32GetGuideLine(HIMC hIMC, DWORD dwIndex, LPVOID lpBuf, DWORD dwBufLen, BOOL fUnicode);
451BOOL IM32GetHotKey(DWORD dword, LPUINT lpuModifiers, LPUINT lpuVKey, LPHKL lphkl);
452DWORD IM32GetIMCCLockCount(HIMCC himcc);
453DWORD IM32GetIMCCSize(HIMCC himcc);
454DWORD IM32GetIMCLockCount(HIMC himc);
455UINT IM32GetIMEFileName( HKL hKL, LPVOID lpszFileName, UINT uBufLen, BOOL fUnicode);
456DWORD IM32GetImeMenuItems(HIMC himc, DWORD dword, DWORD dword2, LPVOID pimen, LPVOID lpimen2, DWORD dword3, BOOL fUnicode);
457BOOL IM32GetOpenStatus(HIMC hIMC);
458DWORD IM32GetProperty(HKL hKL, DWORD fdwIndex);
459UINT IM32GetRegisterWordStyle(HKL hKL, UINT nItem, LPVOID lpStyleBuf, BOOL fUnicode);
460BOOL IM32GetStatusWindowPos(HIMC hIMC, LPPOINT lpptPos);
461UINT IM32GetVirtualKey(HWND hWnd);
462HKL IM32InstallIME(LPVOID lpszIMEFileName, LPVOID lpszLayoutText, BOOL fUnicode);
463BOOL IM32IsIME(HKL hKL);
464BOOL IM32IsUIMessage(HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam, BOOL fUnicode);
465LPINPUTCONTEXT IM32LockIMC(HIMC himc);
466LPVOID IM32LockIMCC(HIMCC himcc);
467BOOL IM32NotifyIME(HIMC hIMC, DWORD dwAction, DWORD dwIndex, DWORD dwValue);
468HIMCC IM32ReSizeIMCC(HIMCC himcc, DWORD dword);
469BOOL IM32RegisterWord( HKL hKL, LPVOID lpszReading, DWORD dwStyle, LPVOID lpszRegister, BOOL fUnicode);
470BOOL IM32ReleaseContext(HWND hWnd, HIMC hIMC);
471LRESULT IM32RequestMessage(HIMC himc, WPARAM wparam, LPARAM lparam, BOOL fUnicode);
472BOOL IM32SetCandidateWindow(HIMC hIMC, LPCANDIDATEFORM lpCandidate);
473BOOL IM32SetCompositionFont(HIMC hIMC, LPVOID lplf, BOOL fUnicode);
474BOOL IM32SetCompositionString( HIMC hIMC, DWORD dwIndex, LPCVOID lpComp, DWORD dwCompLen, LPCVOID lpRead, DWORD dwReadLen, BOOL fUnicode);
475BOOL IM32SetCompositionWindow(HIMC hIMC, LPCOMPOSITIONFORM lpCompForm);
476BOOL IM32SetConversionStatus(HIMC hIMC, DWORD fdwConversion, DWORD fdwSentence);
477BOOL IM32SetHotKey(DWORD dword, UINT uint, UINT uint2, HKL hkl);
478BOOL IM32SetOpenStatus(HIMC hIMC, BOOL fOpen);
479BOOL IM32SetStatusWindowPos(HIMC hIMC, LPPOINT lpptPos);
480BOOL IM32ShowSoftKeyboard(HWND hwnd, int in1);
481BOOL IM32SimulateHotKey(HWND hWnd, DWORD dwHotKeyID);
482BOOL IM32UnlockIMC(HIMC himc);
483BOOL IM32UnlockIMCC(HIMCC himcc);
484BOOL IM32UnregisterWord(HKL hKL, LPVOID lpszReading, DWORD dwStyle, LPVOID lpszUnregister, BOOL fUnicode);
485
486#ifdef __cplusplus
487}
488#endif
489
490#endif
Note: See TracBrowser for help on using the repository browser.