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