VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/imm.h@ 96080

最後變更 在這個檔案從96080是 53206,由 vboxsync 提交於 10 年 前

Devices/vmsvga: header fixes

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 21.3 KB
 
1/*
2 * Declarations for IMM32
3 *
4 * Copyright (C) the Wine project
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21/*
22 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
23 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
24 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
25 * a choice of LGPL license versions is made available with the language indicating
26 * that LGPLv2 or any later version may be used, or where a choice of which version
27 * of the LGPL is applied is otherwise unspecified.
28 */
29
30#ifndef __WINE_IMM_H
31#define __WINE_IMM_H
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
37typedef HANDLE HIMC;
38typedef HANDLE HIMCC;
39
40typedef struct tagREGISTERWORDA {
41 LPSTR lpReading;
42 LPSTR lpWord;
43} REGISTERWORDA, *PREGISTERWORDA, *NPREGISTERWORDA, *LPREGISTERWORDA;
44
45typedef struct tagREGISTERWORDW {
46 LPWSTR lpReading;
47 LPWSTR lpWord;
48} REGISTERWORDW, *PREGISTERWORDW, *NPREGISTERWORDW, *LPREGISTERWORDW;
49
50typedef int (CALLBACK *REGISTERWORDENUMPROCA)(LPCSTR, DWORD, LPCSTR, LPVOID);
51typedef int (CALLBACK *REGISTERWORDENUMPROCW)(LPCWSTR, DWORD, LPCWSTR, LPVOID);
52
53typedef struct tagCANDIDATEFORM
54{
55 DWORD dwIndex;
56 DWORD dwStyle;
57 POINT ptCurrentPos;
58 RECT rcArea;
59} CANDIDATEFORM, *LPCANDIDATEFORM;
60
61typedef struct tagCANDIDATELIST
62{
63 DWORD dwSize;
64 DWORD dwStyle;
65 DWORD dwCount;
66 DWORD dwSelection;
67 DWORD dwPageStart;
68 DWORD dwPageSize;
69 DWORD dwOffset[1];
70} CANDIDATELIST, *LPCANDIDATELIST;
71
72typedef struct tagSTYLEBUFA
73{
74 DWORD dwStyle;
75 CHAR szDescription[32];
76} STYLEBUFA, *LPSTYLEBUFA;
77
78typedef struct tagSTYLEBUFW
79{
80 DWORD dwStyle;
81 WCHAR szDescription[32];
82} STYLEBUFW, *LPSTYLEBUFW;
83
84DECL_WINELIB_TYPE_AW(STYLEBUF)
85DECL_WINELIB_TYPE_AW(LPSTYLEBUF)
86
87typedef struct tagRECONVERTSTRING
88{
89 DWORD dwSize;
90 DWORD dwVersion;
91 DWORD dwStrLen;
92 DWORD dwStrOffset;
93 DWORD dwCompStrLen;
94 DWORD dwCompStrOffset;
95 DWORD dwTargetStrLen;
96 DWORD dwTargetStrOffset;
97} RECONVERTSTRING, *LPRECONVERTSTRING;
98
99
100#define IMEMENUITEM_STRING_SIZE 80
101
102typedef struct tagIMEMENUITEMINFOA
103{
104 UINT cbSize;
105 UINT fType;
106 UINT fState;
107 UINT wID;
108 HBITMAP hbmpChecked;
109 HBITMAP hbmpUnchecked;
110 DWORD dwItemData;
111 CHAR szString[IMEMENUITEM_STRING_SIZE];
112 HBITMAP hbmpItem;
113} IMEMENUITEMINFOA, *LPIMEMENUITEMINFOA;
114
115typedef struct tagIMEMENUITEMINFOW
116{
117 UINT cbSize;
118 UINT fType;
119 UINT fState;
120 UINT wID;
121 HBITMAP hbmpChecked;
122 HBITMAP hbmpUnchecked;
123 DWORD dwItemData;
124 WCHAR szString[IMEMENUITEM_STRING_SIZE];
125 HBITMAP hbmpItem;
126} IMEMENUITEMINFOW, *LPIMEMENUITEMINFOW;
127
128DECL_WINELIB_TYPE_AW(IMEMENUITEMINFO)
129DECL_WINELIB_TYPE_AW(LPIMEMENUITEMINFO)
130
131
132typedef struct _tagCOMPOSITIONFORM
133{
134 DWORD dwStyle;
135 POINT ptCurrentPos;
136 RECT rcArea;
137} COMPOSITIONFORM, *LPCOMPOSITIONFORM;
138
139typedef BOOL (CALLBACK* IMCENUMPROC)(HIMC, LPARAM);
140
141typedef struct _tagIMECHARPOSITION
142{
143 DWORD dwSize;
144 DWORD dwCharPos;
145 POINT pt;
146 UINT cLineHeight;
147 RECT rcDocument;
148} IMECHARPOSITION, *LPIMECHARPOSITION;
149
150/* wParam for WM_IME_CONTROL */
151#define IMC_GETCANDIDATEPOS 0x0007
152#define IMC_SETCANDIDATEPOS 0x0008
153#define IMC_GETCOMPOSITIONFONT 0x0009
154#define IMC_SETCOMPOSITIONFONT 0x000A
155#define IMC_GETCOMPOSITIONWINDOW 0x000B
156#define IMC_SETCOMPOSITIONWINDOW 0x000C
157#define IMC_GETSTATUSWINDOWPOS 0x000F
158#define IMC_SETSTATUSWINDOWPOS 0x0010
159#define IMC_CLOSESTATUSWINDOW 0x0021
160#define IMC_OPENSTATUSWINDOW 0x0022
161
162/*
163 * wParam for WM_IME_CONTROL to the soft keyboard
164 * dwAction for ImmNotifyIME
165 */
166#define NI_OPENCANDIDATE 0x0010
167#define NI_CLOSECANDIDATE 0x0011
168#define NI_SELECTCANDIDATESTR 0x0012
169#define NI_CHANGECANDIDATELIST 0x0013
170#define NI_FINALIZECONVERSIONRESULT 0x0014
171#define NI_COMPOSITIONSTR 0x0015
172#define NI_SETCANDIDATE_PAGESTART 0x0016
173#define NI_SETCANDIDATE_PAGESIZE 0x0017
174#define NI_IMEMENUSELECTED 0x0018
175
176/* lParam for WM_IME_SETCONTEXT */
177#define ISC_SHOWUICANDIDATEWINDOW 0x00000001
178#define ISC_SHOWUICOMPOSITIONWINDOW 0x80000000
179#define ISC_SHOWUIGUIDELINE 0x40000000
180#define ISC_SHOWUIALLCANDIDATEWINDOW 0x0000000F
181#define ISC_SHOWUIALL 0xC000000F
182
183
184/* dwIndex for ImmNotifyIME/NI_COMPOSITIONSTR */
185#define CPS_COMPLETE 0x0001
186#define CPS_CONVERT 0x0002
187#define CPS_REVERT 0x0003
188#define CPS_CANCEL 0x0004
189
190
191/* the modifiers of hot key */
192#define MOD_ALT 0x0001
193#define MOD_CONTROL 0x0002
194#define MOD_SHIFT 0x0004
195
196#define MOD_LEFT 0x8000
197#define MOD_RIGHT 0x4000
198
199#define MOD_ON_KEYUP 0x0800
200#define MOD_IGNORE_ALL_MODIFIER 0x0400
201
202
203/* Windows for Simplified Chinese Edition hot key ID from 0x10 - 0x2F */
204#define IME_CHOTKEY_IME_NONIME_TOGGLE 0x10
205#define IME_CHOTKEY_SHAPE_TOGGLE 0x11
206#define IME_CHOTKEY_SYMBOL_TOGGLE 0x12
207
208/* Windows for Japanese Edition hot key ID from 0x30 - 0x4F */
209#define IME_JHOTKEY_CLOSE_OPEN 0x30
210
211/* Windows for Korean Edition hot key ID from 0x50 - 0x6F */
212#define IME_KHOTKEY_SHAPE_TOGGLE 0x50
213#define IME_KHOTKEY_HANJACONVERT 0x51
214#define IME_KHOTKEY_ENGLISH 0x52
215/* Windows for Traditional Chinese Edition hot key ID from 0x70 - 0x8F */
216#define IME_THOTKEY_IME_NONIME_TOGGLE 0x70
217#define IME_THOTKEY_SHAPE_TOGGLE 0x71
218#define IME_THOTKEY_SYMBOL_TOGGLE 0x72
219
220/* direct switch hot key ID from 0x100 - 0x11F */
221#define IME_HOTKEY_DSWITCH_FIRST 0x100
222#define IME_HOTKEY_DSWITCH_LAST 0x11F
223
224/* IME private hot key from 0x200 - 0x21F */
225#define IME_HOTKEY_PRIVATE_FIRST 0x200
226#define IME_ITHOTKEY_RESEND_RESULTSTR 0x200
227#define IME_ITHOTKEY_PREVIOUS_COMPOSITION 0x201
228#define IME_ITHOTKEY_UISTYLE_TOGGLE 0x202
229#define IME_ITHOTKEY_RECONVERTSTRING 0x203
230#define IME_HOTKEY_PRIVATE_LAST 0x21F
231
232
233/*
234 * dwSystemInfoFlags bits
235 * parameter of ImmGetCompositionString
236 */
237#define GCS_COMPREADSTR 0x0001
238#define GCS_COMPREADATTR 0x0002
239#define GCS_COMPREADCLAUSE 0x0004
240#define GCS_COMPSTR 0x0008
241#define GCS_COMPATTR 0x0010
242#define GCS_COMPCLAUSE 0x0020
243#define GCS_CURSORPOS 0x0080
244#define GCS_DELTASTART 0x0100
245#define GCS_RESULTREADSTR 0x0200
246#define GCS_RESULTREADCLAUSE 0x0400
247#define GCS_RESULTSTR 0x0800
248#define GCS_RESULTCLAUSE 0x1000
249
250/* style bit flags for WM_IME_COMPOSITION */
251#define CS_INSERTCHAR 0x2000
252#define CS_NOMOVECARET 0x4000
253
254
255/*
256 * bits of fdwInit of INPUTCONTEXT
257 * IME version constants
258 */
259#define IMEVER_0310 0x0003000A
260#define IMEVER_0400 0x00040000
261
262
263/* IME property bits */
264#define IME_PROP_AT_CARET 0x00010000
265#define IME_PROP_SPECIAL_UI 0x00020000
266#define IME_PROP_CANDLIST_START_FROM_1 0x00040000
267#define IME_PROP_UNICODE 0x00080000
268#define IME_PROP_COMPLETE_ON_UNSELECT 0x00100000
269
270
271/* IME UICapability bits */
272#define UI_CAP_2700 0x00000001
273#define UI_CAP_ROT90 0x00000002
274#define UI_CAP_ROTANY 0x00000004
275/* ImmSetCompositionString Capability bits */
276#define SCS_CAP_COMPSTR 0x00000001
277#define SCS_CAP_MAKEREAD 0x00000002
278#define SCS_CAP_SETRECONVERTSTRING 0x00000004
279
280
281/* IME WM_IME_SELECT inheritance Capability bits */
282#define SELECT_CAP_CONVERSION 0x00000001
283#define SELECT_CAP_SENTENCE 0x00000002
284
285
286/* ID for deIndex of ImmGetGuideLine */
287#define GGL_LEVEL 0x00000001
288#define GGL_INDEX 0x00000002
289#define GGL_STRING 0x00000003
290#define GGL_PRIVATE 0x00000004
291
292/* ID for dwLevel of GUIDELINE Structure */
293#define GL_LEVEL_NOGUIDELINE 0x00000000
294#define GL_LEVEL_FATAL 0x00000001
295#define GL_LEVEL_ERROR 0x00000002
296#define GL_LEVEL_WARNING 0x00000003
297#define GL_LEVEL_INFORMATION 0x00000004
298
299/* ID for dwIndex of GUIDELINE Structure */
300#define GL_ID_UNKNOWN 0x00000000
301#define GL_ID_NOMODULE 0x00000001
302#define GL_ID_NODICTIONARY 0x00000010
303#define GL_ID_CANNOTSAVE 0x00000011
304#define GL_ID_NOCONVERT 0x00000020
305#define GL_ID_TYPINGERROR 0x00000021
306#define GL_ID_TOOMANYSTROKE 0x00000022
307#define GL_ID_READINGCONFLICT 0x00000023
308#define GL_ID_INPUTREADING 0x00000024
309#define GL_ID_INPUTRADICAL 0x00000025
310#define GL_ID_INPUTCODE 0x00000026
311#define GL_ID_INPUTSYMBOL 0x00000027
312#define GL_ID_CHOOSECANDIDATE 0x00000028
313#define GL_ID_REVERSECONVERSION 0x00000029
314#define GL_ID_PRIVATE_FIRST 0x00008000
315#define GL_ID_PRIVATE_LAST 0x0000FFFF
316
317/* ID for dwIndex of ImmGetProperty */
318#define IGP_GETIMEVERSION (DWORD)(-4)
319#define IGP_PROPERTY 0x00000004
320#define IGP_CONVERSION 0x00000008
321#define IGP_SENTENCE 0x0000000c
322#define IGP_UI 0x00000010
323#define IGP_SETCOMPSTR 0x00000014
324#define IGP_SELECT 0x00000018
325
326
327/* dwIndex for ImmSetCompositionString API */
328#define SCS_SETSTR (GCS_COMPREADSTR|GCS_COMPSTR)
329#define SCS_CHANGEATTR (GCS_COMPREADATTR|GCS_COMPATTR)
330#define SCS_CHANGECLAUSE (GCS_COMPREADCLAUSE|GCS_COMPCLAUSE)
331#define SCS_SETRECONVERTSTRING 0x00010000
332#define SCS_QUERYRECONVERTSTRING 0x00020000
333
334/* attribute for COMPOSITIONSTRING Structure */
335#define ATTR_INPUT 0x00
336#define ATTR_TARGET_CONVERTED 0x01
337#define ATTR_CONVERTED 0x02
338#define ATTR_TARGET_NOTCONVERTED 0x03
339#define ATTR_INPUT_ERROR 0x04
340#define ATTR_FIXEDCONVERTED 0x05
341
342
343/* bit field for IMC_SETCOMPOSITIONWINDOW, IMC_SETCANDIDATEWINDOW */
344#define CFS_DEFAULT 0x0000
345#define CFS_RECT 0x0001
346#define CFS_POINT 0x0002
347#define CFS_FORCE_POSITION 0x0020
348#define CFS_CANDIDATEPOS 0x0040
349#define CFS_EXCLUDE 0x0080
350
351/* conversion direction for ImmGetConversionList */
352#define GCL_CONVERSION 0x0001
353#define GCL_REVERSECONVERSION 0x0002
354#define GCL_REVERSE_LENGTH 0x0003
355
356
357/* bit field for conversion mode */
358#define IME_CMODE_ALPHANUMERIC 0x0000
359#define IME_CMODE_NATIVE 0x0001
360#define IME_CMODE_CHINESE IME_CMODE_NATIVE
361/* IME_CMODE_HANGEUL is old name of IME_CMODE_HANGUL. It will be gone eventually. */
362#define IME_CMODE_HANGEUL IME_CMODE_NATIVE
363#define IME_CMODE_HANGUL IME_CMODE_NATIVE
364#define IME_CMODE_JAPANESE IME_CMODE_NATIVE
365#define IME_CMODE_KATAKANA 0x0002 /* only effect under IME_CMODE_NATIVE */
366#define IME_CMODE_LANGUAGE 0x0003
367#define IME_CMODE_FULLSHAPE 0x0008
368#define IME_CMODE_ROMAN 0x0010
369#define IME_CMODE_CHARCODE 0x0020
370#define IME_CMODE_HANJACONVERT 0x0040
371#define IME_CMODE_SOFTKBD 0x0080
372#define IME_CMODE_NOCONVERSION 0x0100
373#define IME_CMODE_EUDC 0x0200
374#define IME_CMODE_SYMBOL 0x0400
375#define IME_CMODE_FIXED 0x0800
376
377
378#define IME_SMODE_NONE 0x0000
379#define IME_SMODE_PLAURALCLAUSE 0x0001
380#define IME_SMODE_SINGLECONVERT 0x0002
381#define IME_SMODE_AUTOMATIC 0x0004
382#define IME_SMODE_PHRASEPREDICT 0x0008
383#define IME_SMODE_CONVERSATION 0x0010
384
385/* style of candidate */
386#define IME_CAND_UNKNOWN 0x0000
387#define IME_CAND_READ 0x0001
388#define IME_CAND_CODE 0x0002
389#define IME_CAND_MEANING 0x0003
390#define IME_CAND_RADICAL 0x0004
391#define IME_CAND_STROKE 0x0005
392
393
394/* wParam of report message WM_IME_NOTIFY */
395#define IMN_CLOSESTATUSWINDOW 0x0001
396#define IMN_OPENSTATUSWINDOW 0x0002
397#define IMN_CHANGECANDIDATE 0x0003
398#define IMN_CLOSECANDIDATE 0x0004
399#define IMN_OPENCANDIDATE 0x0005
400#define IMN_SETCONVERSIONMODE 0x0006
401#define IMN_SETSENTENCEMODE 0x0007
402#define IMN_SETOPENSTATUS 0x0008
403#define IMN_SETCANDIDATEPOS 0x0009
404#define IMN_SETCOMPOSITIONFONT 0x000A
405#define IMN_SETCOMPOSITIONWINDOW 0x000B
406#define IMN_SETSTATUSWINDOWPOS 0x000C
407#define IMN_GUIDELINE 0x000D
408#define IMN_PRIVATE 0x000E
409
410
411/* wParam of report message WM_IME_REQUEST */
412#define IMR_COMPOSITIONWINDOW 0x0001
413#define IMR_CANDIDATEWINDOW 0x0002
414#define IMR_COMPOSITIONFONT 0x0003
415#define IMR_RECONVERTSTRING 0x0004
416#define IMR_CONFIRMRECONVERTSTRING 0x0005
417#define IMR_QUERYCHARPOSITION 0x0006
418#define IMR_DOCUMENTFEED 0x0007
419
420
421/* error code of ImmGetCompositionString */
422#define IMM_ERROR_NODATA (-1)
423#define IMM_ERROR_GENERAL (-2)
424
425
426/* dialog mode of ImmConfigureIME */
427#define IME_CONFIG_GENERAL 1
428#define IME_CONFIG_REGISTERWORD 2
429#define IME_CONFIG_SELECTDICTIONARY 3
430
431/* dialog mode of ImmEscape */
432#define IME_ESC_QUERY_SUPPORT 0x0003
433#define IME_ESC_RESERVED_FIRST 0x0004
434#define IME_ESC_RESERVED_LAST 0x07FF
435#define IME_ESC_PRIVATE_FIRST 0x0800
436#define IME_ESC_PRIVATE_LAST 0x0FFF
437#define IME_ESC_SEQUENCE_TO_INTERNAL 0x1001
438#define IME_ESC_GET_EUDC_DICTIONARY 0x1003
439#define IME_ESC_SET_EUDC_DICTIONARY 0x1004
440#define IME_ESC_MAX_KEY 0x1005
441#define IME_ESC_IME_NAME 0x1006
442#define IME_ESC_SYNC_HOTKEY 0x1007
443#define IME_ESC_HANJA_MODE 0x1008
444#define IME_ESC_AUTOMATA 0x1009
445#define IME_ESC_PRIVATE_HOTKEY 0x100a
446#define IME_ESC_GETHELPFILENAME 0x100b
447
448
449/* style of word registration */
450#define IME_REGWORD_STYLE_EUDC 0x00000001
451#define IME_REGWORD_STYLE_USER_FIRST 0x80000000
452#define IME_REGWORD_STYLE_USER_LAST 0xFFFFFFFF
453
454
455/* dwFlags for ImmAssociateContextEx */
456#define IACE_CHILDREN 0x0001
457#define IACE_DEFAULT 0x0010
458#define IACE_IGNORENOCONTEXT 0x0020
459
460/* dwFlags for ImmGetImeMenuItems */
461#define IGIMIF_RIGHTMENU 0x0001
462
463/* dwType for ImmGetImeMenuItems */
464#define IGIMII_CMODE 0x0001
465#define IGIMII_SMODE 0x0002
466#define IGIMII_CONFIGURE 0x0004
467#define IGIMII_TOOLS 0x0008
468#define IGIMII_HELP 0x0010
469#define IGIMII_OTHER 0x0020
470#define IGIMII_INPUTTOOLS 0x0040
471
472/* fType of IMEMENUITEMINFO structure */
473#define IMFT_RADIOCHECK 0x00001
474#define IMFT_SEPARATOR 0x00002
475#define IMFT_SUBMENU 0x00004
476
477/* fState of IMEMENUITEMINFO structure */
478#define IMFS_GRAYED MFS_GRAYED
479#define IMFS_DISABLED MFS_DISABLED
480#define IMFS_CHECKED MFS_CHECKED
481#define IMFS_HILITE MFS_HILITE
482#define IMFS_ENABLED MFS_ENABLED
483#define IMFS_UNCHECKED MFS_UNCHECKED
484#define IMFS_UNHILITE MFS_UNHILITE
485#define IMFS_DEFAULT MFS_DEFAULT
486
487
488/*
489 * type of soft keyboard
490 * for Windows Traditional Chinese Edition
491 */
492#define SOFTKEYBOARD_TYPE_T1 0x0001
493/* for Windows Simplified Chinese Edition */
494#define SOFTKEYBOARD_TYPE_C1 0x0002
495
496
497HIMC WINAPI ImmAssociateContext(HWND, HIMC);
498BOOL WINAPI ImmAssociateContextEx(HWND, HIMC, DWORD);
499BOOL WINAPI ImmConfigureIMEA(HKL, HWND, DWORD, LPVOID);
500BOOL WINAPI ImmConfigureIMEW(HKL, HWND, DWORD, LPVOID);
501#define ImmConfigureIME WINELIB_NAME_AW(ImmConfigureIME)
502HIMC WINAPI ImmCreateContext(void);
503BOOL WINAPI ImmDestroyContext(HIMC hIMC);
504BOOL WINAPI ImmDisableIME(DWORD idThread);
505BOOL WINAPI ImmEnumInputContext(DWORD, IMCENUMPROC, LPARAM);
506UINT WINAPI ImmEnumRegisterWordA(HKL, REGISTERWORDENUMPROCA, LPCSTR, DWORD, LPCSTR, LPVOID);
507UINT WINAPI ImmEnumRegisterWordW(HKL, REGISTERWORDENUMPROCW, LPCWSTR, DWORD, LPCWSTR, LPVOID);
508#define ImmEnumRegisterWord WINELIB_NAME_AW(ImmEnumRegisterWord)
509LRESULT WINAPI ImmEscapeA(HKL, HIMC, UINT, LPVOID);
510LRESULT WINAPI ImmEscapeW(HKL, HIMC, UINT, LPVOID);
511#define ImmEscape WINELIB_NAME_AW(ImmEscape)
512DWORD WINAPI ImmGetCandidateListA(HIMC, DWORD, LPCANDIDATELIST, DWORD);
513DWORD WINAPI ImmGetCandidateListW(HIMC, DWORD, LPCANDIDATELIST, DWORD);
514#define ImmGetCandidateList WINELIB_NAME_AW(ImmGetCandidateList)
515DWORD WINAPI ImmGetCandidateListCountA(HIMC, LPDWORD);
516DWORD WINAPI ImmGetCandidateListCountW(HIMC, LPDWORD);
517#define ImmGetCandidateListCount WINELIB_NAME_AW(ImmGetCandidateListCount)
518BOOL WINAPI ImmGetCandidateWindow(HIMC, DWORD, LPCANDIDATEFORM);
519#if defined(_WINGDI_) && !defined(NOGDI)
520BOOL WINAPI ImmGetCompositionFontA(HIMC, LPLOGFONTA);
521BOOL WINAPI ImmGetCompositionFontW(HIMC, LPLOGFONTW);
522#define ImmGetCompositionFont WINELIB_NAME_AW(ImmGetCompositionFont)
523BOOL WINAPI ImmSetCompositionFontA(HIMC, LPLOGFONTA);
524BOOL WINAPI ImmSetCompositionFontW(HIMC, LPLOGFONTW);
525#define ImmSetCompositionFont WINELIB_NAME_AW(ImmSetCompositionFont)
526#endif
527LONG WINAPI ImmGetCompositionStringA(HIMC, DWORD, LPVOID, DWORD);
528LONG WINAPI ImmGetCompositionStringW(HIMC, DWORD, LPVOID, DWORD);
529#define ImmGetCompositionString WINELIB_NAME_AW(ImmGetCompositionString)
530BOOL WINAPI ImmGetCompositionWindow(HIMC, LPCOMPOSITIONFORM);
531HIMC WINAPI ImmGetContext(HWND);
532DWORD WINAPI ImmGetConversionListA(HKL, HIMC, LPCSTR, LPCANDIDATELIST, DWORD, UINT);
533DWORD WINAPI ImmGetConversionListW(HKL, HIMC, LPCWSTR, LPCANDIDATELIST, DWORD, UINT);
534#define ImmGetConversionList WINELIB_NAME_AW(ImmGetConversionList)
535BOOL WINAPI ImmGetConversionStatus(HIMC, LPDWORD, LPDWORD);
536HWND WINAPI ImmGetDefaultIMEWnd(HWND);
537UINT WINAPI ImmGetDescriptionA(HKL, LPSTR, UINT);
538UINT WINAPI ImmGetDescriptionW(HKL, LPWSTR, UINT);
539#define ImmGetDescription WINELIB_NAME_AW(ImmGetDescription)
540DWORD WINAPI ImmGetGuideLineA(HIMC, DWORD, LPSTR, DWORD);
541DWORD WINAPI ImmGetGuideLineW(HIMC, DWORD, LPWSTR, DWORD);
542#define ImmGetGuideLine WINELIB_NAME_AW(ImmGetGuideLine)
543UINT WINAPI ImmGetIMEFileNameA(HKL, LPSTR, UINT);
544UINT WINAPI ImmGetIMEFileNameW(HKL, LPWSTR, UINT);
545#define ImmGetIMEFileName WINELIB_NAME_AW(ImmGetIMEFileName)
546DWORD WINAPI ImmGetImeMenuItemsA(HIMC, DWORD, DWORD, LPIMEMENUITEMINFOA, LPIMEMENUITEMINFOA, DWORD);
547DWORD WINAPI ImmGetImeMenuItemsW(HIMC, DWORD, DWORD, LPIMEMENUITEMINFOW, LPIMEMENUITEMINFOW, DWORD);
548#define ImmGetImeMenuItems WINELIB_NAME_AW(ImmGetImeMenuItems)
549BOOL WINAPI ImmGetOpenStatus(HIMC);
550DWORD WINAPI ImmGetProperty(HKL, DWORD);
551UINT WINAPI ImmGetRegisterWordStyleA(HKL, UINT, LPSTYLEBUFA);
552UINT WINAPI ImmGetRegisterWordStyleW(HKL, UINT, LPSTYLEBUFW);
553#define ImmGetRegisterWordStyle WINELIB_NAME_AW(ImmGetRegisterWordStyle)
554BOOL WINAPI ImmGetStatusWindowPos(HIMC, LPPOINT);
555UINT WINAPI ImmGetVirtualKey(HWND);
556HKL WINAPI ImmInstallIMEA(LPCSTR, LPCSTR);
557HKL WINAPI ImmInstallIMEW(LPCWSTR, LPCWSTR);
558#define ImmInstallIME WINELIB_NAME_AW(ImmInstallIME)
559BOOL WINAPI ImmIsIME(HKL);
560BOOL WINAPI ImmIsUIMessageA(HWND, UINT, WPARAM, LPARAM);
561BOOL WINAPI ImmIsUIMessageW(HWND, UINT, WPARAM, LPARAM);
562#define ImmIsUIMessage WINELIB_NAME_AW(ImmIsUIMessage)
563BOOL WINAPI ImmNotifyIME(HIMC, DWORD, DWORD, DWORD);
564BOOL WINAPI ImmProcessKey(HWND, HKL, UINT, LPARAM, DWORD);
565BOOL WINAPI ImmRegisterWordA(HKL, LPCSTR, DWORD, LPCSTR);
566BOOL WINAPI ImmRegisterWordW(HKL, LPCWSTR, DWORD, LPCWSTR);
567#define ImmRegisterWord WINELIB_NAME_AW(ImmRegisterWord)
568BOOL WINAPI ImmReleaseContext(HWND, HIMC);
569BOOL WINAPI ImmSetCandidateWindow(HIMC, LPCANDIDATEFORM);
570BOOL WINAPI ImmSetCompositionStringA(HIMC, DWORD, LPCVOID, DWORD, LPCVOID, DWORD);
571BOOL WINAPI ImmSetCompositionStringW(HIMC, DWORD, LPCVOID, DWORD, LPCVOID, DWORD);
572#define ImmSetCompositionString WINELIB_NAME_AW(ImmSetCompositionString)
573BOOL WINAPI ImmSetCompositionWindow(HIMC, LPCOMPOSITIONFORM);
574BOOL WINAPI ImmSetConversionStatus(HIMC, DWORD, DWORD);
575BOOL WINAPI ImmSetOpenStatus(HIMC, BOOL);
576BOOL WINAPI ImmSetStatusWindowPos(HIMC, LPPOINT);
577BOOL WINAPI ImmSimulateHotKey(HWND, DWORD);
578BOOL WINAPI ImmUnregisterWordA(HKL, LPCSTR, DWORD, LPCSTR);
579BOOL WINAPI ImmUnregisterWordW(HKL, LPCWSTR, DWORD, LPCWSTR);
580#define ImmUnregisterWord WINELIB_NAME_AW(ImmUnregisterWord)
581
582
583#ifdef __cplusplus
584}
585#endif
586
587#endif /* __WINE_IMM_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette