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