ReactOS 0.4.15-dev-8222-g9164419
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
39typedef struct tagActiveIMMApp {
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,
331{
332 *pdwResult = ImmGetGuideLineA(hIMC, dwIndex, pBuf, dwBufLen);
333 return S_OK;
334}
335
337 HIMC hIMC, DWORD dwIndex, DWORD dwBufLen, LPWSTR pBuf,
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
426{
427 return ImmIsUIMessageA(hWndIME,msg,wParam,lParam);
428}
429
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
741static 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
874{
876 FIXME("(%p)->(%u): stub\n", This, cookie);
877 return E_NOTIMPL;
878}
879
880static const IActiveIMMMessagePumpOwnerVtbl ActiveIMMMessagePumpOwnerVtbl =
881{
890};
891
893{
895 if (pUnkOuter)
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}
static HRESULT WINAPI ActiveIMMApp_EscapeW(IActiveIMMApp *This, HKL hKL, HIMC hIMC, UINT uEscape, LPVOID pData, LRESULT *plResult)
Definition: activeimmapp.c:174
static HRESULT WINAPI ActiveIMMApp_DestroyContext(IActiveIMMApp *This, HIMC hIME)
Definition: activeimmapp.c:139
static HRESULT WINAPI ActiveIMMApp_GetConversionStatus(IActiveIMMApp *This, HIMC hIMC, DWORD *pfdwConversion, DWORD *pfdwSentence)
Definition: activeimmapp.c:294
static HRESULT WINAPI ActiveIMMApp_GetVirtualKey(IActiveIMMApp *This, HWND hWnd, UINT *puVirtualKey)
Definition: activeimmapp.c:397
static HRESULT WINAPI ActiveIMMMessagePumpOwner_QueryInterface(IActiveIMMMessagePumpOwner *iface, REFIID iid, LPVOID *ppvOut)
Definition: activeimmapp.c:823
static HRESULT WINAPI ActiveIMMApp_UnregisterWordA(IActiveIMMApp *This, HKL hKL, LPSTR szReading, DWORD dwStyle, LPSTR szUnregister)
Definition: activeimmapp.c:620
static HRESULT WINAPI ActiveIMMApp_InstallIMEA(IActiveIMMApp *This, LPSTR szIMEFileName, LPSTR szLayoutText, HKL *phKL)
Definition: activeimmapp.c:404
static HRESULT WINAPI ActiveIMMApp_GetRegisterWordStyleW(IActiveIMMApp *This, HKL hKL, UINT nItem, STYLEBUFW *pStyleBuf, UINT *puCopied)
Definition: activeimmapp.c:378
static HRESULT WINAPI ActiveIMMApp_NotifyIME(IActiveIMMApp *This, HIMC hIMC, DWORD dwAction, DWORD dwIndex, DWORD dwValue)
Definition: activeimmapp.c:436
static HRESULT WINAPI ActiveIMMApp_GetCompositionWindow(IActiveIMMApp *This, HIMC hIMC, COMPOSITIONFORM *pCompForm)
Definition: activeimmapp.c:258
static HRESULT WINAPI ActiveIMMApp_GetCandidateListCountW(IActiveIMMApp *This, HIMC hIMC, DWORD *pdwListSize, DWORD *pdwBufLen)
Definition: activeimmapp.c:204
static HRESULT WINAPI ActiveIMMApp_GetOpenStatus(IActiveIMMApp *This, HIMC hIMC)
Definition: activeimmapp.c:358
static HRESULT WINAPI ActiveIMMApp_UnregisterWordW(IActiveIMMApp *This, HKL hKL, LPWSTR szReading, DWORD dwStyle, LPWSTR szUnregister)
Definition: activeimmapp.c:634
static HRESULT WINAPI ActiveIMMApp_GetCompositionFontA(IActiveIMMApp *This, HIMC hIMC, LOGFONTA *plf)
Definition: activeimmapp.c:222
static HRESULT WINAPI ActiveIMMApp_GetContext(IActiveIMMApp *This, HWND hwnd, HIMC *phIMC)
Definition: activeimmapp.c:271
static HRESULT WINAPI ActiveIMMApp_SetCompositionFontW(IActiveIMMApp *This, HIMC hIMC, LOGFONTW *plf)
Definition: activeimmapp.c:514
static HRESULT WINAPI ActiveIMMMessagePumpOwner_End(IActiveIMMMessagePumpOwner *iface)
Definition: activeimmapp.c:849
static HRESULT WINAPI ActiveIMMApp_RegisterWordW(IActiveIMMApp *This, HKL hKL, LPWSTR szReading, DWORD dwStyle, LPWSTR szRegister)
Definition: activeimmapp.c:462
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
static HRESULT WINAPI ActiveIMMApp_EnumInputContext(IActiveIMMApp *This, DWORD idThread, IEnumInputContext **ppEnum)
Definition: activeimmapp.c:734
static HRESULT WINAPI ActiveIMMMessagePumpOwner_Resume(IActiveIMMMessagePumpOwner *iface, DWORD cookie)
Definition: activeimmapp.c:872
static HRESULT WINAPI ActiveIMMApp_SetCompositionFontA(IActiveIMMApp *This, HIMC hIMC, LOGFONTA *plf)
Definition: activeimmapp.c:501
static HRESULT WINAPI ActiveIMMApp_DisableIME(IActiveIMMApp *This, DWORD idThread)
Definition: activeimmapp.c:703
static HRESULT WINAPI ActiveIMMApp_Activate(IActiveIMMApp *This, BOOL fRestoreLayout)
Definition: activeimmapp.c:647
static ULONG WINAPI ActiveIMMMessagePumpOwner_AddRef(IActiveIMMMessagePumpOwner *iface)
Definition: activeimmapp.c:830
static HRESULT WINAPI ActiveIMMApp_IsUIMessageA(IActiveIMMApp *This, HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
Definition: activeimmapp.c:424
static ULONG WINAPI ActiveIMMApp_AddRef(IActiveIMMApp *iface)
Definition: activeimmapp.c:81
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
static HRESULT WINAPI ActiveIMMApp_SetOpenStatus(IActiveIMMApp *This, HIMC hIMC, BOOL fOpen)
Definition: activeimmapp.c:581
static HRESULT WINAPI ActiveIMMApp_GetLangId(IActiveIMMApp *This, HKL hKL, LANGID *plid)
Definition: activeimmapp.c:683
static HRESULT WINAPI ActiveIMMApp_GetGuideLineA(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, DWORD dwBufLen, LPSTR pBuf, DWORD *pdwResult)
Definition: activeimmapp.c:328
static HRESULT WINAPI ActiveIMMApp_GetIMEFileNameA(IActiveIMMApp *This, HKL hKL, UINT uBufLen, LPSTR szFileName, UINT *puCopied)
Definition: activeimmapp.c:344
static HRESULT WINAPI ActiveIMMApp_SetCompositionWindow(IActiveIMMApp *This, HIMC hIMC, COMPOSITIONFORM *pCompForm)
Definition: activeimmapp.c:555
static HRESULT WINAPI ActiveIMMApp_SimulateHotKey(IActiveIMMApp *This, HWND hwnd, DWORD dwHotKeyID)
Definition: activeimmapp.c:607
static HRESULT WINAPI ActiveIMMApp_GetRegisterWordStyleA(IActiveIMMApp *This, HKL hKL, UINT nItem, STYLEBUFA *pStyleBuf, UINT *puCopied)
Definition: activeimmapp.c:371
static HRESULT WINAPI ActiveIMMApp_EscapeA(IActiveIMMApp *This, HKL hKL, HIMC hIMC, UINT uEscape, LPVOID pData, LRESULT *plResult)
Definition: activeimmapp.c:167
static HRESULT WINAPI ActiveIMMApp_EnumRegisterWordW(IActiveIMMApp *This, HKL hKL, LPWSTR szReading, DWORD dwStyle, LPWSTR szRegister, LPVOID pData, IEnumRegisterWordW **pEnum)
Definition: activeimmapp.c:159
static HRESULT WINAPI ActiveIMMApp_AssociateContext(IActiveIMMApp *iface, HWND hWnd, HIMC hIME, HIMC *phPrev)
Definition: activeimmapp.c:98
static HRESULT WINAPI ActiveIMMApp_RegisterWordA(IActiveIMMApp *This, HKL hKL, LPSTR szReading, DWORD dwStyle, LPSTR szRegister)
Definition: activeimmapp.c:449
static const IActiveIMMAppVtbl ActiveIMMAppVtbl
Definition: activeimmapp.c:741
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
static HRESULT WINAPI ActiveIMMApp_ConfigureIMEA(IActiveIMMApp *This, HKL hKL, HWND hwnd, DWORD dwMode, REGISTERWORDA *pData)
Definition: activeimmapp.c:105
static HRESULT WINAPI ActiveIMMApp_ConfigureIMEW(IActiveIMMApp *This, HKL hKL, HWND hWnd, DWORD dwMode, REGISTERWORDW *pData)
Definition: activeimmapp.c:117
static HRESULT WINAPI ActiveIMMApp_GetDescriptionA(IActiveIMMApp *This, HKL hKL, UINT uBufLen, LPSTR szDescription, UINT *puCopied)
Definition: activeimmapp.c:314
static HRESULT WINAPI ActiveIMMMessagePumpOwner_Start(IActiveIMMMessagePumpOwner *iface)
Definition: activeimmapp.c:842
static HRESULT WINAPI ActiveIMMApp_GetIMEFileNameW(IActiveIMMApp *This, HKL hKL, UINT uBufLen, LPWSTR szFileName, UINT *puCopied)
Definition: activeimmapp.c:351
static HRESULT WINAPI ActiveIMMApp_FilterClientWindows(IActiveIMMApp *This, ATOM *aaClassList, UINT uSize)
Definition: activeimmapp.c:669
static HRESULT WINAPI ActiveIMMApp_ReleaseContext(IActiveIMMApp *This, HWND hWnd, HIMC hIMC)
Definition: activeimmapp.c:475
static HRESULT WINAPI ActiveIMMApp_SetCandidateWindow(IActiveIMMApp *This, HIMC hIMC, CANDIDATEFORM *pCandidate)
Definition: activeimmapp.c:488
static const IActiveIMMMessagePumpOwnerVtbl ActiveIMMMessagePumpOwnerVtbl
Definition: activeimmapp.c:880
static HRESULT WINAPI ActiveIMMApp_InstallIMEW(IActiveIMMApp *This, LPWSTR szIMEFileName, LPWSTR szLayoutText, HKL *phKL)
Definition: activeimmapp.c:411
static void ActiveIMMApp_Destructor(ActiveIMMApp *This)
Definition: activeimmapp.c:50
static HRESULT WINAPI ActiveIMMApp_GetCodePageA(IActiveIMMApp *This, HKL hKL, UINT *uCodePage)
Definition: activeimmapp.c:676
static HRESULT WINAPI ActiveIMMApp_GetDescriptionW(IActiveIMMApp *This, HKL hKL, UINT uBufLen, LPWSTR szDescription, UINT *puCopied)
Definition: activeimmapp.c:321
static HRESULT WINAPI ActiveIMMApp_GetProperty(IActiveIMMApp *This, HKL hKL, DWORD fdwIndex, DWORD *pdwProperty)
Definition: activeimmapp.c:364
static HRESULT WINAPI ActiveIMMApp_GetCompositionFontW(IActiveIMMApp *This, HIMC hIMC, LOGFONTW *plf)
Definition: activeimmapp.c:233
static HRESULT WINAPI ActiveIMMApp_EnumRegisterWordA(IActiveIMMApp *This, HKL hKL, LPSTR szReading, DWORD dwStyle, LPSTR szRegister, LPVOID pData, IEnumRegisterWordA **pEnum)
Definition: activeimmapp.c:151
static ULONG WINAPI ActiveIMMMessagePumpOwner_Release(IActiveIMMMessagePumpOwner *iface)
Definition: activeimmapp.c:836
static HRESULT WINAPI ActiveIMMApp_SetCompositionStringA(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, LPVOID pComp, DWORD dwCompLen, LPVOID pRead, DWORD dwReadLen)
Definition: activeimmapp.c:527
static ActiveIMMApp * impl_from_IActiveIMMApp(IActiveIMMApp *iface)
Definition: activeimmapp.c:45
static HRESULT WINAPI ActiveIMMApp_GetGuideLineW(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, DWORD dwBufLen, LPWSTR pBuf, DWORD *pdwResult)
Definition: activeimmapp.c:336
static HRESULT WINAPI ActiveIMMApp_GetCompositionStringW(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, DWORD dwBufLen, LONG *plCopied, LPVOID pBuf)
Definition: activeimmapp.c:251
static HRESULT WINAPI ActiveIMMApp_OnDefWindowProc(IActiveIMMApp *This, HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, LRESULT *plResult)
Definition: activeimmapp.c:660
static HRESULT WINAPI ActiveIMMApp_IsIME(IActiveIMMApp *This, HKL hKL)
Definition: activeimmapp.c:418
static ULONG WINAPI ActiveIMMApp_Release(IActiveIMMApp *iface)
Definition: activeimmapp.c:87
static HRESULT WINAPI ActiveIMMApp_GetStatusWindowPos(IActiveIMMApp *This, HIMC hIMC, POINT *pptPos)
Definition: activeimmapp.c:385
static HRESULT WINAPI ActiveIMMApp_IsUIMessageW(IActiveIMMApp *This, HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
Definition: activeimmapp.c:430
static HRESULT WINAPI ActiveIMMMessagePumpOwner_Pause(IActiveIMMMessagePumpOwner *iface, DWORD *cookie)
Definition: activeimmapp.c:864
static HRESULT WINAPI ActiveIMMApp_CreateContext(IActiveIMMApp *This, HIMC *phIMC)
Definition: activeimmapp.c:129
static HRESULT WINAPI ActiveIMMApp_GetCandidateListCountA(IActiveIMMApp *This, HIMC hIMC, DWORD *pdwListSize, DWORD *pdwBufLen)
Definition: activeimmapp.c:197
static HRESULT WINAPI ActiveIMMApp_AssociateContextEx(IActiveIMMApp *This, HWND hWnd, HIMC hIMC, DWORD dwFlags)
Definition: activeimmapp.c:690
static HRESULT WINAPI ActiveIMMApp_GetCandidateListW(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, UINT uBufLen, CANDIDATELIST *pCandList, UINT *puCopied)
Definition: activeimmapp.c:189
static HRESULT WINAPI ActiveIMMApp_Deactivate(IActiveIMMApp *This)
Definition: activeimmapp.c:654
static HRESULT WINAPI ActiveIMMApp_SetConversionStatus(IActiveIMMApp *This, HIMC hIMC, DWORD fdwConversion, DWORD fdwSentence)
Definition: activeimmapp.c:568
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 ActiveIMMApp_SetCompositionStringW(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, LPVOID pComp, DWORD dwCompLen, LPVOID pRead, DWORD dwReadLen)
Definition: activeimmapp.c:541
DECLSPEC_HIDDEN HRESULT ActiveIMMApp_Constructor(IUnknown *pUnkOuter, IUnknown **ppOut)
Definition: activeimmapp.c:892
static HRESULT WINAPI ActiveIMMApp_GetDefaultIMEWnd(IActiveIMMApp *This, HWND hWnd, HWND *phDefWnd)
Definition: activeimmapp.c:307
static HRESULT WINAPI ActiveIMMApp_GetCandidateListA(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, UINT uBufLen, CANDIDATELIST *pCandList, UINT *puCopied)
Definition: activeimmapp.c:181
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_QueryInterface(IActiveIMMApp *iface, REFIID iid, LPVOID *ppvOut)
Definition: activeimmapp.c:56
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
static ActiveIMMApp * impl_from_IActiveIMMMessagePumpOwner(IActiveIMMMessagePumpOwner *iface)
Definition: activeimmapp.c:818
static HRESULT WINAPI ActiveIMMApp_GetCandidateWindow(IActiveIMMApp *This, HIMC hIMC, DWORD dwIndex, CANDIDATEFORM *pCandidate)
Definition: activeimmapp.c:211
struct tagActiveIMMApp ActiveIMMApp
#define InterlockedIncrement
Definition: armddk.h:53
#define InterlockedDecrement
Definition: armddk.h:52
#define msg(x)
Definition: auth_time.c:54
HWND hWnd
Definition: settings.c:17
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
Definition: precomp.h:23
const GUID IID_IUnknown
#define FIXME(fmt,...)
Definition: debug.h:114
#define WARN(fmt,...)
Definition: debug.h:115
DWORD WINAPI ImmGetCandidateListCountA(HIMC hIMC, LPDWORD lpdwListCount)
Definition: candidate.c:351
DWORD WINAPI ImmGetCandidateListW(HIMC hIMC, DWORD dwIndex, LPCANDIDATELIST lpCandList, DWORD dwBufLen)
Definition: candidate.c:368
BOOL WINAPI ImmSetCandidateWindow(HIMC hIMC, LPCANDIDATEFORM lpCandidate)
Definition: candidate.c:410
BOOL WINAPI ImmGetCandidateWindow(HIMC hIMC, DWORD dwIndex, LPCANDIDATEFORM lpCandidate)
Definition: candidate.c:377
DWORD WINAPI ImmGetCandidateListA(HIMC hIMC, DWORD dwIndex, LPCANDIDATELIST lpCandList, DWORD dwBufLen)
Definition: candidate.c:343
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
struct @1643 Msg[]
LONG WINAPI ImmGetCompositionStringW(HIMC hIMC, DWORD dwIndex, LPVOID lpBuf, DWORD dwBufLen)
Definition: compstr.c:899
BOOL WINAPI ImmSetCompositionStringA(HIMC hIMC, DWORD dwIndex, LPVOID lpComp, DWORD dwCompLen, LPVOID lpRead, DWORD dwReadLen)
Definition: compstr.c:943
LONG WINAPI ImmGetCompositionStringA(HIMC hIMC, DWORD dwIndex, LPVOID lpBuf, DWORD dwBufLen)
Definition: compstr.c:856
BOOL WINAPI ImmSetCompositionStringW(HIMC hIMC, DWORD dwIndex, LPVOID lpComp, DWORD dwCompLen, LPVOID lpRead, DWORD dwReadLen)
Definition: compstr.c:955
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define E_NOTIMPL
Definition: ddrawi.h:99
#define E_FAIL
Definition: ddrawi.h:102
WORD ATOM
Definition: dimm.idl:113
DWORD HIMC
Definition: dimm.idl:75
#define NULL
Definition: types.h:112
static const WCHAR szDescription[]
Definition: provider.c:55
#define DECLSPEC_HIDDEN
Definition: precomp.h:8
#define GetProcessHeap()
Definition: compat.h:736
#define HeapAlloc
Definition: compat.h:733
#define HeapFree(x, y, z)
Definition: compat.h:735
#define HEAP_ZERO_MEMORY
Definition: compat.h:134
BOOL WINAPI ImmGetCompositionWindow(HIMC hIMC, LPCOMPOSITIONFORM lpCompForm)
Definition: ime.c:1559
BOOL WINAPI ImmSetCompositionFontW(HIMC hIMC, LPLOGFONTW lplf)
Definition: ime.c:1744
BOOL WINAPI ImmIsIME(HKL hKL)
Definition: ime.c:880
LRESULT WINAPI ImmEscapeA(HKL hKL, HIMC hIMC, UINT uSubFunc, LPVOID lpData)
Definition: ime.c:1277
BOOL WINAPI ImmConfigureIMEA(HKL hKL, HWND hWnd, DWORD dwMode, LPVOID lpData)
Definition: ime.c:2000
BOOL WINAPI ImmGetCompositionFontA(HIMC hIMC, LPLOGFONTA lplf)
Definition: ime.c:1615
HWND WINAPI ImmGetDefaultIMEWnd(HWND hWnd)
Definition: ime.c:890
BOOL WINAPI ImmSetCompositionFontA(HIMC hIMC, LPLOGFONTA lplf)
Definition: ime.c:1688
UINT WINAPI ImmGetDescriptionA(HKL hKL, LPSTR lpszDescription, UINT uBufLen)
Definition: ime.c:1082
UINT WINAPI ImmGetIMEFileNameA(HKL hKL, LPSTR lpszFileName, UINT uBufLen)
Definition: ime.c:1141
DWORD WINAPI ImmGetConversionListA(HKL hKL, HIMC hIMC, LPCSTR pSrc, LPCANDIDATELIST lpDst, DWORD dwBufLen, UINT uFlag)
Definition: ime.c:1801
BOOL WINAPI ImmDisableIME(DWORD dwThreadId)
Definition: ime.c:1074
BOOL WINAPI ImmConfigureIMEW(HKL hKL, HWND hWnd, DWORD dwMode, LPVOID lpData)
Definition: ime.c:2055
HKL WINAPI ImmInstallIMEW(LPCWSTR lpszIMEFileName, LPCWSTR lpszLayoutText)
Definition: ime.c:774
BOOL WINAPI ImmGetOpenStatus(HIMC hIMC)
Definition: ime.c:1443
BOOL WINAPI ImmSetConversionStatus(HIMC hIMC, DWORD fdwConversion, DWORD fdwSentence)
Definition: ime.c:1941
DWORD WINAPI ImmGetImeMenuItemsW(HIMC hIMC, DWORD dwFlags, DWORD dwType, LPIMEMENUITEMINFOW lpImeParentMenu, LPIMEMENUITEMINFOW lpImeMenu, DWORD dwSize)
Definition: ime.c:2124
BOOL WINAPI ImmSetStatusWindowPos(HIMC hIMC, LPPOINT lpptPos)
Definition: ime.c:1531
BOOL WINAPI ImmGetStatusWindowPos(HIMC hIMC, LPPOINT lpptPos)
Definition: ime.c:1509
UINT WINAPI ImmGetDescriptionW(HKL hKL, LPWSTR lpszDescription, UINT uBufLen)
Definition: ime.c:1112
LRESULT WINAPI ImmEscapeW(HKL hKL, HIMC hIMC, UINT uSubFunc, LPVOID lpData)
Definition: ime.c:1365
DWORD WINAPI ImmGetImeMenuItemsA(HIMC hIMC, DWORD dwFlags, DWORD dwType, LPIMEMENUITEMINFOA lpImeParentMenu, LPIMEMENUITEMINFOA lpImeMenu, DWORD dwSize)
Definition: ime.c:2111
BOOL WINAPI ImmNotifyIME(HIMC hIMC, DWORD dwAction, DWORD dwIndex, DWORD_PTR dwValue)
Definition: ime.c:907
HKL WINAPI ImmInstallIMEA(LPCSTR lpszIMEFileName, LPCSTR lpszLayoutText)
Definition: ime.c:748
DWORD WINAPI ImmGetProperty(HKL hKL, DWORD fdwIndex)
Definition: ime.c:1221
UINT WINAPI ImmGetIMEFileNameW(HKL hKL, LPWSTR lpszFileName, UINT uBufLen)
Definition: ime.c:1182
BOOL WINAPI ImmGetConversionStatus(HIMC hIMC, LPDWORD lpfdwConversion, LPDWORD lpfdwSentence)
Definition: ime.c:1912
BOOL WINAPI ImmSetOpenStatus(HIMC hIMC, BOOL fOpen)
Definition: ime.c:1466
BOOL WINAPI ImmSetCompositionWindow(HIMC hIMC, LPCOMPOSITIONFORM lpCompForm)
Definition: ime.c:1583
DWORD WINAPI ImmGetConversionListW(HKL hKL, HIMC hIMC, LPCWSTR pSrc, LPCANDIDATELIST lpDst, DWORD dwBufLen, UINT uFlag)
Definition: ime.c:1857
BOOL WINAPI ImmGetCompositionFontW(HIMC hIMC, LPLOGFONTW lplf)
Definition: ime.c:1651
HIMC WINAPI ImmCreateContext(void)
Definition: imm.c:590
HIMC WINAPI ImmGetContext(HWND hWnd)
Definition: imm.c:1044
BOOL WINAPI ImmAssociateContextEx(HWND hWnd, HIMC hIMC, DWORD dwFlags)
Definition: imm.c:540
BOOL WINAPI ImmDestroyContext(HIMC hIMC)
Definition: imm.c:915
BOOL WINAPI ImmReleaseContext(HWND hWnd, HIMC hIMC)
Definition: imm.c:1085
HIMC WINAPI ImmAssociateContext(HWND hWnd, HIMC hIMC)
Definition: imm.c:491
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD WINAPI ImmGetGuideLineA(HIMC hIMC, DWORD dwIndex, LPSTR lpBuf, DWORD dwBufLen)
Definition: guideline.c:190
DWORD WINAPI ImmGetGuideLineW(HIMC hIMC, DWORD dwIndex, LPWSTR lpBuf, DWORD dwBufLen)
Definition: guideline.c:199
#define S_OK
Definition: intsafe.h:52
#define debugstr_guid
Definition: kernel32.h:35
UINT WINAPI ImmGetVirtualKey(HWND hWnd)
Definition: keymsg.c:671
BOOL WINAPI ImmIsUIMessageW(HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
Definition: keymsg.c:619
BOOL WINAPI ImmIsUIMessageA(HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
Definition: keymsg.c:610
BOOL WINAPI ImmSimulateHotKey(HWND hWnd, DWORD dwHotKeyID)
Definition: keymsg.c:651
USHORT LANGID
Definition: mui.h:9
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
Definition: env.c:56
UINT_PTR HKL
Definition: msctf.idl:143
unsigned int UINT
Definition: ndis.h:50
_In_ UINT _In_ DWORD _Out_ DWORD * pdwResult
Definition: ntgdi.h:250
long LONG
Definition: pedump.c:60
#define IsEqualIID(riid1, riid2)
Definition: guiddef.h:95
#define REFIID
Definition: guiddef.h:118
BOOL WINAPI ImmRegisterWordW(HKL hKL, LPCWSTR lpszReading, DWORD dwStyle, LPCWSTR lpszRegister)
Definition: regword.c:375
BOOL WINAPI ImmUnregisterWordA(HKL hKL, LPCSTR lpszReading, DWORD dwStyle, LPCSTR lpszUnregister)
Definition: regword.c:423
UINT WINAPI ImmGetRegisterWordStyleA(HKL hKL, UINT nItem, LPSTYLEBUFA lpStyleBuf)
Definition: regword.c:209
BOOL WINAPI ImmRegisterWordA(HKL hKL, LPCSTR lpszReading, DWORD dwStyle, LPCSTR lpszRegister)
Definition: regword.c:327
BOOL WINAPI ImmUnregisterWordW(HKL hKL, LPCWSTR lpszReading, DWORD dwStyle, LPCWSTR lpszUnregister)
Definition: regword.c:471
UINT WINAPI ImmGetRegisterWordStyleW(HKL hKL, UINT nItem, LPSTYLEBUFW lpStyleBuf)
Definition: regword.c:268
#define TRACE(s)
Definition: solgame.cpp:4
Definition: cookie.c:34
IActiveIMMMessagePumpOwner IActiveIMMMessagePumpOwner_iface
Definition: activeimmapp.c:41
IActiveIMMApp IActiveIMMApp_iface
Definition: activeimmapp.c:40
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
Definition: twain.h:1830
TW_UINT32 TW_UINT16 TW_UINT16 MSG
Definition: twain.h:1829
#define CONTAINING_RECORD(address, type, field)
Definition: typedefs.h:260
uint32_t ULONG
Definition: typedefs.h:59
int ret
_In_ HCRYPTHASH _In_ BOOL _In_ DWORD _Inout_ DWORD _In_ DWORD dwBufLen
Definition: wincrypt.h:4246
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
LONG_PTR LPARAM
Definition: windef.h:208
LONG_PTR LRESULT
Definition: windef.h:209
UINT_PTR WPARAM
Definition: windef.h:207
#define WINAPI
Definition: msvc.h:6
#define E_NOINTERFACE
Definition: winerror.h:2364
#define CLASS_E_NOAGGREGATION
Definition: winerror.h:2662
char * LPSTR
Definition: xmlstorage.h:182
WCHAR * LPWSTR
Definition: xmlstorage.h:184