ReactOS  0.4.15-dev-5120-gfb68e76
imm.h
Go to the documentation of this file.
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 #ifndef __WINE_IMM_H
22 #define __WINE_IMM_H
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 #ifdef __REACTOS__
31 typedef HKL *LPHKL;
32 #else
33 typedef HANDLE HIMC;
34 typedef HANDLE HIMCC;
35 #endif
36 
37 typedef struct tagREGISTERWORDA {
41 
42 typedef struct tagREGISTERWORDW {
46 
47 typedef int
49  _In_ LPCSTR,
50  _In_ DWORD,
51  _In_ LPCSTR,
52  _In_ LPVOID);
53 
54 typedef int
56  _In_ LPCWSTR,
57  _In_ DWORD,
58  _In_ LPCWSTR,
59  _In_ LPVOID);
60 
61 typedef struct tagCANDIDATEFORM
62 {
68 
69 typedef struct tagCANDIDATELIST
70 {
79 
80 typedef struct tagSTYLEBUFA
81 {
85 
86 typedef struct tagSTYLEBUFW
87 {
91 
92 DECL_WINELIB_TYPE_AW(STYLEBUF)
93 DECL_WINELIB_TYPE_AW(LPSTYLEBUF)
94 
96 {
106 
107 
108 #define IMEMENUITEM_STRING_SIZE 80
109 
110 typedef struct tagIMEMENUITEMINFOA
111 {
122 
123 typedef struct tagIMEMENUITEMINFOW
124 {
135 
136 DECL_WINELIB_TYPE_AW(IMEMENUITEMINFO)
137 DECL_WINELIB_TYPE_AW(LPIMEMENUITEMINFO)
138 
146 
148 
149 typedef struct _tagCOMPOSITIONFORM
150 {
155 
156 typedef struct _tagIMEINFO {
164 } IMEINFO, *LPIMEINFO;
165 
166 typedef struct tagCOMPOSITIONSTRING {
193 
194 typedef struct tagGUIDELINE {
203 
204 typedef struct tagCANDIDATEINFO {
211 
212 /* IME Property bits */
213 #define IME_PROP_END_UNLOAD 0x0001
214 #define IME_PROP_KBD_CHAR_FIRST 0x0002
215 #define IME_PROP_IGNORE_UPKEYS 0x0004
216 #define IME_PROP_NEED_ALTKEY 0x0008
217 #define IME_PROP_NO_KEYS_ON_CLOSE 0x0010
218 #define IME_PROP_ACCEPT_WIDE_VKEY 0x0020
219 
220 /* for NI_CONTEXTUPDATED */
221 #define IMC_SETCONVERSIONMODE 0x0002
222 #define IMC_SETSENTENCEMODE 0x0004
223 #define IMC_SETOPENSTATUS 0x0006
224 
225 /* dwAction for ImmNotifyIME */
226 #define NI_CONTEXTUPDATED 0x0003
227 #define NI_OPENCANDIDATE 0x0010
228 #define NI_CLOSECANDIDATE 0x0011
229 #define NI_SELECTCANDIDATESTR 0x0012
230 #define NI_CHANGECANDIDATELIST 0x0013
231 #define NI_FINALIZECONVERSIONRESULT 0x0014
232 #define NI_COMPOSITIONSTR 0x0015
233 #define NI_SETCANDIDATE_PAGESTART 0x0016
234 #define NI_SETCANDIDATE_PAGESIZE 0x0017
235 #define NI_IMEMENUSELECTED 0x0018
236 
237 /* dwSystemInfoFlags bits */
238 #define IME_SYSINFO_WINLOGON 0x0001
239 #define IME_SYSINFO_WOW16 0x0002
240 
250 
254 #define ImmRequestMessage WINELIB_NAME_AW(ImmRequestMessage);
259 
276 
277 /* wParam for WM_IME_CONTROL */
278 #define IMC_GETCANDIDATEPOS 0x0007
279 #define IMC_SETCANDIDATEPOS 0x0008
280 #define IMC_GETCOMPOSITIONFONT 0x0009
281 #define IMC_SETCOMPOSITIONFONT 0x000A
282 #define IMC_GETCOMPOSITIONWINDOW 0x000B
283 #define IMC_SETCOMPOSITIONWINDOW 0x000C
284 #define IMC_GETSTATUSWINDOWPOS 0x000F
285 #define IMC_SETSTATUSWINDOWPOS 0x0010
286 #define IMC_CLOSESTATUSWINDOW 0x0021
287 #define IMC_OPENSTATUSWINDOW 0x0022
288 
289 /*
290  * wParam for WM_IME_CONTROL to the soft keyboard
291  * dwAction for ImmNotifyIME
292  */
293 #define NI_OPENCANDIDATE 0x0010
294 #define NI_CLOSECANDIDATE 0x0011
295 #define NI_SELECTCANDIDATESTR 0x0012
296 #define NI_CHANGECANDIDATELIST 0x0013
297 #define NI_FINALIZECONVERSIONRESULT 0x0014
298 #define NI_COMPOSITIONSTR 0x0015
299 #define NI_SETCANDIDATE_PAGESTART 0x0016
300 #define NI_SETCANDIDATE_PAGESIZE 0x0017
301 #define NI_IMEMENUSELECTED 0x0018
302 
303 /* lParam for WM_IME_SETCONTEXT */
304 #define ISC_SHOWUICANDIDATEWINDOW 0x00000001
305 #define ISC_SHOWUICOMPOSITIONWINDOW 0x80000000
306 #define ISC_SHOWUIGUIDELINE 0x40000000
307 #define ISC_SHOWUIALLCANDIDATEWINDOW 0x0000000F
308 #define ISC_SHOWUIALL 0xC000000F
309 
310 
311 /* dwIndex for ImmNotifyIME/NI_COMPOSITIONSTR */
312 #define CPS_COMPLETE 0x0001
313 #define CPS_CONVERT 0x0002
314 #define CPS_REVERT 0x0003
315 #define CPS_CANCEL 0x0004
316 
317 
318 /* the modifiers of hot key */
319 #define MOD_ALT 0x0001
320 #define MOD_CONTROL 0x0002
321 #define MOD_SHIFT 0x0004
322 
323 #define MOD_LEFT 0x8000
324 #define MOD_RIGHT 0x4000
325 
326 #define MOD_ON_KEYUP 0x0800
327 #define MOD_IGNORE_ALL_MODIFIER 0x0400
328 
329 
330 /* Windows for Simplified Chinese Edition hot key ID from 0x10 - 0x2F */
331 #define IME_CHOTKEY_IME_NONIME_TOGGLE 0x10
332 #define IME_CHOTKEY_SHAPE_TOGGLE 0x11
333 #define IME_CHOTKEY_SYMBOL_TOGGLE 0x12
334 
335 /* Windows for Japanese Edition hot key ID from 0x30 - 0x4F */
336 #define IME_JHOTKEY_CLOSE_OPEN 0x30
337 
338 /* Windows for Korean Edition hot key ID from 0x50 - 0x6F */
339 #define IME_KHOTKEY_SHAPE_TOGGLE 0x50
340 #define IME_KHOTKEY_HANJACONVERT 0x51
341 #define IME_KHOTKEY_ENGLISH 0x52
342 /* Windows for Tranditional Chinese Edition hot key ID from 0x70 - 0x8F */
343 #define IME_THOTKEY_IME_NONIME_TOGGLE 0x70
344 #define IME_THOTKEY_SHAPE_TOGGLE 0x71
345 #define IME_THOTKEY_SYMBOL_TOGGLE 0x72
346 
347 /* direct switch hot key ID from 0x100 - 0x11F */
348 #define IME_HOTKEY_DSWITCH_FIRST 0x100
349 #define IME_HOTKEY_DSWITCH_LAST 0x11F
350 
351 /* IME private hot key from 0x200 - 0x21F */
352 #define IME_HOTKEY_PRIVATE_FIRST 0x200
353 #define IME_ITHOTKEY_RESEND_RESULTSTR 0x200
354 #define IME_ITHOTKEY_PREVIOUS_COMPOSITION 0x201
355 #define IME_ITHOTKEY_UISTYLE_TOGGLE 0x202
356 #define IME_ITHOTKEY_RECONVERTSTRING 0x203
357 #define IME_HOTKEY_PRIVATE_LAST 0x21F
358 
359 
360 /*
361  * dwSystemInfoFlags bits
362  * parameter of ImmGetCompositionString
363  */
364 #define GCS_COMPREADSTR 0x0001
365 #define GCS_COMPREADATTR 0x0002
366 #define GCS_COMPREADCLAUSE 0x0004
367 #define GCS_COMPSTR 0x0008
368 #define GCS_COMPATTR 0x0010
369 #define GCS_COMPCLAUSE 0x0020
370 #define GCS_CURSORPOS 0x0080
371 #define GCS_DELTASTART 0x0100
372 #define GCS_RESULTREADSTR 0x0200
373 #define GCS_RESULTREADCLAUSE 0x0400
374 #define GCS_RESULTSTR 0x0800
375 #define GCS_RESULTCLAUSE 0x1000
376 
377 /* style bit flags for WM_IME_COMPOSITION */
378 #define CS_INSERTCHAR 0x2000
379 #define CS_NOMOVECARET 0x4000
380 
381 
382 /*
383  * bits of fdwInit of INPUTCONTEXT
384  * IME version constants
385  */
386 #define IMEVER_0310 0x0003000A
387 #define IMEVER_0400 0x00040000
388 
389 /* IME property bits */
390 #define IME_PROP_AT_CARET 0x00010000
391 #define IME_PROP_SPECIAL_UI 0x00020000
392 #define IME_PROP_CANDLIST_START_FROM_1 0x00040000
393 #define IME_PROP_UNICODE 0x00080000
394 #define IME_PROP_COMPLETE_ON_UNSELECT 0x00100000
395 
396 /* IME UICapability bits */
397 #define UI_CAP_2700 0x00000001
398 #define UI_CAP_ROT90 0x00000002
399 #define UI_CAP_ROTANY 0x00000004
400 #define UI_CAP_SOFTKBD 0x00010000
401 
402 /* ImmSetCompositionString Capability bits */
403 #define SCS_CAP_COMPSTR 0x00000001
404 #define SCS_CAP_MAKEREAD 0x00000002
405 #define SCS_CAP_SETRECONVERTSTRING 0x00000004
406 
407 /* IME WM_IME_SELECT inheritance Capability bits */
408 #define SELECT_CAP_CONVERSION 0x00000001
409 #define SELECT_CAP_SENTENCE 0x00000002
410 
411 
412 /* ID for deIndex of ImmGetGuideLine */
413 #define GGL_LEVEL 0x00000001
414 #define GGL_INDEX 0x00000002
415 #define GGL_STRING 0x00000003
416 #define GGL_PRIVATE 0x00000004
417 
418 /* ID for dwLevel of GUIDELINE Structure */
419 #define GL_LEVEL_NOGUIDELINE 0x00000000
420 #define GL_LEVEL_FATAL 0x00000001
421 #define GL_LEVEL_ERROR 0x00000002
422 #define GL_LEVEL_WARNING 0x00000003
423 #define GL_LEVEL_INFORMATION 0x00000004
424 
425 /* ID for dwIndex of GUIDELINE Structure */
426 #define GL_ID_UNKNOWN 0x00000000
427 #define GL_ID_NOMODULE 0x00000001
428 #define GL_ID_NODICTIONARY 0x00000010
429 #define GL_ID_CANNOTSAVE 0x00000011
430 #define GL_ID_NOCONVERT 0x00000020
431 #define GL_ID_TYPINGERROR 0x00000021
432 #define GL_ID_TOOMANYSTROKE 0x00000022
433 #define GL_ID_READINGCONFLICT 0x00000023
434 #define GL_ID_INPUTREADING 0x00000024
435 #define GL_ID_INPUTRADICAL 0x00000025
436 #define GL_ID_INPUTCODE 0x00000026
437 #define GL_ID_INPUTSYMBOL 0x00000027
438 #define GL_ID_CHOOSECANDIDATE 0x00000028
439 #define GL_ID_REVERSECONVERSION 0x00000029
440 #define GL_ID_PRIVATE_FIRST 0x00008000
441 #define GL_ID_PRIVATE_LAST 0x0000FFFF
442 
443 /* ID for dwIndex of ImmGetProperty */
444 #define IGP_GETIMEVERSION (DWORD)(-4)
445 #define IGP_PROPERTY 0x00000004
446 #define IGP_CONVERSION 0x00000008
447 #define IGP_SENTENCE 0x0000000c
448 #define IGP_UI 0x00000010
449 #define IGP_SETCOMPSTR 0x00000014
450 #define IGP_SELECT 0x00000018
451 
452 
453 /* dwIndex for ImmSetCompositionString API */
454 #define SCS_SETSTR (GCS_COMPREADSTR|GCS_COMPSTR)
455 #define SCS_CHANGEATTR (GCS_COMPREADATTR|GCS_COMPATTR)
456 #define SCS_CHANGECLAUSE (GCS_COMPREADCLAUSE|GCS_COMPCLAUSE)
457 #define SCS_SETRECONVERTSTRING 0x00010000
458 #define SCS_QUERYRECONVERTSTRING 0x00020000
459 
460 /* attribute for COMPOSITIONSTRING Structure */
461 #define ATTR_INPUT 0x00
462 #define ATTR_TARGET_CONVERTED 0x01
463 #define ATTR_CONVERTED 0x02
464 #define ATTR_TARGET_NOTCONVERTED 0x03
465 #define ATTR_INPUT_ERROR 0x04
466 #define ATTR_FIXEDCONVERTED 0x05
467 
468 
469 /* bit field for IMC_SETCOMPOSITIONWINDOW, IMC_SETCANDIDATEWINDOW */
470 #define CFS_DEFAULT 0x0000
471 #define CFS_RECT 0x0001
472 #define CFS_POINT 0x0002
473 #define CFS_FORCE_POSITION 0x0020
474 #define CFS_CANDIDATEPOS 0x0040
475 #define CFS_EXCLUDE 0x0080
476 
477 /* conversion direction for ImmGetConversionList */
478 #define GCL_CONVERSION 0x0001
479 #define GCL_REVERSECONVERSION 0x0002
480 #define GCL_REVERSE_LENGTH 0x0003
481 
482 
483 /* bit field for conversion mode */
484 #define IME_CMODE_ALPHANUMERIC 0x0000
485 #define IME_CMODE_NATIVE 0x0001
486 #define IME_CMODE_CHINESE IME_CMODE_NATIVE
487 /* IME_CMODE_HANGEUL is old name of IME_CMODE_HANGUL. It will be gone eventually. */
488 #define IME_CMODE_HANGEUL IME_CMODE_NATIVE
489 #define IME_CMODE_HANGUL IME_CMODE_NATIVE
490 #define IME_CMODE_JAPANESE IME_CMODE_NATIVE
491 #define IME_CMODE_KATAKANA 0x0002 /* only effect under IME_CMODE_NATIVE */
492 #define IME_CMODE_LANGUAGE 0x0003
493 #define IME_CMODE_FULLSHAPE 0x0008
494 #define IME_CMODE_ROMAN 0x0010
495 #define IME_CMODE_CHARCODE 0x0020
496 #define IME_CMODE_HANJACONVERT 0x0040
497 #define IME_CMODE_SOFTKBD 0x0080
498 #define IME_CMODE_NOCONVERSION 0x0100
499 #define IME_CMODE_EUDC 0x0200
500 #define IME_CMODE_SYMBOL 0x0400
501 #define IME_CMODE_FIXED 0x0800
502 
503 
504 #define IME_SMODE_NONE 0x0000
505 #define IME_SMODE_PLAURALCLAUSE 0x0001
506 #define IME_SMODE_SINGLECONVERT 0x0002
507 #define IME_SMODE_AUTOMATIC 0x0004
508 #define IME_SMODE_PHRASEPREDICT 0x0008
509 #define IME_SMODE_CONVERSATION 0x0010
510 
511 /* style of candidate */
512 #define IME_CAND_UNKNOWN 0x0000
513 #define IME_CAND_READ 0x0001
514 #define IME_CAND_CODE 0x0002
515 #define IME_CAND_MEANING 0x0003
516 #define IME_CAND_RADICAL 0x0004
517 #define IME_CAND_STROKE 0x0005
518 
519 
520 /* wParam of report message WM_IME_NOTIFY */
521 #define IMN_CLOSESTATUSWINDOW 0x0001
522 #define IMN_OPENSTATUSWINDOW 0x0002
523 #define IMN_CHANGECANDIDATE 0x0003
524 #define IMN_CLOSECANDIDATE 0x0004
525 #define IMN_OPENCANDIDATE 0x0005
526 #define IMN_SETCONVERSIONMODE 0x0006
527 #define IMN_SETSENTENCEMODE 0x0007
528 #define IMN_SETOPENSTATUS 0x0008
529 #define IMN_SETCANDIDATEPOS 0x0009
530 #define IMN_SETCOMPOSITIONFONT 0x000A
531 #define IMN_SETCOMPOSITIONWINDOW 0x000B
532 #define IMN_SETSTATUSWINDOWPOS 0x000C
533 #define IMN_GUIDELINE 0x000D
534 #define IMN_PRIVATE 0x000E
535 
536 
537 /* wParam of report message WM_IME_REQUEST */
538 #define IMR_COMPOSITIONWINDOW 0x0001
539 #define IMR_CANDIDATEWINDOW 0x0002
540 #define IMR_COMPOSITIONFONT 0x0003
541 #define IMR_RECONVERTSTRING 0x0004
542 #define IMR_CONFIRMRECONVERTSTRING 0x0005
543 #define IMR_QUERYCHARPOSITION 0x0006
544 #define IMR_DOCUMENTFEED 0x0007
545 
546 
547 /* error code of ImmGetCompositionString */
548 #define IMM_ERROR_NODATA (-1)
549 #define IMM_ERROR_GENERAL (-2)
550 
551 
552 /* dialog mode of ImmConfigureIME */
553 #define IME_CONFIG_GENERAL 1
554 #define IME_CONFIG_REGISTERWORD 2
555 #define IME_CONFIG_SELECTDICTIONARY 3
556 
557 /* dialog mode of ImmEscape */
558 #define IME_ESC_QUERY_SUPPORT 0x0003
559 #define IME_ESC_RESERVED_FIRST 0x0004
560 #define IME_ESC_RESERVED_LAST 0x07FF
561 #define IME_ESC_PRIVATE_FIRST 0x0800
562 #define IME_ESC_PRIVATE_LAST 0x0FFF
563 #define IME_ESC_SEQUENCE_TO_INTERNAL 0x1001
564 #define IME_ESC_GET_EUDC_DICTIONARY 0x1003
565 #define IME_ESC_SET_EUDC_DICTIONARY 0x1004
566 #define IME_ESC_MAX_KEY 0x1005
567 #define IME_ESC_IME_NAME 0x1006
568 #define IME_ESC_SYNC_HOTKEY 0x1007
569 #define IME_ESC_HANJA_MODE 0x1008
570 #define IME_ESC_AUTOMATA 0x1009
571 #define IME_ESC_PRIVATE_HOTKEY 0x100a
572 #define IME_ESC_GETHELPFILENAME 0x100b
573 
574 
575 /* style of word registration */
576 #define IME_REGWORD_STYLE_EUDC 0x00000001
577 #define IME_REGWORD_STYLE_USER_FIRST 0x80000000
578 #define IME_REGWORD_STYLE_USER_LAST 0xFFFFFFFF
579 
580 /* dwFlags for ImmAssociateContextEx */
581 #define IACE_CHILDREN 0x0001
582 #define IACE_DEFAULT 0x0010
583 #define IACE_IGNORENOCONTEXT 0x0020
584 
585 /* dwFlags for ImmGetImeMenuItems */
586 #define IGIMIF_RIGHTMENU 0x0001
587 
588 /* dwType for ImmGetImeMenuItems */
589 #define IGIMII_CMODE 0x0001
590 #define IGIMII_SMODE 0x0002
591 #define IGIMII_CONFIGURE 0x0004
592 #define IGIMII_TOOLS 0x0008
593 #define IGIMII_HELP 0x0010
594 #define IGIMII_OTHER 0x0020
595 #define IGIMII_INPUTTOOLS 0x0040
596 
597 /* fType of IMEMENUITEMINFO structure */
598 #define IMFT_RADIOCHECK 0x00001
599 #define IMFT_SEPARATOR 0x00002
600 #define IMFT_SUBMENU 0x00004
601 
602 /* fState of IMEMENUITEMINFO structure */
603 #define IMFS_GRAYED MFS_GRAYED
604 #define IMFS_DISABLED MFS_DISABLED
605 #define IMFS_CHECKED MFS_CHECKED
606 #define IMFS_HILITE MFS_HILITE
607 #define IMFS_ENABLED MFS_ENABLED
608 #define IMFS_UNCHECKED MFS_UNCHECKED
609 #define IMFS_UNHILITE MFS_UNHILITE
610 #define IMFS_DEFAULT MFS_DEFAULT
611 
612 
613 /*
614  * type of soft keyboard
615  * for Windows Tranditional Chinese Edition
616  */
617 #define SOFTKEYBOARD_TYPE_T1 0x0001
618 /* for Windows Simplified Chinese Edition */
619 #define SOFTKEYBOARD_TYPE_C1 0x0002
620 
621 
624 
627 #define ImmConfigureIME WINELIB_NAME_AW(ImmConfigureIME)
628 
636 
637 UINT
638 WINAPI
640  _In_ HKL,
642  _In_opt_ LPCSTR lpszReading,
643  _In_ DWORD,
644  _In_opt_ LPCSTR lpszRegister,
645  _In_ LPVOID);
646 
647 UINT
648 WINAPI
650  _In_ HKL,
652  _In_opt_ LPCWSTR lpszReading,
653  _In_ DWORD,
654  _In_opt_ LPCWSTR lpszRegister,
655  _In_ LPVOID);
656 
657 #define ImmEnumRegisterWord WINELIB_NAME_AW(ImmEnumRegisterWord)
658 
661 #define ImmEscape WINELIB_NAME_AW(ImmEscape)
662 
663 DWORD
664 WINAPI
666  _In_ HIMC,
667  _In_ DWORD deIndex,
670 
671 DWORD
672 WINAPI
674  _In_ HIMC,
675  _In_ DWORD deIndex,
678 
679 #define ImmGetCandidateList WINELIB_NAME_AW(ImmGetCandidateList)
680 
683 #define ImmGetCandidateListCount WINELIB_NAME_AW(ImmGetCandidateListCount)
684 
685 BOOL
686 WINAPI
688  _In_ HIMC,
689  _In_ DWORD,
690  _Out_ LPCANDIDATEFORM lpCandidate);
691 
692 #if defined(_WINGDI_) && !defined(NOGDI)
693 
696 #define ImmGetCompositionFont WINELIB_NAME_AW(ImmGetCompositionFont)
697 
700 #define ImmSetCompositionFont WINELIB_NAME_AW(ImmSetCompositionFont)
701 
702 #endif
703 
704 LONG
705 WINAPI
707  _In_ HIMC,
708  _In_ DWORD,
711 
712 LONG
713 WINAPI
715  _In_ HIMC,
716  _In_ DWORD,
719 
720 #define ImmGetCompositionString WINELIB_NAME_AW(ImmGetCompositionString)
721 
724 
725 DWORD
726 WINAPI
728  _In_ HKL,
729  _In_ HIMC,
730  _In_ LPCSTR lpSrc,
733  _In_ UINT uFlag);
734 
735 DWORD
736 WINAPI
738  _In_ HKL,
739  _In_ HIMC,
740  _In_ LPCWSTR lpSrc,
743  _In_ UINT uFlag);
744 
745 #define ImmGetConversionList WINELIB_NAME_AW(ImmGetConversionList)
746 
747 BOOL
748 WINAPI
750  _In_ HIMC,
751  _Out_opt_ LPDWORD lpfdwConversion,
752  _Out_opt_ LPDWORD lpfdwSentence);
753 
755 
756 UINT
757 WINAPI
759  _In_ HKL,
760  _Out_writes_opt_(uBufLen) LPSTR lpszDescription,
761  _In_ UINT uBufLen);
762 
763 UINT
764 WINAPI
766  _In_ HKL,
767  _Out_writes_opt_(uBufLen) LPWSTR lpszDescription,
768  _In_ UINT uBufLen);
769 
770 #define ImmGetDescription WINELIB_NAME_AW(ImmGetDescription)
771 
772 DWORD
773 WINAPI
775  _In_ HIMC,
776  _In_ DWORD dwIndex,
779 
780 DWORD
781 WINAPI
783  _In_ HIMC,
784  _In_ DWORD dwIndex,
787 
788 #define ImmGetGuideLine WINELIB_NAME_AW(ImmGetGuideLine)
789 
790 UINT
791 WINAPI
793  _In_ HKL,
794  _Out_writes_opt_(uBufLen) LPSTR lpszFileName,
795  _In_ UINT uBufLen);
796 
797 UINT
798 WINAPI
800  _In_ HKL,
801  _Out_writes_opt_(uBufLen) LPWSTR lpszFileName,
802  _In_ UINT uBufLen);
803 
804 #define ImmGetIMEFileName WINELIB_NAME_AW(ImmGetIMEFileName)
805 
806 DWORD
807 WINAPI
809  _In_ HIMC,
810  _In_ DWORD,
811  _In_ DWORD,
812  _Out_opt_ LPIMEMENUITEMINFOA lpImeParentMenu,
814  _In_ DWORD dwSize);
815 
816 DWORD
817 WINAPI
819  _In_ HIMC,
820  _In_ DWORD,
821  _In_ DWORD,
822  _Out_opt_ LPIMEMENUITEMINFOW lpImeParentMenu,
824  _In_ DWORD dwSize);
825 
826 #define ImmGetImeMenuItems WINELIB_NAME_AW(ImmGetImeMenuItems)
827 
830 
831 UINT
832 WINAPI
834  _In_ HKL,
835  _In_ UINT nItem,
836  _Out_writes_(nItem) LPSTYLEBUFA lpStyleBuf);
837 
838 UINT
839 WINAPI
841  _In_ HKL,
842  _In_ UINT nItem,
843  _Out_writes_(nItem) LPSTYLEBUFW lpStyleBuf);
844 
845 #define ImmGetRegisterWordStyle WINELIB_NAME_AW(ImmGetRegisterWordStyle)
846 
849 
852 #define ImmInstallIME WINELIB_NAME_AW(ImmInstallIME)
853 
855 
858 #define ImmIsUIMessage WINELIB_NAME_AW(ImmIsUIMessage)
859 
861 
863 
864 BOOL
865 WINAPI
867  _In_ HKL,
868  _In_ LPCSTR lpszReading,
869  _In_ DWORD,
870  _In_ LPCSTR lpszRegister);
871 
872 BOOL
873 WINAPI
875  _In_ HKL,
876  _In_ LPCWSTR lpszReading,
877  _In_ DWORD,
878  _In_ LPCWSTR lpszRegister);
879 
880 #define ImmRegisterWord WINELIB_NAME_AW(ImmRegisterWord)
881 
884 
885 BOOL
886 WINAPI
888  _In_ HIMC,
889  _In_ DWORD dwIndex,
890  _Inout_updates_bytes_opt_(dwCompLen) LPVOID lpComp,
891  _In_ DWORD dwCompLen,
892  _Inout_updates_bytes_opt_(dwReadLen) LPVOID lpRead,
893  _In_ DWORD dwReadLen);
894 
895 BOOL
896 WINAPI
898  _In_ HIMC,
899  _In_ DWORD dwIndex,
900  _Inout_updates_bytes_opt_(dwCompLen) LPVOID lpComp,
901  _In_ DWORD dwCompLen,
902  _Inout_updates_bytes_opt_(dwReadLen) LPVOID lpRead,
903  _In_ DWORD dwReadLen);
904 
905 #define ImmSetCompositionString WINELIB_NAME_AW(ImmSetCompositionString)
906 
912 
913 BOOL
914 WINAPI
916  _In_ HKL,
917  _In_ LPCSTR lpszReading,
918  _In_ DWORD,
919  _In_ LPCSTR lpszUnregister);
920 
921 BOOL
922 WINAPI
924  _In_ HKL,
925  _In_ LPCWSTR lpszReading,
926  _In_ DWORD,
927  _In_ LPCWSTR lpszUnregister);
928 
929 #define ImmUnregisterWord WINELIB_NAME_AW(ImmUnregisterWord)
930 
931 
932 #ifdef __cplusplus
933 }
934 #endif
935 
936 #endif /* __WINE_IMM_H */
BOOL WINAPI ImmTranslateMessage(HWND, UINT, WPARAM, LPARAM)
Definition: keymsg.c:932
BOOL WINAPI ImmDestroySoftKeyboard(HWND)
Definition: imm.c:1064
DWORD HIMCC
Definition: dimm.idl:76
DWORD dwTargetStrOffset
Definition: imm.h:104
DWORD dwStrOffset
Definition: imm.h:199
UINT WINAPI ImmGetRegisterWordStyleA(_In_ HKL, _In_ UINT nItem, _Out_writes_(nItem) LPSTYLEBUFA lpStyleBuf)
DWORD dwStyle
Definition: imm.h:88
DWORD dwCompAttrLen
Definition: imm.h:174
#define _In_opt_
Definition: ms_sal.h:309
BOOL WINAPI ImeSetCompositionString(HIMC, DWORD, LPCVOID, DWORD, LPCVOID, DWORD)
struct tagREGISTERWORDW * LPREGISTERWORDW
BOOL WINAPI ImmSetCompositionFontA(HIMC hIMC, LPLOGFONTA lplf)
Definition: ime.c:1567
struct tagCANDIDATELIST CANDIDATELIST
BOOL WINAPI ImmSimulateHotKey(_In_ HWND, _In_ DWORD)
struct tagCOMPOSITIONSTRING * LPCOMPOSITIONSTRING
LRESULT WINAPI ImmEscapeA(_In_ HKL, _In_ HIMC, _In_ UINT, _In_ LPVOID)
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
DWORD dwSize
Definition: imm.h:97
UINT WINAPI ImmEnumRegisterWordW(_In_ HKL, _In_ REGISTERWORDENUMPROCW, _In_opt_ LPCWSTR lpszReading, _In_ DWORD, _In_opt_ LPCWSTR lpszRegister, _In_ LPVOID)
DWORD dwCompReadClauseOffset
Definition: imm.h:171
POINT ptCurrentPos
Definition: imm.h:65
#define _Out_
Definition: ms_sal.h:345
struct tagRECONVERTSTRING RECONVERTSTRING
BOOL WINAPI ImmGetCompositionFontA(HIMC hIMC, LPLOGFONTA lplf)
Definition: ime.c:1494
BOOL WINAPI ImmGenerateMessage(HIMC)
Definition: keymsg.c:795
DWORD dwCompStrLen
Definition: imm.h:178
DWORD dwCompStrOffset
Definition: imm.h:102
DWORD WINAPI ImmGetImeMenuItemsA(_In_ HIMC, _In_ DWORD, _In_ DWORD, _Out_opt_ LPIMEMENUITEMINFOA lpImeParentMenu, _Out_writes_bytes_opt_(dwSize) LPIMEMENUITEMINFOA lpImeMenu, _In_ DWORD dwSize)
HBITMAP hbmpChecked
Definition: imm.h:129
BOOL WINAPI ImmSetConversionStatus(_In_ HIMC, _In_ DWORD, _In_ DWORD)
BOOL WINAPI ImmAssociateContextEx(_In_ HWND, _In_ HIMC, _In_ DWORD)
HKL WINAPI ImmInstallIMEA(_In_ LPCSTR, _In_ LPCSTR)
DWORD dwCompReadClauseLen
Definition: imm.h:170
char CHAR
Definition: xmlstorage.h:175
DWORD dwCompAttrOffset
Definition: imm.h:175
HWND WINAPI ImmCreateSoftKeyboard(UINT, UINT, int, int)
Definition: imm.c:1054
BOOL WINAPI CtfImmIsTextFrameServiceDisabled(VOID)
Definition: ctf.c:67
struct _tagIMEINFO * LPIMEINFO
DWORD dwCount
Definition: imm.h:206
UINT WINAPI ImeEnumRegisterWord(REGISTERWORDENUMPROCW, LPCWSTR, DWORD, LPCWSTR, LPVOID)
DWORD dwStyle
Definition: imm.h:64
struct tagSTYLEBUFW STYLEBUFW
#define CALLBACK
Definition: compat.h:35
struct tagREGISTERWORDA REGISTERWORDA
BOOL WINAPI ImmUnlockIMC(HIMC)
Definition: imm.c:1024
DWORD dwStyle
Definition: imm.h:82
DWORD dwResultReadStrOffset
Definition: imm.h:185
DWORD dwIndex
Definition: imm.h:197
BOOL WINAPI ImmSetActiveContext(HWND hwnd, HIMC hIMC, BOOL fFlag)
Definition: imm.c:1121
POINT ptCurrentPos
Definition: imm.h:152
DWORD WINAPI ImmGetConversionListA(_In_ HKL, _In_ HIMC, _In_ LPCSTR lpSrc, _Out_writes_bytes_(dwBufLen) LPCANDIDATELIST lpDst, _In_ DWORD dwBufLen, _In_ UINT uFlag)
UINT_PTR WPARAM
Definition: windef.h:207
LRESULT WINAPI ImmRequestMessageW(HIMC, WPARAM, LPARAM)
Definition: keymsg.c:1064
BOOL WINAPI ImmGetCompositionFontW(HIMC hIMC, LPLOGFONTW lplf)
Definition: ime.c:1530
DWORD dwItemData
Definition: imm.h:131
BOOL WINAPI ImmGetConversionStatus(_In_ HIMC, _Out_opt_ LPDWORD lpfdwConversion, _Out_opt_ LPDWORD lpfdwSentence)
DWORD dwSize
Definition: imm.h:205
UINT WINAPI ImmGetIMEFileNameA(_In_ HKL, _Out_writes_opt_(uBufLen) LPSTR lpszFileName, _In_ UINT uBufLen)
char * LPSTR
Definition: xmlstorage.h:182
DWORD WINAPI ImmGetIMCCLockCount(HIMCC)
Definition: utils.c:1129
_In_ HCRYPTHASH _In_ BOOL _In_ DWORD _Inout_ DWORD _In_ DWORD dwBufLen
Definition: wincrypt.h:4245
HBITMAP hbmpUnchecked
Definition: imm.h:117
struct _tagCOMPOSITIONFORM * LPCOMPOSITIONFORM
DWORD dwVersion
Definition: imm.h:98
#define BOOL
Definition: nt_native.h:43
DWORD WINAPI ImmGetCandidateListA(_In_ HIMC, _In_ DWORD deIndex, _Out_writes_bytes_opt_(dwBufLen) LPCANDIDATELIST lpCandList, _In_ DWORD dwBufLen)
#define DWORD
Definition: nt_native.h:44
DWORD WINAPI ImmGetGuideLineW(_In_ HIMC, _In_ DWORD dwIndex, _Out_writes_bytes_opt_(dwBufLen) LPWSTR lpBuf, _In_ DWORD dwBufLen)
struct tagREGISTERWORDA * LPREGISTERWORDA
BOOL WINAPI ImmIsUIMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
struct tagIMECHARPOSITION * NPIMECHARPOSITION
BOOL WINAPI ImmUnregisterWordW(_In_ HKL, _In_ LPCWSTR lpszReading, _In_ DWORD, _In_ LPCWSTR lpszUnregister)
BOOL WINAPI ImmGetCandidateWindow(_In_ HIMC, _In_ DWORD, _Out_ LPCANDIDATEFORM lpCandidate)
BOOL WINAPI ImmGetCompositionWindow(_In_ HIMC, _Out_ LPCOMPOSITIONFORM)
DWORD dwCursorPos
Definition: imm.h:180
DWORD dwCompReadStrLen
Definition: imm.h:172
BOOL WINAPI ImmSetCompositionWindow(_In_ HIMC, _In_ LPCOMPOSITIONFORM)
BOOL WINAPI ImmReleaseContext(_In_ HWND, _In_ HIMC)
struct tagREGISTERWORDW * NPREGISTERWORDW
WCHAR szString[IMEMENUITEM_STRING_SIZE]
Definition: imm.h:132
BOOL WINAPI ImmGetStatusWindowPos(_In_ HIMC, _Out_ LPPOINT)
DWORD WINAPI ImmGetIMCLockCount(HIMC)
Definition: utils.c:1157
DWORD dwCompStrLen
Definition: imm.h:101
HANDLE HIMC
Definition: imm.h:33
DWORD dwPageSize
Definition: imm.h:76
DWORD WINAPI ImmGetCandidateListW(_In_ HIMC, _In_ DWORD deIndex, _Out_writes_bytes_opt_(dwBufLen) LPCANDIDATELIST lpCandList, _In_ DWORD dwBufLen)
BOOL WINAPI ImmSetCompositionFontW(HIMC hIMC, LPLOGFONTW lplf)
Definition: ime.c:1624
UINT WINAPI ImmGetIMEFileNameW(_In_ HKL, _Out_writes_opt_(uBufLen) LPWSTR lpszFileName, _In_ UINT uBufLen)
DWORD WINAPI ImmGetProperty(_In_ HKL, _In_ DWORD)
unsigned char * LPBYTE
Definition: typedefs.h:53
DWORD dwPrivateSize
Definition: imm.h:208
DWORD dwPageStart
Definition: imm.h:75
struct tagREGISTERWORDA * PREGISTERWORDA
DWORD dwSize
Definition: imm.h:140
struct tagREGISTERWORDW * PREGISTERWORDW
#define DECL_WINELIB_TYPE_AW(type)
Definition: windef.h:401
DWORD fdwUICaps
Definition: imm.h:161
unsigned int BOOL
Definition: ntddk_ex.h:94
DWORD dwSize
Definition: imm.h:71
long LONG
Definition: pedump.c:60
DWORD WINAPI ImmGetCandidateListCountW(_In_ HIMC, _Out_ LPDWORD)
DWORD WINAPI ImmGetIMCCSize(HIMCC)
Definition: utils.c:1147
struct tagREGISTERWORDA * NPREGISTERWORDA
UINT WINAPI ImeToAsciiEx(UINT, UINT, CONST LPBYTE, LPDWORD, UINT, HIMC)
BOOL WINAPI ImmNotifyIME(_In_ HIMC, _In_ DWORD, _In_ DWORD, _In_ DWORD)
DWORD dwOffset[1]
Definition: imm.h:77
BOOL WINAPI ImmSetCompositionStringW(_In_ HIMC, _In_ DWORD dwIndex, _Inout_updates_bytes_opt_(dwCompLen) LPVOID lpComp, _In_ DWORD dwCompLen, _Inout_updates_bytes_opt_(dwReadLen) LPVOID lpRead, _In_ DWORD dwReadLen)
DWORD WINAPI ImeConversionList(HIMC, LPCWSTR, LPCANDIDATELIST, DWORD, UINT)
struct tagIMEMENUITEMINFOW IMEMENUITEMINFOW
BOOL WINAPI NotifyIME(HIMC, DWORD, DWORD, DWORD)
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 ImmLoadIME(HKL hKL)
Definition: ime.c:993
#define _In_
Definition: ms_sal.h:308
LONG_PTR LPARAM
Definition: windef.h:208
LPSTR lpReading
Definition: imm.h:38
DWORD dwStyle
Definition: imm.h:72
struct tagIMEMENUITEMINFOA * LPIMEMENUITEMINFOA
const char * LPCSTR
Definition: xmlstorage.h:183
#define _Inout_updates_bytes_opt_(size)
Definition: ms_sal.h:400
DWORD HIMC
Definition: dimm.idl:75
BOOL WINAPI ImeConfigure(HKL, HWND, DWORD, LPVOID)
BOOL WINAPI ImeInquire(LPIMEINFO, LPWSTR, LPCWSTR lpszOptions)
LPWSTR lpWord
Definition: imm.h:44
BOOL WINAPI ImmUnregisterWordA(_In_ HKL, _In_ LPCSTR lpszReading, _In_ DWORD, _In_ LPCSTR lpszUnregister)
#define _Out_writes_bytes_opt_(size)
Definition: ms_sal.h:351
BOOL WINAPI ImmGetOpenStatus(_In_ HIMC)
DWORD dwPrivateSize
Definition: imm.h:200
BOOL WINAPI ImmIsIME(_In_ HKL)
DWORD fdwSelectCaps
Definition: imm.h:163
DWORD dwItemData
Definition: imm.h:118
DWORD dwCount
Definition: imm.h:73
DWORD dwResultClauseLen
Definition: imm.h:186
DWORD dwResultStrLen
Definition: imm.h:188
int(CALLBACK * REGISTERWORDENUMPROCA)(_In_ LPCSTR, _In_ DWORD, _In_ LPCSTR, _In_ LPVOID)
Definition: imm.h:48
struct _tagCOMPOSITIONFORM COMPOSITIONFORM
struct tagIMEMENUITEMINFOW * LPIMEMENUITEMINFOW
struct tagCANDIDATEFORM * LPCANDIDATEFORM
DWORD dwDeltaStart
Definition: imm.h:181
DWORD dwPrivateOffset
Definition: imm.h:191
WCHAR szDescription[32]
Definition: imm.h:89
BOOL WINAPI ImmShowSoftKeyboard(HWND, int)
Definition: imm.c:1073
BOOL WINAPI ImmConfigureIMEA(_In_ HKL, _In_ HWND, _In_ DWORD, _In_ LPVOID)
BOOL WINAPI ImmSetStatusWindowPos(_In_ HIMC, _In_ LPPOINT)
__wchar_t WCHAR
Definition: xmlstorage.h:180
DWORD dwResultReadClauseOffset
Definition: imm.h:183
DWORD fdwProperty
Definition: imm.h:158
LPWSTR lpReading
Definition: imm.h:43
UINT WINAPI ImmGetVirtualKey(_In_ HWND)
HIMC WINAPI ImmGetContext(_In_ HWND)
LRESULT WINAPI ImmEscapeW(_In_ HKL, _In_ HIMC, _In_ UINT, _In_ LPVOID)
struct tagSTYLEBUFA * LPSTYLEBUFA
DWORD dwStrLen
Definition: imm.h:99
#define WINAPI
Definition: msvc.h:6
DWORD WINAPI ImmGetCandidateListCountA(_In_ HIMC, _Out_ LPDWORD)
UINT WINAPI ImmGetDescriptionA(_In_ HKL, _Out_writes_opt_(uBufLen) LPSTR lpszDescription, _In_ UINT uBufLen)
unsigned long DWORD
Definition: ntddk_ex.h:95
BOOL WINAPI ImeUnregisterWord(LPCWSTR, DWORD, LPCWSTR)
DWORD fdwConversionCaps
Definition: imm.h:159
DWORD dwSize
Definition: imm.h:195
DWORD dwCompClauseLen
Definition: imm.h:176
struct tagGUIDELINE GUIDELINE
#define LPVOID
Definition: nt_native.h:45
HIMCC WINAPI ImmCreateIMCC(DWORD)
Definition: utils.c:1089
DWORD WINAPI ImmGetGuideLineA(_In_ HIMC, _In_ DWORD dwIndex, _Out_writes_bytes_opt_(dwBufLen) LPSTR lpBuf, _In_ DWORD dwBufLen)
DWORD dwCharPos
Definition: imm.h:141
LPSTR lpWord
Definition: imm.h:39
struct tagCOMPOSITIONSTRING COMPOSITIONSTRING
HBITMAP hbmpChecked
Definition: imm.h:116
struct tagIMECHARPOSITION * LPIMECHARPOSITION
DWORD dwStyle
Definition: imm.h:151
LONG WINAPI ImmGetCompositionStringA(_In_ HIMC, _In_ DWORD, _Out_writes_bytes_opt_(dwBufLen) LPVOID lpBuf, _In_ DWORD dwBufLen)
struct _tagIMEINFO IMEINFO
BOOL WINAPI ImeRegisterWord(LPCWSTR, DWORD, LPCWSTR)
DWORD dwPrivateDataSize
Definition: imm.h:157
UINT WINAPI ImeGetRegisterWordStyle(UINT, LPSTYLEBUFW)
DWORD dwOffset[32]
Definition: imm.h:207
DWORD dwResultClauseOffset
Definition: imm.h:187
UINT WINAPI ImmGetRegisterWordStyleW(_In_ HKL, _In_ UINT nItem, _Out_writes_(nItem) LPSTYLEBUFW lpStyleBuf)
DWORD dwCompReadAttrOffset
Definition: imm.h:169
RECT rcDocument
Definition: imm.h:144
struct tagCANDIDATELIST * LPCANDIDATELIST
DWORD dwCompReadAttrLen
Definition: imm.h:168
struct tagCANDIDATEFORM CANDIDATEFORM
HBITMAP hbmpItem
Definition: imm.h:120
BOOL WINAPI ImmDisableIME(_In_ DWORD idThread)
LONG WINAPI ImmGetCompositionStringW(_In_ HIMC, _In_ DWORD, _Out_writes_bytes_opt_(dwBufLen) LPVOID lpBuf, _In_ DWORD dwBufLen)
UINT_PTR HKL
Definition: msctf.idl:101
struct tagRECONVERTSTRING * LPRECONVERTSTRING
HIMC WINAPI ImmAssociateContext(_In_ HWND, _In_ HIMC)
DWORD dwResultReadClauseLen
Definition: imm.h:182
RECT rcArea
Definition: imm.h:66
CHAR szString[IMEMENUITEM_STRING_SIZE]
Definition: imm.h:119
DWORD dwTargetStrLen
Definition: imm.h:103
struct tagCANDIDATEINFO * LPCANDIDATEINFO
BOOL WINAPI ImmSetCandidateWindow(_In_ HIMC, _In_ LPCANDIDATEFORM)
DWORD dwLevel
Definition: imm.h:196
BOOL WINAPI ImmEnumInputContext(_In_ DWORD, _In_ IMCENUMPROC, _In_ LPARAM)
HANDLE HIMCC
Definition: imm.h:34
DWORD dwCompStrOffset
Definition: imm.h:179
DWORD fdwSCSCaps
Definition: imm.h:162
DWORD dwStrOffset
Definition: imm.h:100
UINT WINAPI ImmEnumRegisterWordA(_In_ HKL, _In_ REGISTERWORDENUMPROCA, _In_opt_ LPCSTR lpszReading, _In_ DWORD, _In_opt_ LPCSTR lpszRegister, _In_ LPVOID)
DWORD dwPrivateOffset
Definition: imm.h:209
HWND WINAPI ImmGetDefaultIMEWnd(_In_ HWND)
CHAR szDescription[32]
Definition: imm.h:83
BOOL WINAPI ImmRegisterWordW(_In_ HKL, _In_ LPCWSTR lpszReading, _In_ DWORD, _In_ LPCWSTR lpszRegister)
BOOL WINAPI ImmDestroyContext(_In_ HIMC hIMC)
_In_ UINT _Out_writes_opt_(cch) LPSTR lpszFile
DWORD WINAPI ImeGetImeMenuItems(HIMC, DWORD, DWORD, LPIMEMENUITEMINFOW, LPIMEMENUITEMINFOW, DWORD)
BOOL WINAPI ImeDestroy(UINT)
BOOL WINAPI ImeSetActiveContext(HIMC, BOOL)
LPVOID WINAPI ImmLockIMCC(HIMCC)
Definition: utils.c:1109
#define _Out_opt_
Definition: ms_sal.h:346
unsigned int UINT
Definition: ndis.h:50
BOOL WINAPI ImmConfigureIMEW(_In_ HKL, _In_ HWND, _In_ DWORD, _In_ LPVOID)
DWORD dwPrivateOffset
Definition: imm.h:201
DWORD dwPrivateSize
Definition: imm.h:190
BOOL(CALLBACK * IMCENUMPROC)(HIMC, LPARAM)
Definition: imm.h:147
BOOL WINAPI ImeProcessKey(HIMC, UINT, LPARAM, CONST LPBYTE)
CONST void * LPCVOID
Definition: windef.h:191
UINT cLineHeight
Definition: imm.h:143
#define DECLARE_HANDLE(name)
Definition: mimeole.idl:23
DWORD dwSelection
Definition: imm.h:74
DWORD dwCompReadStrOffset
Definition: imm.h:173
uint32_t * LPDWORD
Definition: typedefs.h:59
LRESULT WINAPI ImeEscape(HIMC, UINT, LPVOID)
HBITMAP hbmpItem
Definition: imm.h:133
HIMCC WINAPI ImmDestroyIMCC(HIMCC)
Definition: utils.c:1099
struct tagIMECHARPOSITION * PIMECHARPOSITION
DWORD dwIndex
Definition: imm.h:63
DWORD fdwSentenceCaps
Definition: imm.h:160
struct tagREGISTERWORDW REGISTERWORDW
static HBITMAP
Definition: button.c:44
struct tagCANDIDATEINFO CANDIDATEINFO
BOOL WINAPI ImmSetCompositionStringA(_In_ HIMC, _In_ DWORD dwIndex, _Inout_updates_bytes_opt_(dwCompLen) LPVOID lpComp, _In_ DWORD dwCompLen, _Inout_updates_bytes_opt_(dwReadLen) LPVOID lpRead, _In_ DWORD dwReadLen)
DWORD WINAPI ImmProcessKey(HWND, HKL, UINT, LPARAM, DWORD)
Definition: keymsg.c:690
DWORD dwCompClauseOffset
Definition: imm.h:177
WCHAR * LPWSTR
Definition: xmlstorage.h:184
LONG_PTR LRESULT
Definition: windef.h:209
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4022
struct tagSTYLEBUFA STYLEBUFA
UINT WINAPI ImmGetDescriptionW(_In_ HKL, _Out_writes_opt_(uBufLen) LPWSTR lpszDescription, _In_ UINT uBufLen)
struct tagIMECHARPOSITION IMECHARPOSITION
HBITMAP hbmpUnchecked
Definition: imm.h:130
DWORD dwResultReadStrLen
Definition: imm.h:184
BOOL WINAPI ImmSetOpenStatus(_In_ HIMC, _In_ BOOL)
BOOL WINAPI ImmUnlockIMCC(HIMCC)
Definition: utils.c:1119
#define _Out_writes_bytes_(size)
Definition: ms_sal.h:350
HIMCC WINAPI ImmReSizeIMCC(HIMCC, DWORD)
Definition: utils.c:1137
struct tagSTYLEBUFW * LPSTYLEBUFW
DWORD WINAPI ImmGetConversionListW(_In_ HKL, _In_ HIMC, _In_ LPCWSTR lpSrc, _Out_writes_bytes_(dwBufLen) LPCANDIDATELIST lpDst, _In_ DWORD dwBufLen, _In_ UINT uFlag)
#define CONST
Definition: pedump.c:81
DWORD dwStrLen
Definition: imm.h:198
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
Definition: env.c:56
BOOL WINAPI ImmIsUIMessageA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
HIMC WINAPI ImmCreateContext(void)
Definition: imm.c:581
#define IMEMENUITEM_STRING_SIZE
Definition: imm.h:108
BOOL WINAPI ImmRegisterWordA(_In_ HKL, _In_ LPCSTR lpszReading, _In_ DWORD, _In_ LPCSTR lpszRegister)
BOOL WINAPI ImeSelect(HIMC, BOOL)
struct tagGUIDELINE * LPGUIDELINE
HKL WINAPI ImmInstallIMEW(_In_ LPCWSTR, _In_ LPCWSTR)
DWORD dwResultStrOffset
Definition: imm.h:189
int(CALLBACK * REGISTERWORDENUMPROCW)(_In_ LPCWSTR, _In_ DWORD, _In_ LPCWSTR, _In_ LPVOID)
Definition: imm.h:55
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:31
LRESULT WINAPI ImmRequestMessageA(HIMC, WPARAM, LPARAM)
Definition: keymsg.c:1055
struct tagIMEMENUITEMINFOA IMEMENUITEMINFOA
#define _Out_writes_(size)
Definition: ms_sal.h:348