ReactOS  0.4.14-dev-41-g31d7680
activeimmapp.c
Go to the documentation of this file.
1 /*
2  * ActiveIMMApp Interface
3  *
4  * Copyright 2008 CodeWeavers, Aric Stewart
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 #include "config.h"
22 
23 #include <stdarg.h>
24 
25 #define COBJMACROS
26 
27 #include "windef.h"
28 #include "winbase.h"
29 #include "wingdi.h"
30 #include "winreg.h"
31 #include "winuser.h"
32 #include "winerror.h"
33 #include "objbase.h"
34 #include "dimm.h"
35 #include "imm.h"
36 
37 #include "wine/unicode.h"
38 
39 #include "wine/debug.h"
40 
42 
43 typedef struct tagActiveIMMApp {
47 } ActiveIMMApp;
48 
50 {
51  return CONTAINING_RECORD(iface, ActiveIMMApp, IActiveIMMApp_iface);
52 }
53 
55 {
56  TRACE("\n");
58 }
59 
61  REFIID iid, LPVOID *ppvOut)
62 {
64  *ppvOut = NULL;
65 
66  if (IsEqualIID(iid, &IID_IUnknown) || IsEqualIID(iid, &IID_IActiveIMMApp))
67  {
68  *ppvOut = &This->IActiveIMMApp_iface;
69  }
70  else if (IsEqualIID(iid, &IID_IActiveIMMMessagePumpOwner))
71  {
72  *ppvOut = &This->IActiveIMMMessagePumpOwner_iface;
73  }
74 
75  if (*ppvOut)
76  {
77  IUnknown_AddRef(iface);
78  return S_OK;
79  }
80 
81  WARN("unsupported interface: %s\n", debugstr_guid(iid));
82  return E_NOINTERFACE;
83 }
84 
86 {
88  return InterlockedIncrement(&This->refCount);
89 }
90 
92 {
94  ULONG ret;
95 
96  ret = InterlockedDecrement(&This->refCount);
97  if (ret == 0)
99  return ret;
100 }
101 
103  HWND hWnd, HIMC hIME, HIMC *phPrev)
104 {
105  *phPrev = ImmAssociateContext(hWnd,hIME);
106  return S_OK;
107 }
108 
110  HKL hKL, HWND hwnd, DWORD dwMode, REGISTERWORDA *pData)
111 {
112  BOOL rc;
113 
114  rc = ImmConfigureIMEA(hKL, hwnd, dwMode, pData);
115  if (rc)
116  return E_FAIL;
117  else
118  return S_OK;
119 }
120 
122  HKL hKL, HWND hWnd, DWORD dwMode, REGISTERWORDW *pData)
123 {
124  BOOL rc;
125 
126  rc = ImmConfigureIMEW(hKL, hWnd, dwMode, pData);
127  if (rc)
128  return E_FAIL;
129  else
130  return S_OK;
131 }
132 
134  HIMC *phIMC)
135 {
136  *phIMC = ImmCreateContext();
137  if (*phIMC)
138  return S_OK;
139  else
140  return E_FAIL;
141 }
142 
144  HIMC hIME)
145 {
146  BOOL rc;
147 
148  rc = ImmDestroyContext(hIME);
149  if (rc)
150  return S_OK;
151  else
152  return E_FAIL;
153 }
154 
156  HKL hKL, LPSTR szReading, DWORD dwStyle, LPSTR szRegister,
158 {
159  FIXME("Stub\n");
160  return E_NOTIMPL;
161 }
162 
164  HKL hKL, LPWSTR szReading, DWORD dwStyle, LPWSTR szRegister,
166 {
167  FIXME("Stub\n");
168  return E_NOTIMPL;
169 }
170 
172  HKL hKL, HIMC hIMC, UINT uEscape, LPVOID pData, LRESULT *plResult)
173 {
174  *plResult = ImmEscapeA(hKL, hIMC, uEscape, pData);
175  return S_OK;
176 }
177 
179  HKL hKL, HIMC hIMC, UINT uEscape, LPVOID pData, LRESULT *plResult)
180 {
181  *plResult = ImmEscapeW(hKL, hIMC, uEscape, pData);
182  return S_OK;
183 }
184 
186  HIMC hIMC, DWORD dwIndex, UINT uBufLen, CANDIDATELIST *pCandList,
187  UINT *puCopied)
188 {
189  *puCopied = ImmGetCandidateListA(hIMC, dwIndex, pCandList, uBufLen);
190  return S_OK;
191 }
192 
194  HIMC hIMC, DWORD dwIndex, UINT uBufLen, CANDIDATELIST *pCandList,
195  UINT *puCopied)
196 {
197  *puCopied = ImmGetCandidateListW(hIMC, dwIndex, pCandList, uBufLen);
198  return S_OK;
199 }
200 
202  HIMC hIMC, DWORD *pdwListSize, DWORD *pdwBufLen)
203 {
204  *pdwBufLen = ImmGetCandidateListCountA(hIMC, pdwListSize);
205  return S_OK;
206 }
207 
209  HIMC hIMC, DWORD *pdwListSize, DWORD *pdwBufLen)
210 {
211  *pdwBufLen = ImmGetCandidateListCountA(hIMC, pdwListSize);
212  return S_OK;
213 }
214 
216  HIMC hIMC, DWORD dwIndex, CANDIDATEFORM *pCandidate)
217 {
218  BOOL rc;
219  rc = ImmGetCandidateWindow(hIMC,dwIndex,pCandidate);
220  if (rc)
221  return S_OK;
222  else
223  return E_FAIL;
224 }
225 
227  HIMC hIMC, LOGFONTA *plf)
228 {
229  BOOL rc;
230  rc = ImmGetCompositionFontA(hIMC,plf);
231  if (rc)
232  return S_OK;
233  else
234  return E_FAIL;
235 }
236 
238  HIMC hIMC, LOGFONTW *plf)
239 {
240  BOOL rc;
241  rc = ImmGetCompositionFontW(hIMC,plf);
242  if (rc)
243  return S_OK;
244  else
245  return E_FAIL;
246 }
247 
249  HIMC hIMC, DWORD dwIndex, DWORD dwBufLen, LONG *plCopied, LPVOID pBuf)
250 {
251  *plCopied = ImmGetCompositionStringA(hIMC, dwIndex, pBuf, dwBufLen);
252  return S_OK;
253 }
254 
256  HIMC hIMC, DWORD dwIndex, DWORD dwBufLen, LONG *plCopied, LPVOID pBuf)
257 {
258  *plCopied = ImmGetCompositionStringW(hIMC, dwIndex, pBuf, dwBufLen);
259  return S_OK;
260 }
261 
263  HIMC hIMC, COMPOSITIONFORM *pCompForm)
264 {
265  BOOL rc;
266 
267  rc = ImmGetCompositionWindow(hIMC,pCompForm);
268 
269  if (rc)
270  return S_OK;
271  else
272  return E_FAIL;
273 }
274 
276  HWND hwnd, HIMC *phIMC)
277 {
278  *phIMC = ImmGetContext(hwnd);
279  return S_OK;
280 }
281 
283  HKL hKL, HIMC hIMC, LPSTR pSrc, UINT uBufLen, UINT uFlag,
284  CANDIDATELIST *pDst, UINT *puCopied)
285 {
286  *puCopied = ImmGetConversionListA(hKL, hIMC, pSrc, pDst, uBufLen, uFlag);
287  return S_OK;
288 }
289 
291  HKL hKL, HIMC hIMC, LPWSTR pSrc, UINT uBufLen, UINT uFlag,
292  CANDIDATELIST *pDst, UINT *puCopied)
293 {
294  *puCopied = ImmGetConversionListW(hKL, hIMC, pSrc, pDst, uBufLen, uFlag);
295  return S_OK;
296 }
297 
299  HIMC hIMC, DWORD *pfdwConversion, DWORD *pfdwSentence)
300 {
301  BOOL rc;
302 
303  rc = ImmGetConversionStatus(hIMC, pfdwConversion, pfdwSentence);
304 
305  if (rc)
306  return S_OK;
307  else
308  return E_FAIL;
309 }
310 
312  HWND hWnd, HWND *phDefWnd)
313 {
314  *phDefWnd = ImmGetDefaultIMEWnd(hWnd);
315  return S_OK;
316 }
317 
319  HKL hKL, UINT uBufLen, LPSTR szDescription, UINT *puCopied)
320 {
321  *puCopied = ImmGetDescriptionA(hKL, szDescription, uBufLen);
322  return S_OK;
323 }
324 
326  HKL hKL, UINT uBufLen, LPWSTR szDescription, UINT *puCopied)
327 {
328  *puCopied = ImmGetDescriptionW(hKL, szDescription, uBufLen);
329  return S_OK;
330 }
331 
333  HIMC hIMC, DWORD dwIndex, DWORD dwBufLen, LPSTR pBuf,
334  DWORD *pdwResult)
335 {
336  *pdwResult = ImmGetGuideLineA(hIMC, dwIndex, pBuf, dwBufLen);
337  return S_OK;
338 }
339 
341  HIMC hIMC, DWORD dwIndex, DWORD dwBufLen, LPWSTR pBuf,
342  DWORD *pdwResult)
343 {
344  *pdwResult = ImmGetGuideLineW(hIMC, dwIndex, pBuf, dwBufLen);
345  return S_OK;
346 }
347 
349  HKL hKL, UINT uBufLen, LPSTR szFileName, UINT *puCopied)
350 {
351  *puCopied = ImmGetIMEFileNameA(hKL, szFileName, uBufLen);
352  return S_OK;
353 }
354 
356  HKL hKL, UINT uBufLen, LPWSTR szFileName, UINT *puCopied)
357 {
358  *puCopied = ImmGetIMEFileNameW(hKL, szFileName, uBufLen);
359  return S_OK;
360 }
361 
363  HIMC hIMC)
364 {
365  return ImmGetOpenStatus(hIMC);
366 }
367 
369  HKL hKL, DWORD fdwIndex, DWORD *pdwProperty)
370 {
371  *pdwProperty = ImmGetProperty(hKL, fdwIndex);
372  return S_OK;
373 }
374 
376  HKL hKL, UINT nItem, STYLEBUFA *pStyleBuf, UINT *puCopied)
377 {
378  *puCopied = ImmGetRegisterWordStyleA(hKL, nItem, pStyleBuf);
379  return S_OK;
380 }
381 
383  HKL hKL, UINT nItem, STYLEBUFW *pStyleBuf, UINT *puCopied)
384 {
385  *puCopied = ImmGetRegisterWordStyleW(hKL, nItem, pStyleBuf);
386  return S_OK;
387 }
388 
390  HIMC hIMC, POINT *pptPos)
391 {
392  BOOL rc;
393  rc = ImmGetStatusWindowPos(hIMC, pptPos);
394 
395  if (rc)
396  return S_OK;
397  else
398  return E_FAIL;
399 }
400 
402  HWND hWnd, UINT *puVirtualKey)
403 {
404  *puVirtualKey = ImmGetVirtualKey(hWnd);
405  return S_OK;
406 }
407 
409  LPSTR szIMEFileName, LPSTR szLayoutText, HKL *phKL)
410 {
411  *phKL = ImmInstallIMEA(szIMEFileName,szLayoutText);
412  return S_OK;
413 }
414 
416  LPWSTR szIMEFileName, LPWSTR szLayoutText, HKL *phKL)
417 {
418  *phKL = ImmInstallIMEW(szIMEFileName,szLayoutText);
419  return S_OK;
420 }
421 
423  HKL hKL)
424 {
425  return ImmIsIME(hKL);
426 }
427 
429  HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
430 {
431  return ImmIsUIMessageA(hWndIME,msg,wParam,lParam);
432 }
433 
435  HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
436 {
437  return ImmIsUIMessageW(hWndIME,msg,wParam,lParam);
438 }
439 
441  HIMC hIMC, DWORD dwAction, DWORD dwIndex, DWORD dwValue)
442 {
443  BOOL rc;
444 
445  rc = ImmNotifyIME(hIMC,dwAction,dwIndex,dwValue);
446 
447  if (rc)
448  return S_OK;
449  else
450  return E_FAIL;
451 }
452 
454  HKL hKL, LPSTR szReading, DWORD dwStyle, LPSTR szRegister)
455 {
456  BOOL rc;
457 
458  rc = ImmRegisterWordA(hKL,szReading,dwStyle,szRegister);
459 
460  if (rc)
461  return S_OK;
462  else
463  return E_FAIL;
464 }
465 
467  HKL hKL, LPWSTR szReading, DWORD dwStyle, LPWSTR szRegister)
468 {
469  BOOL rc;
470 
471  rc = ImmRegisterWordW(hKL,szReading,dwStyle,szRegister);
472 
473  if (rc)
474  return S_OK;
475  else
476  return E_FAIL;
477 }
478 
480  HWND hWnd, HIMC hIMC)
481 {
482  BOOL rc;
483 
484  rc = ImmReleaseContext(hWnd,hIMC);
485 
486  if (rc)
487  return S_OK;
488  else
489  return E_FAIL;
490 }
491 
493  HIMC hIMC, CANDIDATEFORM *pCandidate)
494 {
495  BOOL rc;
496 
497  rc = ImmSetCandidateWindow(hIMC,pCandidate);
498 
499  if (rc)
500  return S_OK;
501  else
502  return E_FAIL;
503 }
504 
506  HIMC hIMC, LOGFONTA *plf)
507 {
508  BOOL rc;
509 
510  rc = ImmSetCompositionFontA(hIMC,plf);
511 
512  if (rc)
513  return S_OK;
514  else
515  return E_FAIL;
516 }
517 
519  HIMC hIMC, LOGFONTW *plf)
520 {
521  BOOL rc;
522 
523  rc = ImmSetCompositionFontW(hIMC,plf);
524 
525  if (rc)
526  return S_OK;
527  else
528  return E_FAIL;
529 }
530 
532  HIMC hIMC, DWORD dwIndex, LPVOID pComp, DWORD dwCompLen,
533  LPVOID pRead, DWORD dwReadLen)
534 {
535  BOOL rc;
536 
537  rc = ImmSetCompositionStringA(hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen);
538 
539  if (rc)
540  return S_OK;
541  else
542  return E_FAIL;
543 }
544 
546  HIMC hIMC, DWORD dwIndex, LPVOID pComp, DWORD dwCompLen,
547  LPVOID pRead, DWORD dwReadLen)
548 {
549  BOOL rc;
550 
551  rc = ImmSetCompositionStringW(hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen);
552 
553  if (rc)
554  return S_OK;
555  else
556  return E_FAIL;
557 }
558 
560  HIMC hIMC, COMPOSITIONFORM *pCompForm)
561 {
562  BOOL rc;
563 
564  rc = ImmSetCompositionWindow(hIMC,pCompForm);
565 
566  if (rc)
567  return S_OK;
568  else
569  return E_FAIL;
570 }
571 
573  HIMC hIMC, DWORD fdwConversion, DWORD fdwSentence)
574 {
575  BOOL rc;
576 
577  rc = ImmSetConversionStatus(hIMC,fdwConversion,fdwSentence);
578 
579  if (rc)
580  return S_OK;
581  else
582  return E_FAIL;
583 }
584 
586  HIMC hIMC, BOOL fOpen)
587 {
588  BOOL rc;
589 
590  rc = ImmSetOpenStatus(hIMC,fOpen);
591 
592  if (rc)
593  return S_OK;
594  else
595  return E_FAIL;
596 }
597 
599  HIMC hIMC, POINT *pptPos)
600 {
601  BOOL rc;
602 
603  rc = ImmSetStatusWindowPos(hIMC,pptPos);
604 
605  if (rc)
606  return S_OK;
607  else
608  return E_FAIL;
609 }
610 
612  HWND hwnd, DWORD dwHotKeyID)
613 {
614  BOOL rc;
615 
616  rc = ImmSimulateHotKey(hwnd,dwHotKeyID);
617 
618  if (rc)
619  return S_OK;
620  else
621  return E_FAIL;
622 }
623 
625  HKL hKL, LPSTR szReading, DWORD dwStyle, LPSTR szUnregister)
626 {
627  BOOL rc;
628 
629  rc = ImmUnregisterWordA(hKL,szReading,dwStyle,szUnregister);
630 
631  if (rc)
632  return S_OK;
633  else
634  return E_FAIL;
635 
636 }
637 
639  HKL hKL, LPWSTR szReading, DWORD dwStyle, LPWSTR szUnregister)
640 {
641  BOOL rc;
642 
643  rc = ImmUnregisterWordW(hKL,szReading,dwStyle,szUnregister);
644 
645  if (rc)
646  return S_OK;
647  else
648  return E_FAIL;
649 }
650 
652  BOOL fRestoreLayout)
653 {
654  FIXME("Stub\n");
655  return S_OK;
656 }
657 
659 {
660  FIXME("Stub\n");
661  return S_OK;
662 }
663 
666 {
667 #ifndef __REACTOS__
668  FIXME("Stub (%p %x %lx %lx)\n",hWnd,Msg,wParam,lParam);
669 #endif
670  return E_FAIL;
671 }
672 
674  ATOM *aaClassList, UINT uSize)
675 {
676  FIXME("Stub\n");
677  return S_OK;
678 }
679 
681  HKL hKL, UINT *uCodePage)
682 {
683  FIXME("Stub\n");
684  return E_NOTIMPL;
685 }
686 
688  HKL hKL, LANGID *plid)
689 {
690  FIXME("Stub\n");
691  return E_NOTIMPL;
692 }
693 
695  HWND hWnd, HIMC hIMC, DWORD dwFlags)
696 {
697  BOOL rc;
698 
700 
701  if (rc)
702  return S_OK;
703  else
704  return E_FAIL;
705 }
706 
708  DWORD idThread)
709 {
710  BOOL rc;
711 
712  rc = ImmDisableIME(idThread);
713 
714  if (rc)
715  return S_OK;
716  else
717  return E_FAIL;
718 }
719 
721  HIMC hIMC, DWORD dwFlags, DWORD dwType,
722  IMEMENUITEMINFOA *pImeParentMenu, IMEMENUITEMINFOA *pImeMenu,
724 {
725  *pdwResult = ImmGetImeMenuItemsA(hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize);
726  return S_OK;
727 }
728 
730  HIMC hIMC, DWORD dwFlags, DWORD dwType,
731  IMEMENUITEMINFOW *pImeParentMenu, IMEMENUITEMINFOW *pImeMenu,
733 {
734  *pdwResult = ImmGetImeMenuItemsW(hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize);
735  return S_OK;
736 }
737 
739  DWORD idThread, IEnumInputContext **ppEnum)
740 {
741  FIXME("Stub\n");
742  return E_NOTIMPL;
743 }
744 
745 static const IActiveIMMAppVtbl ActiveIMMAppVtbl =
746 {
750 
808 
820 };
821 
823 {
824  return CONTAINING_RECORD(iface, ActiveIMMApp, IActiveIMMMessagePumpOwner_iface);
825 }
826 
828  REFIID iid, LPVOID *ppvOut)
829 {
831  return IActiveIMMApp_QueryInterface(&This->IActiveIMMApp_iface, iid, ppvOut);
832 }
833 
835 {
837  return IActiveIMMApp_AddRef(&This->IActiveIMMApp_iface);
838 }
839 
841 {
843  return IActiveIMMApp_Release(&This->IActiveIMMApp_iface);
844 }
845 
847 {
849  FIXME("(%p)->(): stub\n", This);
850  return E_NOTIMPL;
851 }
852 
854 {
856  FIXME("(%p)->(): stub\n", This);
857  return E_NOTIMPL;
858 }
859 
861  const MSG *msg)
862 {
864  FIXME("(%p)->(%p): stub\n", This, msg);
865  return E_NOTIMPL;
866 }
867 
869  DWORD *cookie)
870 {
872  FIXME("(%p)->(%p): stub\n", This, cookie);
873  return E_NOTIMPL;
874 }
875 
877  DWORD cookie)
878 {
880  FIXME("(%p)->(%u): stub\n", This, cookie);
881  return E_NOTIMPL;
882 }
883 
884 static const IActiveIMMMessagePumpOwnerVtbl ActiveIMMMessagePumpOwnerVtbl =
885 {
894 };
895 
897 {
899  if (pUnkOuter)
900  return CLASS_E_NOAGGREGATION;
901 
903  if (This == NULL)
904  return E_OUTOFMEMORY;
905 
906  This->IActiveIMMApp_iface.lpVtbl = &ActiveIMMAppVtbl;
907  This->IActiveIMMMessagePumpOwner_iface.lpVtbl = &ActiveIMMMessagePumpOwnerVtbl;
908  This->refCount = 1;
909 
910  TRACE("returning %p\n",This);
911  *ppOut = (IUnknown *)&This->IActiveIMMApp_iface;
912  return S_OK;
913 }
DWORD WINAPI ImmGetCandidateListCountA(HIMC hIMC, LPDWORD lpdwListCount)
Definition: imm.c:1041
static HRESULT WINAPI ActiveIMMApp_GetGuideLineA(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, DWORD dwBufLen, LPSTR pBuf, DWORD *pdwResult)
Definition: activeimmapp.c:332
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
static HRESULT WINAPI ActiveIMMApp_GetCompositionFontW(IActiveIMMApp *This, HIMC hIMC, LOGFONTW *plf)
Definition: activeimmapp.c:237
BOOL WINAPI ImmUnregisterWordW(HKL hKL, LPCWSTR lpszReading, DWORD dwStyle, LPCWSTR lpszUnregister)
Definition: imm.c:2707
#define REFIID
Definition: guiddef.h:118
BOOL WINAPI ImmConfigureIMEW(HKL hKL, HWND hWnd, DWORD dwMode, LPVOID lpData)
Definition: imm.c:705
static HRESULT WINAPI ActiveIMMApp_GetCandidateListA(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, UINT uBufLen, CANDIDATELIST *pCandList, UINT *puCopied)
Definition: activeimmapp.c:185
#define E_NOINTERFACE
Definition: winerror.h:2364
IActiveIMMMessagePumpOwner IActiveIMMMessagePumpOwner_iface
Definition: activeimmapp.c:45
static HRESULT WINAPI ActiveIMMMessagePumpOwner_Pause(IActiveIMMMessagePumpOwner *iface, DWORD *cookie)
Definition: activeimmapp.c:868
static const IActiveIMMMessagePumpOwnerVtbl ActiveIMMMessagePumpOwnerVtbl
Definition: activeimmapp.c:884
static HRESULT WINAPI ActiveIMMApp_GetVirtualKey(IActiveIMMApp *This, HWND hWnd, UINT *puVirtualKey)
Definition: activeimmapp.c:401
WORD ATOM
Definition: dimm.idl:113
static HRESULT WINAPI ActiveIMMApp_GetCandidateListW(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, UINT uBufLen, CANDIDATELIST *pCandList, UINT *puCopied)
Definition: activeimmapp.c:193
DWORD WINAPI ImmGetImeMenuItemsW(HIMC hIMC, DWORD dwFlags, DWORD dwType, LPIMEMENUITEMINFOW lpImeParentMenu, LPIMEMENUITEMINFOW lpImeMenu, DWORD dwSize)
Definition: imm.c:2808
static HRESULT WINAPI ActiveIMMApp_NotifyIME(IActiveIMMApp *This, HIMC hIMC, DWORD dwAction, DWORD dwIndex, DWORD dwValue)
Definition: activeimmapp.c:440
HKL WINAPI ImmInstallIMEW(LPCWSTR lpszIMEFileName, LPCWSTR lpszLayoutText)
Definition: imm.c:2055
static HRESULT WINAPI ActiveIMMApp_GetConversionStatus(IActiveIMMApp *This, HIMC hIMC, DWORD *pfdwConversion, DWORD *pfdwSentence)
Definition: activeimmapp.c:298
static ULONG WINAPI ActiveIMMApp_AddRef(IActiveIMMApp *iface)
Definition: activeimmapp.c:85
TW_UINT32 TW_UINT16 TW_UINT16 MSG
Definition: twain.h:1827
#define WARN(fmt,...)
Definition: debug.h:111
static HRESULT WINAPI ActiveIMMApp_QueryInterface(IActiveIMMApp *iface, REFIID iid, LPVOID *ppvOut)
Definition: activeimmapp.c:60
static HRESULT WINAPI ActiveIMMApp_Activate(IActiveIMMApp *This, BOOL fRestoreLayout)
Definition: activeimmapp.c:651
DWORD WINAPI ImmGetCandidateListW(HIMC hIMC, DWORD dwIndex, LPCANDIDATELIST lpCandList, DWORD dwBufLen)
Definition: imm.c:1105
HWND hWnd
Definition: settings.c:17
static HRESULT WINAPI ActiveIMMApp_OnDefWindowProc(IActiveIMMApp *This, HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, LRESULT *plResult)
Definition: activeimmapp.c:664
static ULONG WINAPI ActiveIMMMessagePumpOwner_Release(IActiveIMMMessagePumpOwner *iface)
Definition: activeimmapp.c:840
BOOL WINAPI ImmAssociateContextEx(HWND hWnd, HIMC hIMC, DWORD dwFlags)
Definition: imm.c:635
IActiveIMMApp IActiveIMMApp_iface
Definition: activeimmapp.c:44
static HRESULT WINAPI ActiveIMMApp_InstallIMEW(IActiveIMMApp *This, LPWSTR szIMEFileName, LPWSTR szLayoutText, HKL *phKL)
Definition: activeimmapp.c:415
static HRESULT WINAPI ActiveIMMApp_GetIMEFileNameW(IActiveIMMApp *This, HKL hKL, UINT uBufLen, LPWSTR szFileName, UINT *puCopied)
Definition: activeimmapp.c:355
UINT_PTR WPARAM
Definition: windef.h:207
WORD LANGID
Definition: typedefs.h:79
static HRESULT WINAPI ActiveIMMApp_SetCompositionFontA(IActiveIMMApp *This, HIMC hIMC, LOGFONTA *plf)
Definition: activeimmapp.c:505
static HRESULT WINAPI ActiveIMMApp_GetIMEFileNameA(IActiveIMMApp *This, HKL hKL, UINT uBufLen, LPSTR szFileName, UINT *puCopied)
Definition: activeimmapp.c:348
static HRESULT WINAPI ActiveIMMApp_GetDefaultIMEWnd(IActiveIMMApp *This, HWND hWnd, HWND *phDefWnd)
Definition: activeimmapp.c:311
BOOL WINAPI ImmGetStatusWindowPos(HIMC hIMC, LPPOINT lpptPos)
Definition: imm.c:1989
char * LPSTR
Definition: xmlstorage.h:182
_In_ HCRYPTHASH _In_ BOOL _In_ DWORD _Inout_ DWORD _In_ DWORD dwBufLen
Definition: wincrypt.h:4245
#define E_FAIL
Definition: ddrawi.h:102
static HRESULT WINAPI ActiveIMMApp_GetProperty(IActiveIMMApp *This, HKL hKL, DWORD fdwIndex, DWORD *pdwProperty)
Definition: activeimmapp.c:368
static HRESULT WINAPI ActiveIMMApp_EscapeW(IActiveIMMApp *This, HKL hKL, HIMC hIMC, UINT uEscape, LPVOID pData, LRESULT *plResult)
Definition: activeimmapp.c:178
static void ActiveIMMApp_Destructor(ActiveIMMApp *This)
Definition: activeimmapp.c:54
WPARAM wParam
Definition: combotst.c:138
static HRESULT WINAPI ActiveIMMApp_SetCompositionWindow(IActiveIMMApp *This, HIMC hIMC, COMPOSITIONFORM *pCompForm)
Definition: activeimmapp.c:559
LONG WINAPI ImmGetCompositionStringA(HIMC hIMC, DWORD dwIndex, LPVOID lpBuf, DWORD dwBufLen)
Definition: imm.c:1459
BOOL WINAPI ImmSetStatusWindowPos(HIMC hIMC, LPPOINT lpptPos)
Definition: imm.c:2610
BOOL WINAPI ImmDestroyContext(HIMC hIMC)
Definition: imm.c:826
static HRESULT WINAPI ActiveIMMApp_RegisterWordW(IActiveIMMApp *This, HKL hKL, LPWSTR szReading, DWORD dwStyle, LPWSTR szRegister)
Definition: activeimmapp.c:466
static HRESULT WINAPI ActiveIMMApp_FilterClientWindows(IActiveIMMApp *This, ATOM *aaClassList, UINT uSize)
Definition: activeimmapp.c:673
BOOL WINAPI ImmIsIME(HKL hKL)
Definition: imm.c:2113
BOOL WINAPI ImmSetCompositionWindow(HIMC hIMC, LPCOMPOSITIONFORM lpCompForm)
Definition: imm.c:2492
BOOL WINAPI ImmGetConversionStatus(HIMC hIMC, LPDWORD lpfdwConversion, LPDWORD lpfdwSentence)
Definition: imm.c:1604
static HRESULT WINAPI ActiveIMMApp_GetCandidateWindow(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, CANDIDATEFORM *pCandidate)
Definition: activeimmapp.c:215
HWND WINAPI ImmGetDefaultIMEWnd(HWND hWnd)
Definition: imm.c:1716
struct @1576 Msg[]
LRESULT WINAPI ImmEscapeW(HKL hKL, HIMC hIMC, UINT uEscape, LPVOID lpData)
Definition: imm.c:967
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
static HRESULT WINAPI ActiveIMMMessagePumpOwner_End(IActiveIMMMessagePumpOwner *iface)
Definition: activeimmapp.c:853
unsigned int BOOL
Definition: ntddk_ex.h:94
long LONG
Definition: pedump.c:60
UINT WINAPI ImmGetDescriptionA(HKL hKL, LPSTR lpszDescription, UINT uBufLen)
Definition: imm.c:1731
DWORD WINAPI ImmGetConversionListA(HKL hKL, HIMC hIMC, LPCSTR pSrc, LPCANDIDATELIST lpDst, DWORD dwBufLen, UINT uFlag)
Definition: imm.c:1528
#define FIXME(fmt,...)
Definition: debug.h:110
HKL WINAPI ImmInstallIMEA(LPCSTR lpszIMEFileName, LPCSTR lpszLayoutText)
Definition: imm.c:2032
static HRESULT WINAPI ActiveIMMApp_IsIME(IActiveIMMApp *This, HKL hKL)
Definition: activeimmapp.c:422
smooth NULL
Definition: ftsmooth.c:416
static HRESULT WINAPI ActiveIMMApp_ConfigureIMEW(IActiveIMMApp *This, HKL hKL, HWND hWnd, DWORD dwMode, REGISTERWORDW *pData)
Definition: activeimmapp.c:121
LONG_PTR LPARAM
Definition: windef.h:208
static ActiveIMMApp * impl_from_IActiveIMMMessagePumpOwner(IActiveIMMMessagePumpOwner *iface)
Definition: activeimmapp.c:822
DECLSPEC_HIDDEN HRESULT ActiveIMMApp_Constructor(IUnknown *pUnkOuter, IUnknown **ppOut)
Definition: activeimmapp.c:896
static HRESULT WINAPI ActiveIMMApp_GetCompositionStringW(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, DWORD dwBufLen, LONG *plCopied, LPVOID pBuf)
Definition: activeimmapp.c:255
DWORD HIMC
Definition: dimm.idl:75
#define debugstr_guid
Definition: kernel32.h:35
static HRESULT WINAPI ActiveIMMApp_EnumRegisterWordW(IActiveIMMApp *This, HKL hKL, LPWSTR szReading, DWORD dwStyle, LPWSTR szRegister, LPVOID pData, IEnumRegisterWordW **pEnum)
Definition: activeimmapp.c:163
HIMC WINAPI ImmCreateContext(void)
Definition: imm.c:740
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560
static HRESULT WINAPI ActiveIMMApp_ReleaseContext(IActiveIMMApp *This, HWND hWnd, HIMC hIMC)
Definition: activeimmapp.c:479
BOOL WINAPI ImmGetOpenStatus(HIMC hIMC)
Definition: imm.c:1886
UINT WINAPI ImmGetIMEFileNameA(HKL hKL, LPSTR lpszFileName, UINT uBufLen)
Definition: imm.c:1807
static HRESULT WINAPI ActiveIMMApp_SetCompositionStringA(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, LPVOID pComp, DWORD dwCompLen, LPVOID pRead, DWORD dwReadLen)
Definition: activeimmapp.c:531
static HRESULT WINAPI ActiveIMMApp_ConfigureIMEA(IActiveIMMApp *This, HKL hKL, HWND hwnd, DWORD dwMode, REGISTERWORDA *pData)
Definition: activeimmapp.c:109
static HRESULT WINAPI ActiveIMMApp_SetCompositionFontW(IActiveIMMApp *This, HIMC hIMC, LOGFONTW *plf)
Definition: activeimmapp.c:518
BOOL WINAPI ImmUnregisterWordA(HKL hKL, LPCSTR lpszReading, DWORD dwStyle, LPCSTR lpszUnregister)
Definition: imm.c:2677
#define TRACE(s)
Definition: solgame.cpp:4
static HRESULT WINAPI ActiveIMMApp_GetCompositionWindow(IActiveIMMApp *This, HIMC hIMC, COMPOSITIONFORM *pCompForm)
Definition: activeimmapp.c:262
#define GetProcessHeap()
Definition: compat.h:395
static HRESULT WINAPI ActiveIMMApp_GetConversionListW(IActiveIMMApp *This, HKL hKL, HIMC hIMC, LPWSTR pSrc, UINT uBufLen, UINT uFlag, CANDIDATELIST *pDst, UINT *puCopied)
Definition: activeimmapp.c:290
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
static HRESULT WINAPI ActiveIMMApp_InstallIMEA(IActiveIMMApp *This, LPSTR szIMEFileName, LPSTR szLayoutText, HKL *phKL)
Definition: activeimmapp.c:408
LONG HRESULT
Definition: typedefs.h:77
LONG WINAPI ImmGetCompositionStringW(HIMC hIMC, DWORD dwIndex, LPVOID lpBuf, DWORD dwBufLen)
Definition: imm.c:1469
HIMC WINAPI ImmGetContext(HWND hWnd)
Definition: imm.c:1496
const GUID IID_IUnknown
DWORD WINAPI ImmGetGuideLineW(HIMC hIMC, DWORD dwIndex, LPWSTR lpBuf, DWORD dwBufLen)
Definition: imm.c:1795
#define WINAPI
Definition: msvc.h:8
static HRESULT WINAPI ActiveIMMApp_UnregisterWordA(IActiveIMMApp *This, HKL hKL, LPSTR szReading, DWORD dwStyle, LPSTR szUnregister)
Definition: activeimmapp.c:624
unsigned long DWORD
Definition: ntddk_ex.h:95
BOOL WINAPI ImmSetCompositionStringW(HIMC hIMC, DWORD dwIndex, LPCVOID lpComp, DWORD dwCompLen, LPCVOID lpRead, DWORD dwReadLen)
Definition: imm.c:2433
static HRESULT WINAPI ActiveIMMApp_EnumRegisterWordA(IActiveIMMApp *This, HKL hKL, LPSTR szReading, DWORD dwStyle, LPSTR szRegister, LPVOID pData, IEnumRegisterWordA **pEnum)
Definition: activeimmapp.c:155
static HRESULT WINAPI ActiveIMMApp_GetRegisterWordStyleA(IActiveIMMApp *This, HKL hKL, UINT nItem, STYLEBUFA *pStyleBuf, UINT *puCopied)
Definition: activeimmapp.c:375
WINE_DEFAULT_DEBUG_CHANNEL(msimtf)
static ULONG WINAPI ActiveIMMMessagePumpOwner_AddRef(IActiveIMMMessagePumpOwner *iface)
Definition: activeimmapp.c:834
static HRESULT WINAPI ActiveIMMApp_GetCompositionStringA(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, DWORD dwBufLen, LONG *plCopied, LPVOID pBuf)
Definition: activeimmapp.c:248
static HRESULT WINAPI ActiveIMMApp_GetCandidateListCountW(IActiveIMMApp *This, HIMC hIMC, DWORD *pdwListSize, DWORD *pdwBufLen)
Definition: activeimmapp.c:208
BOOL WINAPI ImmGetCompositionFontW(HIMC hIMC, LPLOGFONTW lplf)
Definition: imm.c:1188
int ret
static HRESULT WINAPI ActiveIMMApp_SimulateHotKey(IActiveIMMApp *This, HWND hwnd, DWORD dwHotKeyID)
Definition: activeimmapp.c:611
static HRESULT WINAPI ActiveIMMApp_DisableIME(IActiveIMMApp *This, DWORD idThread)
Definition: activeimmapp.c:707
DWORD WINAPI ImmGetImeMenuItemsA(HIMC hIMC, DWORD dwFlags, DWORD dwType, LPIMEMENUITEMINFOA lpImeParentMenu, LPIMEMENUITEMINFOA lpImeMenu, DWORD dwSize)
Definition: imm.c:2737
static HRESULT WINAPI ActiveIMMApp_GetLangId(IActiveIMMApp *This, HKL hKL, LANGID *plid)
Definition: activeimmapp.c:687
#define InterlockedDecrement
Definition: armddk.h:52
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
BOOL WINAPI ImmDisableIME(DWORD idThread)
Definition: imm.c:837
static const IActiveIMMAppVtbl ActiveIMMAppVtbl
Definition: activeimmapp.c:745
UINT_PTR HKL
Definition: msctf.idl:101
#define CLASS_E_NOAGGREGATION
Definition: winerror.h:2662
static HRESULT WINAPI ActiveIMMApp_GetDescriptionW(IActiveIMMApp *This, HKL hKL, UINT uBufLen, LPWSTR szDescription, UINT *puCopied)
Definition: activeimmapp.c:325
HIMC WINAPI ImmAssociateContext(HWND hWnd, HIMC hIMC)
Definition: imm.c:563
BOOL WINAPI ImmSetCompositionFontA(HIMC hIMC, LPLOGFONTA lplf)
Definition: imm.c:2328
static HRESULT WINAPI ActiveIMMApp_IsUIMessageA(IActiveIMMApp *This, HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
Definition: activeimmapp.c:428
static HRESULT WINAPI ActiveIMMApp_SetConversionStatus(IActiveIMMApp *This, HIMC hIMC, DWORD fdwConversion, DWORD fdwSentence)
Definition: activeimmapp.c:572
static ULONG WINAPI ActiveIMMApp_Release(IActiveIMMApp *iface)
Definition: activeimmapp.c:91
UINT WINAPI ImmGetRegisterWordStyleA(HKL hKL, UINT nItem, LPSTYLEBUFA lpStyleBuf)
Definition: imm.c:1933
DWORD WINAPI ImmGetProperty(HKL hKL, DWORD fdwIndex)
Definition: imm.c:1905
BOOL WINAPI ImmReleaseContext(HWND hWnd, HIMC hIMC)
Definition: imm.c:2253
BOOL WINAPI ImmSetCompositionFontW(HIMC hIMC, LPLOGFONTW lplf)
Definition: imm.c:2354
static HRESULT WINAPI ActiveIMMApp_GetCompositionFontA(IActiveIMMApp *This, HIMC hIMC, LOGFONTA *plf)
Definition: activeimmapp.c:226
#define S_OK
Definition: intsafe.h:59
static HRESULT WINAPI ActiveIMMApp_GetConversionListA(IActiveIMMApp *This, HKL hKL, HIMC hIMC, LPSTR pSrc, UINT uBufLen, UINT uFlag, CANDIDATELIST *pDst, UINT *puCopied)
Definition: activeimmapp.c:282
BOOL WINAPI ImmSetOpenStatus(HIMC hIMC, BOOL fOpen)
Definition: imm.c:2571
#define InterlockedIncrement
Definition: armddk.h:53
#define DECLSPEC_HIDDEN
Definition: precomp.h:8
static HRESULT WINAPI ActiveIMMApp_UnregisterWordW(IActiveIMMApp *This, HKL hKL, LPWSTR szReading, DWORD dwStyle, LPWSTR szUnregister)
Definition: activeimmapp.c:638
BOOL WINAPI ImmGetCompositionFontA(HIMC hIMC, LPLOGFONTA lplf)
Definition: imm.c:1168
BOOL WINAPI ImmSimulateHotKey(HWND hWnd, DWORD dwHotKeyID)
Definition: imm.c:2667
UINT WINAPI ImmGetDescriptionW(HKL hKL, LPWSTR lpszDescription, UINT uBufLen)
Definition: imm.c:1767
static HRESULT WINAPI ActiveIMMApp_IsUIMessageW(IActiveIMMApp *This, HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
Definition: activeimmapp.c:434
_In_ UINT _In_ DWORD _Out_ DWORD * pdwResult
Definition: ntgdi.h:248
static HRESULT WINAPI ActiveIMMApp_RegisterWordA(IActiveIMMApp *This, HKL hKL, LPSTR szReading, DWORD dwStyle, LPSTR szRegister)
Definition: activeimmapp.c:453
static HRESULT WINAPI ActiveIMMMessagePumpOwner_Start(IActiveIMMMessagePumpOwner *iface)
Definition: activeimmapp.c:846
BOOL WINAPI ImmRegisterWordA(HKL hKL, LPCSTR lpszReading, DWORD dwStyle, LPCSTR lpszRegister)
Definition: imm.c:2193
DWORD WINAPI ImmGetCandidateListA(HIMC hIMC, DWORD dwIndex, LPCANDIDATELIST lpCandList, DWORD dwBufLen)
Definition: imm.c:1002
#define E_NOTIMPL
Definition: ddrawi.h:99
BOOL WINAPI ImmConfigureIMEA(HKL hKL, HWND hWnd, DWORD dwMode, LPVOID lpData)
Definition: imm.c:670
static HRESULT WINAPI ActiveIMMApp_GetContext(IActiveIMMApp *This, HWND hwnd, HIMC *phIMC)
Definition: activeimmapp.c:275
static HRESULT WINAPI ActiveIMMApp_GetImeMenuItemsW(IActiveIMMApp *This, HIMC hIMC, DWORD dwFlags, DWORD dwType, IMEMENUITEMINFOW *pImeParentMenu, IMEMENUITEMINFOW *pImeMenu, DWORD dwSize, DWORD *pdwResult)
Definition: activeimmapp.c:729
BOOL WINAPI ImmGetCompositionWindow(HIMC hIMC, LPCOMPOSITIONFORM lpCompForm)
Definition: imm.c:1479
static HRESULT WINAPI ActiveIMMApp_SetOpenStatus(IActiveIMMApp *This, HIMC hIMC, BOOL fOpen)
Definition: activeimmapp.c:585
unsigned int UINT
Definition: ndis.h:50
static HRESULT WINAPI ActiveIMMApp_DestroyContext(IActiveIMMApp *This, HIMC hIME)
Definition: activeimmapp.c:143
UINT WINAPI ImmGetVirtualKey(HWND hWnd)
Definition: imm.c:2006
#define HEAP_ZERO_MEMORY
Definition: compat.h:123
static HRESULT WINAPI ActiveIMMApp_GetStatusWindowPos(IActiveIMMApp *This, HIMC hIMC, POINT *pptPos)
Definition: activeimmapp.c:389
static HRESULT WINAPI ActiveIMMApp_GetCodePageA(IActiveIMMApp *This, HKL hKL, UINT *uCodePage)
Definition: activeimmapp.c:680
LRESULT WINAPI ImmEscapeA(HKL hKL, HIMC hIMC, UINT uEscape, LPVOID lpData)
Definition: imm.c:932
BOOL WINAPI ImmSetCandidateWindow(HIMC hIMC, LPCANDIDATEFORM lpCandidate)
Definition: imm.c:2297
static HRESULT WINAPI ActiveIMMApp_SetCandidateWindow(IActiveIMMApp *This, HIMC hIMC, CANDIDATEFORM *pCandidate)
Definition: activeimmapp.c:492
static HRESULT WINAPI ActiveIMMApp_GetGuideLineW(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, DWORD dwBufLen, LPWSTR pBuf, DWORD *pdwResult)
Definition: activeimmapp.c:340
#define msg(x)
Definition: auth_time.c:54
BOOL WINAPI ImmSetCompositionStringA(HIMC hIMC, DWORD dwIndex, LPCVOID lpComp, DWORD dwCompLen, LPCVOID lpRead, DWORD dwReadLen)
Definition: imm.c:2378
BOOL WINAPI ImmGetCandidateWindow(HIMC hIMC, DWORD dwIndex, LPCANDIDATEFORM lpCandidate)
Definition: imm.c:1144
static HRESULT WINAPI ActiveIMMApp_GetImeMenuItemsA(IActiveIMMApp *This, HIMC hIMC, DWORD dwFlags, DWORD dwType, IMEMENUITEMINFOA *pImeParentMenu, IMEMENUITEMINFOA *pImeMenu, DWORD dwSize, DWORD *pdwResult)
Definition: activeimmapp.c:720
unsigned int ULONG
Definition: retypes.h:1
static HRESULT WINAPI ActiveIMMApp_GetDescriptionA(IActiveIMMApp *This, HKL hKL, UINT uBufLen, LPSTR szDescription, UINT *puCopied)
Definition: activeimmapp.c:318
DWORD WINAPI ImmGetGuideLineA(HIMC hIMC, DWORD dwIndex, LPSTR lpBuf, DWORD dwBufLen)
Definition: imm.c:1782
BOOL WINAPI ImmSetConversionStatus(HIMC hIMC, DWORD fdwConversion, DWORD fdwSentence)
Definition: imm.c:2533
BOOL WINAPI ImmNotifyIME(HIMC hIMC, DWORD dwAction, DWORD dwIndex, DWORD dwValue)
Definition: imm.c:2168
UINT WINAPI ImmGetIMEFileNameW(HKL hKL, LPWSTR lpszFileName, UINT uBufLen)
Definition: imm.c:1840
struct tagActiveIMMApp ActiveIMMApp
static HRESULT WINAPI ActiveIMMApp_GetCandidateListCountA(IActiveIMMApp *This, HIMC hIMC, DWORD *pdwListSize, DWORD *pdwBufLen)
Definition: activeimmapp.c:201
static ActiveIMMApp * impl_from_IActiveIMMApp(IActiveIMMApp *iface)
Definition: activeimmapp.c:49
DWORD WINAPI ImmGetConversionListW(HKL hKL, HIMC hIMC, LPCWSTR pSrc, LPCANDIDATELIST lpDst, DWORD dwBufLen, UINT uFlag)
Definition: imm.c:1566
WCHAR * LPWSTR
Definition: xmlstorage.h:184
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
Definition: twain.h:1827
LONG_PTR LRESULT
Definition: windef.h:209
static HRESULT WINAPI ActiveIMMApp_GetRegisterWordStyleW(IActiveIMMApp *This, HKL hKL, UINT nItem, STYLEBUFW *pStyleBuf, UINT *puCopied)
Definition: activeimmapp.c:382
BOOL WINAPI ImmIsUIMessageW(HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
Definition: imm.c:2146
BOOL WINAPI ImmRegisterWordW(HKL hKL, LPCWSTR lpszReading, DWORD dwStyle, LPCWSTR lpszRegister)
Definition: imm.c:2223
LPARAM lParam
Definition: combotst.c:139
static HRESULT WINAPI ActiveIMMApp_AssociateContext(IActiveIMMApp *iface, HWND hWnd, HIMC hIME, HIMC *phPrev)
Definition: activeimmapp.c:102
#define HeapFree(x, y, z)
Definition: compat.h:394
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
Definition: env.c:54
#define IsEqualIID(riid1, riid2)
Definition: guiddef.h:95
static HRESULT WINAPI ActiveIMMApp_AssociateContextEx(IActiveIMMApp *This, HWND hWnd, HIMC hIMC, DWORD dwFlags)
Definition: activeimmapp.c:694
static HRESULT WINAPI ActiveIMMMessagePumpOwner_QueryInterface(IActiveIMMMessagePumpOwner *iface, REFIID iid, LPVOID *ppvOut)
Definition: activeimmapp.c:827
UINT WINAPI ImmGetRegisterWordStyleW(HKL hKL, UINT nItem, LPSTYLEBUFW lpStyleBuf)
Definition: imm.c:1961
BOOL WINAPI ImmIsUIMessageA(HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
Definition: imm.c:2124
static HRESULT WINAPI ActiveIMMApp_CreateContext(IActiveIMMApp *This, HIMC *phIMC)
Definition: activeimmapp.c:133
static HRESULT WINAPI ActiveIMMApp_EscapeA(IActiveIMMApp *This, HKL hKL, HIMC hIMC, UINT uEscape, LPVOID pData, LRESULT *plResult)
Definition: activeimmapp.c:171
static const WCHAR szDescription[]
Definition: provider.c:52
static HRESULT WINAPI ActiveIMMApp_Deactivate(IActiveIMMApp *This)
Definition: activeimmapp.c:658
static HRESULT WINAPI ActiveIMMApp_EnumInputContext(IActiveIMMApp *This, DWORD idThread, IEnumInputContext **ppEnum)
Definition: activeimmapp.c:738
static HRESULT WINAPI ActiveIMMMessagePumpOwner_OnTranslateMessage(IActiveIMMMessagePumpOwner *iface, const MSG *msg)
Definition: activeimmapp.c:860
static HRESULT WINAPI ActiveIMMApp_SetStatusWindowPos(IActiveIMMApp *This, HIMC hIMC, POINT *pptPos)
Definition: activeimmapp.c:598
static HRESULT WINAPI ActiveIMMMessagePumpOwner_Resume(IActiveIMMMessagePumpOwner *iface, DWORD cookie)
Definition: activeimmapp.c:876
static HRESULT WINAPI ActiveIMMApp_SetCompositionStringW(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, LPVOID pComp, DWORD dwCompLen, LPVOID pRead, DWORD dwReadLen)
Definition: activeimmapp.c:545
static HRESULT WINAPI ActiveIMMApp_GetOpenStatus(IActiveIMMApp *This, HIMC hIMC)
Definition: activeimmapp.c:362