source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/ctfutb.h@ 1181

Last change on this file since 1181 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 34.4 KB
Line 
1/*** Autogenerated by WIDL 6.4 from include/ctfutb.idl - Do not edit ***/
2
3#ifdef _WIN32
4#ifndef __REQUIRED_RPCNDR_H_VERSION__
5#define __REQUIRED_RPCNDR_H_VERSION__ 475
6#endif
7#include <rpc.h>
8#include <rpcndr.h>
9#endif
10
11#ifndef COM_NO_WINDOWS_H
12#include <windows.h>
13#include <ole2.h>
14#endif
15
16#ifndef __ctfutb_h__
17#define __ctfutb_h__
18
19/* Forward declarations */
20
21#ifndef __ITfLangBarItem_FWD_DEFINED__
22#define __ITfLangBarItem_FWD_DEFINED__
23typedef interface ITfLangBarItem ITfLangBarItem;
24#ifdef __cplusplus
25interface ITfLangBarItem;
26#endif /* __cplusplus */
27#endif
28
29#ifndef __IEnumTfLangBarItems_FWD_DEFINED__
30#define __IEnumTfLangBarItems_FWD_DEFINED__
31typedef interface IEnumTfLangBarItems IEnumTfLangBarItems;
32#ifdef __cplusplus
33interface IEnumTfLangBarItems;
34#endif /* __cplusplus */
35#endif
36
37#ifndef __ITfLangBarItemSink_FWD_DEFINED__
38#define __ITfLangBarItemSink_FWD_DEFINED__
39typedef interface ITfLangBarItemSink ITfLangBarItemSink;
40#ifdef __cplusplus
41interface ITfLangBarItemSink;
42#endif /* __cplusplus */
43#endif
44
45#ifndef __ITfLangBarItemMgr_FWD_DEFINED__
46#define __ITfLangBarItemMgr_FWD_DEFINED__
47typedef interface ITfLangBarItemMgr ITfLangBarItemMgr;
48#ifdef __cplusplus
49interface ITfLangBarItemMgr;
50#endif /* __cplusplus */
51#endif
52
53#ifndef __ITfLangBarMgr_FWD_DEFINED__
54#define __ITfLangBarMgr_FWD_DEFINED__
55typedef interface ITfLangBarMgr ITfLangBarMgr;
56#ifdef __cplusplus
57interface ITfLangBarMgr;
58#endif /* __cplusplus */
59#endif
60
61#ifndef __ITfLangBarEventSink_FWD_DEFINED__
62#define __ITfLangBarEventSink_FWD_DEFINED__
63typedef interface ITfLangBarEventSink ITfLangBarEventSink;
64#ifdef __cplusplus
65interface ITfLangBarEventSink;
66#endif /* __cplusplus */
67#endif
68
69/* Headers for imported files */
70
71#include <oaidl.h>
72
73#ifdef __cplusplus
74extern "C" {
75#endif
76
77#ifndef __ITfLangBarEventSink_FWD_DEFINED__
78#define __ITfLangBarEventSink_FWD_DEFINED__
79typedef interface ITfLangBarEventSink ITfLangBarEventSink;
80#ifdef __cplusplus
81interface ITfLangBarEventSink;
82#endif /* __cplusplus */
83#endif
84
85#ifndef __ITfLangBarItemMgr_FWD_DEFINED__
86#define __ITfLangBarItemMgr_FWD_DEFINED__
87typedef interface ITfLangBarItemMgr ITfLangBarItemMgr;
88#ifdef __cplusplus
89interface ITfLangBarItemMgr;
90#endif /* __cplusplus */
91#endif
92
93#ifndef __ITfInputProcessorProfiles_FWD_DEFINED__
94#define __ITfInputProcessorProfiles_FWD_DEFINED__
95typedef interface ITfInputProcessorProfiles ITfInputProcessorProfiles;
96#ifdef __cplusplus
97interface ITfInputProcessorProfiles;
98#endif /* __cplusplus */
99#endif
100
101#define TF_LBI_DESC_MAXLEN (32)
102
103typedef struct TF_LANGBARITEMINFO {
104 CLSID clsidService;
105 GUID guidItem;
106 DWORD dwStyle;
107 ULONG ulSort;
108 WCHAR szDescription[32];
109} TF_LANGBARITEMINFO;
110/*****************************************************************************
111 * ITfLangBarItem interface
112 */
113#ifndef __ITfLangBarItem_INTERFACE_DEFINED__
114#define __ITfLangBarItem_INTERFACE_DEFINED__
115
116DEFINE_GUID(IID_ITfLangBarItem, 0x73540d69, 0xedeb, 0x4ee9, 0x96,0xc9, 0x23,0xaa,0x30,0xb2,0x59,0x16);
117#if defined(__cplusplus) && !defined(CINTERFACE)
118MIDL_INTERFACE("73540d69-edeb-4ee9-96c9-23aa30b25916")
119ITfLangBarItem : public IUnknown
120{
121 virtual HRESULT STDMETHODCALLTYPE GetInfo(
122 TF_LANGBARITEMINFO *pInfo) = 0;
123
124 virtual HRESULT STDMETHODCALLTYPE GetStatus(
125 DWORD *pdwStatus) = 0;
126
127 virtual HRESULT STDMETHODCALLTYPE Show(
128 WINBOOL fShow) = 0;
129
130 virtual HRESULT STDMETHODCALLTYPE GetTooltipString(
131 BSTR *pbstrToolTip) = 0;
132
133};
134#ifdef __CRT_UUID_DECL
135__CRT_UUID_DECL(ITfLangBarItem, 0x73540d69, 0xedeb, 0x4ee9, 0x96,0xc9, 0x23,0xaa,0x30,0xb2,0x59,0x16)
136#endif
137#else
138typedef struct ITfLangBarItemVtbl {
139 BEGIN_INTERFACE
140
141 /*** IUnknown methods ***/
142 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
143 ITfLangBarItem *This,
144 REFIID riid,
145 void **ppvObject);
146
147 ULONG (STDMETHODCALLTYPE *AddRef)(
148 ITfLangBarItem *This);
149
150 ULONG (STDMETHODCALLTYPE *Release)(
151 ITfLangBarItem *This);
152
153 /*** ITfLangBarItem methods ***/
154 HRESULT (STDMETHODCALLTYPE *GetInfo)(
155 ITfLangBarItem *This,
156 TF_LANGBARITEMINFO *pInfo);
157
158 HRESULT (STDMETHODCALLTYPE *GetStatus)(
159 ITfLangBarItem *This,
160 DWORD *pdwStatus);
161
162 HRESULT (STDMETHODCALLTYPE *Show)(
163 ITfLangBarItem *This,
164 WINBOOL fShow);
165
166 HRESULT (STDMETHODCALLTYPE *GetTooltipString)(
167 ITfLangBarItem *This,
168 BSTR *pbstrToolTip);
169
170 END_INTERFACE
171} ITfLangBarItemVtbl;
172
173interface ITfLangBarItem {
174 CONST_VTBL ITfLangBarItemVtbl* lpVtbl;
175};
176
177#ifdef COBJMACROS
178#ifndef WIDL_C_INLINE_WRAPPERS
179/*** IUnknown methods ***/
180#define ITfLangBarItem_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
181#define ITfLangBarItem_AddRef(This) (This)->lpVtbl->AddRef(This)
182#define ITfLangBarItem_Release(This) (This)->lpVtbl->Release(This)
183/*** ITfLangBarItem methods ***/
184#define ITfLangBarItem_GetInfo(This,pInfo) (This)->lpVtbl->GetInfo(This,pInfo)
185#define ITfLangBarItem_GetStatus(This,pdwStatus) (This)->lpVtbl->GetStatus(This,pdwStatus)
186#define ITfLangBarItem_Show(This,fShow) (This)->lpVtbl->Show(This,fShow)
187#define ITfLangBarItem_GetTooltipString(This,pbstrToolTip) (This)->lpVtbl->GetTooltipString(This,pbstrToolTip)
188#else
189/*** IUnknown methods ***/
190static FORCEINLINE HRESULT ITfLangBarItem_QueryInterface(ITfLangBarItem* This,REFIID riid,void **ppvObject) {
191 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
192}
193static FORCEINLINE ULONG ITfLangBarItem_AddRef(ITfLangBarItem* This) {
194 return This->lpVtbl->AddRef(This);
195}
196static FORCEINLINE ULONG ITfLangBarItem_Release(ITfLangBarItem* This) {
197 return This->lpVtbl->Release(This);
198}
199/*** ITfLangBarItem methods ***/
200static FORCEINLINE HRESULT ITfLangBarItem_GetInfo(ITfLangBarItem* This,TF_LANGBARITEMINFO *pInfo) {
201 return This->lpVtbl->GetInfo(This,pInfo);
202}
203static FORCEINLINE HRESULT ITfLangBarItem_GetStatus(ITfLangBarItem* This,DWORD *pdwStatus) {
204 return This->lpVtbl->GetStatus(This,pdwStatus);
205}
206static FORCEINLINE HRESULT ITfLangBarItem_Show(ITfLangBarItem* This,WINBOOL fShow) {
207 return This->lpVtbl->Show(This,fShow);
208}
209static FORCEINLINE HRESULT ITfLangBarItem_GetTooltipString(ITfLangBarItem* This,BSTR *pbstrToolTip) {
210 return This->lpVtbl->GetTooltipString(This,pbstrToolTip);
211}
212#endif
213#endif
214
215#endif
216
217
218#endif /* __ITfLangBarItem_INTERFACE_DEFINED__ */
219
220/*****************************************************************************
221 * IEnumTfLangBarItems interface
222 */
223#ifndef __IEnumTfLangBarItems_INTERFACE_DEFINED__
224#define __IEnumTfLangBarItems_INTERFACE_DEFINED__
225
226DEFINE_GUID(IID_IEnumTfLangBarItems, 0x583f34d0, 0xde25, 0x11d2, 0xaf,0xdd, 0x00,0x10,0x5a,0x27,0x99,0xb5);
227#if defined(__cplusplus) && !defined(CINTERFACE)
228MIDL_INTERFACE("583f34d0-de25-11d2-afdd-00105a2799b5")
229IEnumTfLangBarItems : public IUnknown
230{
231 virtual HRESULT STDMETHODCALLTYPE Clone(
232 IEnumTfLangBarItems **ppEnum) = 0;
233
234 virtual HRESULT STDMETHODCALLTYPE Next(
235 ULONG ulCount,
236 ITfLangBarItem **ppItem,
237 ULONG *pcFetched) = 0;
238
239 virtual HRESULT STDMETHODCALLTYPE Reset(
240 ) = 0;
241
242 virtual HRESULT STDMETHODCALLTYPE Skip(
243 ULONG ulCount) = 0;
244
245};
246#ifdef __CRT_UUID_DECL
247__CRT_UUID_DECL(IEnumTfLangBarItems, 0x583f34d0, 0xde25, 0x11d2, 0xaf,0xdd, 0x00,0x10,0x5a,0x27,0x99,0xb5)
248#endif
249#else
250typedef struct IEnumTfLangBarItemsVtbl {
251 BEGIN_INTERFACE
252
253 /*** IUnknown methods ***/
254 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
255 IEnumTfLangBarItems *This,
256 REFIID riid,
257 void **ppvObject);
258
259 ULONG (STDMETHODCALLTYPE *AddRef)(
260 IEnumTfLangBarItems *This);
261
262 ULONG (STDMETHODCALLTYPE *Release)(
263 IEnumTfLangBarItems *This);
264
265 /*** IEnumTfLangBarItems methods ***/
266 HRESULT (STDMETHODCALLTYPE *Clone)(
267 IEnumTfLangBarItems *This,
268 IEnumTfLangBarItems **ppEnum);
269
270 HRESULT (STDMETHODCALLTYPE *Next)(
271 IEnumTfLangBarItems *This,
272 ULONG ulCount,
273 ITfLangBarItem **ppItem,
274 ULONG *pcFetched);
275
276 HRESULT (STDMETHODCALLTYPE *Reset)(
277 IEnumTfLangBarItems *This);
278
279 HRESULT (STDMETHODCALLTYPE *Skip)(
280 IEnumTfLangBarItems *This,
281 ULONG ulCount);
282
283 END_INTERFACE
284} IEnumTfLangBarItemsVtbl;
285
286interface IEnumTfLangBarItems {
287 CONST_VTBL IEnumTfLangBarItemsVtbl* lpVtbl;
288};
289
290#ifdef COBJMACROS
291#ifndef WIDL_C_INLINE_WRAPPERS
292/*** IUnknown methods ***/
293#define IEnumTfLangBarItems_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
294#define IEnumTfLangBarItems_AddRef(This) (This)->lpVtbl->AddRef(This)
295#define IEnumTfLangBarItems_Release(This) (This)->lpVtbl->Release(This)
296/*** IEnumTfLangBarItems methods ***/
297#define IEnumTfLangBarItems_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum)
298#define IEnumTfLangBarItems_Next(This,ulCount,ppItem,pcFetched) (This)->lpVtbl->Next(This,ulCount,ppItem,pcFetched)
299#define IEnumTfLangBarItems_Reset(This) (This)->lpVtbl->Reset(This)
300#define IEnumTfLangBarItems_Skip(This,ulCount) (This)->lpVtbl->Skip(This,ulCount)
301#else
302/*** IUnknown methods ***/
303static FORCEINLINE HRESULT IEnumTfLangBarItems_QueryInterface(IEnumTfLangBarItems* This,REFIID riid,void **ppvObject) {
304 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
305}
306static FORCEINLINE ULONG IEnumTfLangBarItems_AddRef(IEnumTfLangBarItems* This) {
307 return This->lpVtbl->AddRef(This);
308}
309static FORCEINLINE ULONG IEnumTfLangBarItems_Release(IEnumTfLangBarItems* This) {
310 return This->lpVtbl->Release(This);
311}
312/*** IEnumTfLangBarItems methods ***/
313static FORCEINLINE HRESULT IEnumTfLangBarItems_Clone(IEnumTfLangBarItems* This,IEnumTfLangBarItems **ppEnum) {
314 return This->lpVtbl->Clone(This,ppEnum);
315}
316static FORCEINLINE HRESULT IEnumTfLangBarItems_Next(IEnumTfLangBarItems* This,ULONG ulCount,ITfLangBarItem **ppItem,ULONG *pcFetched) {
317 return This->lpVtbl->Next(This,ulCount,ppItem,pcFetched);
318}
319static FORCEINLINE HRESULT IEnumTfLangBarItems_Reset(IEnumTfLangBarItems* This) {
320 return This->lpVtbl->Reset(This);
321}
322static FORCEINLINE HRESULT IEnumTfLangBarItems_Skip(IEnumTfLangBarItems* This,ULONG ulCount) {
323 return This->lpVtbl->Skip(This,ulCount);
324}
325#endif
326#endif
327
328#endif
329
330
331#endif /* __IEnumTfLangBarItems_INTERFACE_DEFINED__ */
332
333/*****************************************************************************
334 * ITfLangBarItemSink interface
335 */
336#ifndef __ITfLangBarItemSink_INTERFACE_DEFINED__
337#define __ITfLangBarItemSink_INTERFACE_DEFINED__
338
339DEFINE_GUID(IID_ITfLangBarItemSink, 0x57dbe1a0, 0xde25, 0x11d2, 0xaf,0xdd, 0x00,0x10,0x5a,0x27,0x99,0xb5);
340#if defined(__cplusplus) && !defined(CINTERFACE)
341MIDL_INTERFACE("57dbe1a0-de25-11d2-afdd-00105a2799b5")
342ITfLangBarItemSink : public IUnknown
343{
344 virtual HRESULT STDMETHODCALLTYPE OnUpdate(
345 DWORD dwFlags) = 0;
346
347};
348#ifdef __CRT_UUID_DECL
349__CRT_UUID_DECL(ITfLangBarItemSink, 0x57dbe1a0, 0xde25, 0x11d2, 0xaf,0xdd, 0x00,0x10,0x5a,0x27,0x99,0xb5)
350#endif
351#else
352typedef struct ITfLangBarItemSinkVtbl {
353 BEGIN_INTERFACE
354
355 /*** IUnknown methods ***/
356 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
357 ITfLangBarItemSink *This,
358 REFIID riid,
359 void **ppvObject);
360
361 ULONG (STDMETHODCALLTYPE *AddRef)(
362 ITfLangBarItemSink *This);
363
364 ULONG (STDMETHODCALLTYPE *Release)(
365 ITfLangBarItemSink *This);
366
367 /*** ITfLangBarItemSink methods ***/
368 HRESULT (STDMETHODCALLTYPE *OnUpdate)(
369 ITfLangBarItemSink *This,
370 DWORD dwFlags);
371
372 END_INTERFACE
373} ITfLangBarItemSinkVtbl;
374
375interface ITfLangBarItemSink {
376 CONST_VTBL ITfLangBarItemSinkVtbl* lpVtbl;
377};
378
379#ifdef COBJMACROS
380#ifndef WIDL_C_INLINE_WRAPPERS
381/*** IUnknown methods ***/
382#define ITfLangBarItemSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
383#define ITfLangBarItemSink_AddRef(This) (This)->lpVtbl->AddRef(This)
384#define ITfLangBarItemSink_Release(This) (This)->lpVtbl->Release(This)
385/*** ITfLangBarItemSink methods ***/
386#define ITfLangBarItemSink_OnUpdate(This,dwFlags) (This)->lpVtbl->OnUpdate(This,dwFlags)
387#else
388/*** IUnknown methods ***/
389static FORCEINLINE HRESULT ITfLangBarItemSink_QueryInterface(ITfLangBarItemSink* This,REFIID riid,void **ppvObject) {
390 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
391}
392static FORCEINLINE ULONG ITfLangBarItemSink_AddRef(ITfLangBarItemSink* This) {
393 return This->lpVtbl->AddRef(This);
394}
395static FORCEINLINE ULONG ITfLangBarItemSink_Release(ITfLangBarItemSink* This) {
396 return This->lpVtbl->Release(This);
397}
398/*** ITfLangBarItemSink methods ***/
399static FORCEINLINE HRESULT ITfLangBarItemSink_OnUpdate(ITfLangBarItemSink* This,DWORD dwFlags) {
400 return This->lpVtbl->OnUpdate(This,dwFlags);
401}
402#endif
403#endif
404
405#endif
406
407
408#endif /* __ITfLangBarItemSink_INTERFACE_DEFINED__ */
409
410/*****************************************************************************
411 * ITfLangBarItemMgr interface
412 */
413#ifndef __ITfLangBarItemMgr_INTERFACE_DEFINED__
414#define __ITfLangBarItemMgr_INTERFACE_DEFINED__
415
416DEFINE_GUID(IID_ITfLangBarItemMgr, 0xba468c55, 0x9956, 0x4fb1, 0xa5,0x9d, 0x52,0xa7,0xdd,0x7c,0xc6,0xaa);
417#if defined(__cplusplus) && !defined(CINTERFACE)
418MIDL_INTERFACE("ba468c55-9956-4fb1-a59d-52a7dd7cc6aa")
419ITfLangBarItemMgr : public IUnknown
420{
421 virtual HRESULT STDMETHODCALLTYPE EnumItems(
422 IEnumTfLangBarItems **ppEnum) = 0;
423
424 virtual HRESULT STDMETHODCALLTYPE GetItem(
425 REFGUID rguid,
426 ITfLangBarItem **ppItem) = 0;
427
428 virtual HRESULT STDMETHODCALLTYPE AddItem(
429 ITfLangBarItem *punk) = 0;
430
431 virtual HRESULT STDMETHODCALLTYPE RemoveItem(
432 ITfLangBarItem *punk) = 0;
433
434 virtual HRESULT STDMETHODCALLTYPE AdviseItemSink(
435 ITfLangBarItemSink *punk,
436 DWORD *pdwCookie,
437 REFGUID rguidItem) = 0;
438
439 virtual HRESULT STDMETHODCALLTYPE UnadviseItemSink(
440 DWORD dwCookie) = 0;
441
442 virtual HRESULT STDMETHODCALLTYPE GetItemFloatingRect(
443 DWORD dwThreadId,
444 REFGUID rguid,
445 RECT *prc) = 0;
446
447 virtual HRESULT STDMETHODCALLTYPE GetItemsStatus(
448 ULONG ulCount,
449 const GUID *prgguid,
450 DWORD *pdwStatus) = 0;
451
452 virtual HRESULT STDMETHODCALLTYPE GetItemNum(
453 ULONG *pulCount) = 0;
454
455 virtual HRESULT STDMETHODCALLTYPE GetItems(
456 ULONG ulCount,
457 ITfLangBarItem **ppItem,
458 TF_LANGBARITEMINFO *pInfo,
459 DWORD *pdwStatus,
460 ULONG *pcFetched) = 0;
461
462 virtual HRESULT STDMETHODCALLTYPE AdviseItemsSink(
463 ULONG ulCount,
464 ITfLangBarItemSink **ppunk,
465 const GUID *pguidItem,
466 DWORD *pdwCookie) = 0;
467
468 virtual HRESULT STDMETHODCALLTYPE UnadviseItemsSink(
469 ULONG ulCount,
470 DWORD *pdwCookie) = 0;
471
472};
473#ifdef __CRT_UUID_DECL
474__CRT_UUID_DECL(ITfLangBarItemMgr, 0xba468c55, 0x9956, 0x4fb1, 0xa5,0x9d, 0x52,0xa7,0xdd,0x7c,0xc6,0xaa)
475#endif
476#else
477typedef struct ITfLangBarItemMgrVtbl {
478 BEGIN_INTERFACE
479
480 /*** IUnknown methods ***/
481 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
482 ITfLangBarItemMgr *This,
483 REFIID riid,
484 void **ppvObject);
485
486 ULONG (STDMETHODCALLTYPE *AddRef)(
487 ITfLangBarItemMgr *This);
488
489 ULONG (STDMETHODCALLTYPE *Release)(
490 ITfLangBarItemMgr *This);
491
492 /*** ITfLangBarItemMgr methods ***/
493 HRESULT (STDMETHODCALLTYPE *EnumItems)(
494 ITfLangBarItemMgr *This,
495 IEnumTfLangBarItems **ppEnum);
496
497 HRESULT (STDMETHODCALLTYPE *GetItem)(
498 ITfLangBarItemMgr *This,
499 REFGUID rguid,
500 ITfLangBarItem **ppItem);
501
502 HRESULT (STDMETHODCALLTYPE *AddItem)(
503 ITfLangBarItemMgr *This,
504 ITfLangBarItem *punk);
505
506 HRESULT (STDMETHODCALLTYPE *RemoveItem)(
507 ITfLangBarItemMgr *This,
508 ITfLangBarItem *punk);
509
510 HRESULT (STDMETHODCALLTYPE *AdviseItemSink)(
511 ITfLangBarItemMgr *This,
512 ITfLangBarItemSink *punk,
513 DWORD *pdwCookie,
514 REFGUID rguidItem);
515
516 HRESULT (STDMETHODCALLTYPE *UnadviseItemSink)(
517 ITfLangBarItemMgr *This,
518 DWORD dwCookie);
519
520 HRESULT (STDMETHODCALLTYPE *GetItemFloatingRect)(
521 ITfLangBarItemMgr *This,
522 DWORD dwThreadId,
523 REFGUID rguid,
524 RECT *prc);
525
526 HRESULT (STDMETHODCALLTYPE *GetItemsStatus)(
527 ITfLangBarItemMgr *This,
528 ULONG ulCount,
529 const GUID *prgguid,
530 DWORD *pdwStatus);
531
532 HRESULT (STDMETHODCALLTYPE *GetItemNum)(
533 ITfLangBarItemMgr *This,
534 ULONG *pulCount);
535
536 HRESULT (STDMETHODCALLTYPE *GetItems)(
537 ITfLangBarItemMgr *This,
538 ULONG ulCount,
539 ITfLangBarItem **ppItem,
540 TF_LANGBARITEMINFO *pInfo,
541 DWORD *pdwStatus,
542 ULONG *pcFetched);
543
544 HRESULT (STDMETHODCALLTYPE *AdviseItemsSink)(
545 ITfLangBarItemMgr *This,
546 ULONG ulCount,
547 ITfLangBarItemSink **ppunk,
548 const GUID *pguidItem,
549 DWORD *pdwCookie);
550
551 HRESULT (STDMETHODCALLTYPE *UnadviseItemsSink)(
552 ITfLangBarItemMgr *This,
553 ULONG ulCount,
554 DWORD *pdwCookie);
555
556 END_INTERFACE
557} ITfLangBarItemMgrVtbl;
558
559interface ITfLangBarItemMgr {
560 CONST_VTBL ITfLangBarItemMgrVtbl* lpVtbl;
561};
562
563#ifdef COBJMACROS
564#ifndef WIDL_C_INLINE_WRAPPERS
565/*** IUnknown methods ***/
566#define ITfLangBarItemMgr_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
567#define ITfLangBarItemMgr_AddRef(This) (This)->lpVtbl->AddRef(This)
568#define ITfLangBarItemMgr_Release(This) (This)->lpVtbl->Release(This)
569/*** ITfLangBarItemMgr methods ***/
570#define ITfLangBarItemMgr_EnumItems(This,ppEnum) (This)->lpVtbl->EnumItems(This,ppEnum)
571#define ITfLangBarItemMgr_GetItem(This,rguid,ppItem) (This)->lpVtbl->GetItem(This,rguid,ppItem)
572#define ITfLangBarItemMgr_AddItem(This,punk) (This)->lpVtbl->AddItem(This,punk)
573#define ITfLangBarItemMgr_RemoveItem(This,punk) (This)->lpVtbl->RemoveItem(This,punk)
574#define ITfLangBarItemMgr_AdviseItemSink(This,punk,pdwCookie,rguidItem) (This)->lpVtbl->AdviseItemSink(This,punk,pdwCookie,rguidItem)
575#define ITfLangBarItemMgr_UnadviseItemSink(This,dwCookie) (This)->lpVtbl->UnadviseItemSink(This,dwCookie)
576#define ITfLangBarItemMgr_GetItemFloatingRect(This,dwThreadId,rguid,prc) (This)->lpVtbl->GetItemFloatingRect(This,dwThreadId,rguid,prc)
577#define ITfLangBarItemMgr_GetItemsStatus(This,ulCount,prgguid,pdwStatus) (This)->lpVtbl->GetItemsStatus(This,ulCount,prgguid,pdwStatus)
578#define ITfLangBarItemMgr_GetItemNum(This,pulCount) (This)->lpVtbl->GetItemNum(This,pulCount)
579#define ITfLangBarItemMgr_GetItems(This,ulCount,ppItem,pInfo,pdwStatus,pcFetched) (This)->lpVtbl->GetItems(This,ulCount,ppItem,pInfo,pdwStatus,pcFetched)
580#define ITfLangBarItemMgr_AdviseItemsSink(This,ulCount,ppunk,pguidItem,pdwCookie) (This)->lpVtbl->AdviseItemsSink(This,ulCount,ppunk,pguidItem,pdwCookie)
581#define ITfLangBarItemMgr_UnadviseItemsSink(This,ulCount,pdwCookie) (This)->lpVtbl->UnadviseItemsSink(This,ulCount,pdwCookie)
582#else
583/*** IUnknown methods ***/
584static FORCEINLINE HRESULT ITfLangBarItemMgr_QueryInterface(ITfLangBarItemMgr* This,REFIID riid,void **ppvObject) {
585 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
586}
587static FORCEINLINE ULONG ITfLangBarItemMgr_AddRef(ITfLangBarItemMgr* This) {
588 return This->lpVtbl->AddRef(This);
589}
590static FORCEINLINE ULONG ITfLangBarItemMgr_Release(ITfLangBarItemMgr* This) {
591 return This->lpVtbl->Release(This);
592}
593/*** ITfLangBarItemMgr methods ***/
594static FORCEINLINE HRESULT ITfLangBarItemMgr_EnumItems(ITfLangBarItemMgr* This,IEnumTfLangBarItems **ppEnum) {
595 return This->lpVtbl->EnumItems(This,ppEnum);
596}
597static FORCEINLINE HRESULT ITfLangBarItemMgr_GetItem(ITfLangBarItemMgr* This,REFGUID rguid,ITfLangBarItem **ppItem) {
598 return This->lpVtbl->GetItem(This,rguid,ppItem);
599}
600static FORCEINLINE HRESULT ITfLangBarItemMgr_AddItem(ITfLangBarItemMgr* This,ITfLangBarItem *punk) {
601 return This->lpVtbl->AddItem(This,punk);
602}
603static FORCEINLINE HRESULT ITfLangBarItemMgr_RemoveItem(ITfLangBarItemMgr* This,ITfLangBarItem *punk) {
604 return This->lpVtbl->RemoveItem(This,punk);
605}
606static FORCEINLINE HRESULT ITfLangBarItemMgr_AdviseItemSink(ITfLangBarItemMgr* This,ITfLangBarItemSink *punk,DWORD *pdwCookie,REFGUID rguidItem) {
607 return This->lpVtbl->AdviseItemSink(This,punk,pdwCookie,rguidItem);
608}
609static FORCEINLINE HRESULT ITfLangBarItemMgr_UnadviseItemSink(ITfLangBarItemMgr* This,DWORD dwCookie) {
610 return This->lpVtbl->UnadviseItemSink(This,dwCookie);
611}
612static FORCEINLINE HRESULT ITfLangBarItemMgr_GetItemFloatingRect(ITfLangBarItemMgr* This,DWORD dwThreadId,REFGUID rguid,RECT *prc) {
613 return This->lpVtbl->GetItemFloatingRect(This,dwThreadId,rguid,prc);
614}
615static FORCEINLINE HRESULT ITfLangBarItemMgr_GetItemsStatus(ITfLangBarItemMgr* This,ULONG ulCount,const GUID *prgguid,DWORD *pdwStatus) {
616 return This->lpVtbl->GetItemsStatus(This,ulCount,prgguid,pdwStatus);
617}
618static FORCEINLINE HRESULT ITfLangBarItemMgr_GetItemNum(ITfLangBarItemMgr* This,ULONG *pulCount) {
619 return This->lpVtbl->GetItemNum(This,pulCount);
620}
621static FORCEINLINE HRESULT ITfLangBarItemMgr_GetItems(ITfLangBarItemMgr* This,ULONG ulCount,ITfLangBarItem **ppItem,TF_LANGBARITEMINFO *pInfo,DWORD *pdwStatus,ULONG *pcFetched) {
622 return This->lpVtbl->GetItems(This,ulCount,ppItem,pInfo,pdwStatus,pcFetched);
623}
624static FORCEINLINE HRESULT ITfLangBarItemMgr_AdviseItemsSink(ITfLangBarItemMgr* This,ULONG ulCount,ITfLangBarItemSink **ppunk,const GUID *pguidItem,DWORD *pdwCookie) {
625 return This->lpVtbl->AdviseItemsSink(This,ulCount,ppunk,pguidItem,pdwCookie);
626}
627static FORCEINLINE HRESULT ITfLangBarItemMgr_UnadviseItemsSink(ITfLangBarItemMgr* This,ULONG ulCount,DWORD *pdwCookie) {
628 return This->lpVtbl->UnadviseItemsSink(This,ulCount,pdwCookie);
629}
630#endif
631#endif
632
633#endif
634
635
636#endif /* __ITfLangBarItemMgr_INTERFACE_DEFINED__ */
637
638/*****************************************************************************
639 * ITfLangBarMgr interface
640 */
641#ifndef __ITfLangBarMgr_INTERFACE_DEFINED__
642#define __ITfLangBarMgr_INTERFACE_DEFINED__
643
644DEFINE_GUID(IID_ITfLangBarMgr, 0x87955690, 0xe627, 0x11d2, 0x8d,0xdb, 0x00,0x10,0x5a,0x27,0x99,0xb5);
645#if defined(__cplusplus) && !defined(CINTERFACE)
646MIDL_INTERFACE("87955690-e627-11d2-8ddb-00105a2799b5")
647ITfLangBarMgr : public IUnknown
648{
649 virtual HRESULT STDMETHODCALLTYPE AdviseEventSink(
650 ITfLangBarEventSink *pSink,
651 HWND hwnd,
652 DWORD dwflags,
653 DWORD *pdwCookie) = 0;
654
655 virtual HRESULT STDMETHODCALLTYPE UnAdviseEventSink(
656 DWORD dwCookie) = 0;
657
658 virtual HRESULT STDMETHODCALLTYPE GetThreadMarshalInterface(
659 DWORD dwThreadId,
660 DWORD dwType,
661 REFIID riid,
662 IUnknown **ppunk) = 0;
663
664 virtual HRESULT STDMETHODCALLTYPE GetThreadLangBarItemMgr(
665 DWORD dwThreadId,
666 ITfLangBarItemMgr **pplbie,
667 DWORD *pdwThreadid) = 0;
668
669 virtual HRESULT STDMETHODCALLTYPE GetInputProcessorProfiles(
670 DWORD dwThreadId,
671 ITfInputProcessorProfiles **ppaip,
672 DWORD *pdwThreadid) = 0;
673
674 virtual HRESULT STDMETHODCALLTYPE RestoreLastFocus(
675 DWORD *dwThreadId,
676 WINBOOL fPrev) = 0;
677
678 virtual HRESULT STDMETHODCALLTYPE SetModalInput(
679 ITfLangBarEventSink *pSink,
680 DWORD dwThreadId,
681 DWORD dwFlags) = 0;
682
683 virtual HRESULT STDMETHODCALLTYPE ShowFloating(
684 DWORD dwFlags) = 0;
685
686 virtual HRESULT STDMETHODCALLTYPE GetShowFloatingStatus(
687 DWORD *pdwFlags) = 0;
688
689};
690#ifdef __CRT_UUID_DECL
691__CRT_UUID_DECL(ITfLangBarMgr, 0x87955690, 0xe627, 0x11d2, 0x8d,0xdb, 0x00,0x10,0x5a,0x27,0x99,0xb5)
692#endif
693#else
694typedef struct ITfLangBarMgrVtbl {
695 BEGIN_INTERFACE
696
697 /*** IUnknown methods ***/
698 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
699 ITfLangBarMgr *This,
700 REFIID riid,
701 void **ppvObject);
702
703 ULONG (STDMETHODCALLTYPE *AddRef)(
704 ITfLangBarMgr *This);
705
706 ULONG (STDMETHODCALLTYPE *Release)(
707 ITfLangBarMgr *This);
708
709 /*** ITfLangBarMgr methods ***/
710 HRESULT (STDMETHODCALLTYPE *AdviseEventSink)(
711 ITfLangBarMgr *This,
712 ITfLangBarEventSink *pSink,
713 HWND hwnd,
714 DWORD dwflags,
715 DWORD *pdwCookie);
716
717 HRESULT (STDMETHODCALLTYPE *UnAdviseEventSink)(
718 ITfLangBarMgr *This,
719 DWORD dwCookie);
720
721 HRESULT (STDMETHODCALLTYPE *GetThreadMarshalInterface)(
722 ITfLangBarMgr *This,
723 DWORD dwThreadId,
724 DWORD dwType,
725 REFIID riid,
726 IUnknown **ppunk);
727
728 HRESULT (STDMETHODCALLTYPE *GetThreadLangBarItemMgr)(
729 ITfLangBarMgr *This,
730 DWORD dwThreadId,
731 ITfLangBarItemMgr **pplbie,
732 DWORD *pdwThreadid);
733
734 HRESULT (STDMETHODCALLTYPE *GetInputProcessorProfiles)(
735 ITfLangBarMgr *This,
736 DWORD dwThreadId,
737 ITfInputProcessorProfiles **ppaip,
738 DWORD *pdwThreadid);
739
740 HRESULT (STDMETHODCALLTYPE *RestoreLastFocus)(
741 ITfLangBarMgr *This,
742 DWORD *dwThreadId,
743 WINBOOL fPrev);
744
745 HRESULT (STDMETHODCALLTYPE *SetModalInput)(
746 ITfLangBarMgr *This,
747 ITfLangBarEventSink *pSink,
748 DWORD dwThreadId,
749 DWORD dwFlags);
750
751 HRESULT (STDMETHODCALLTYPE *ShowFloating)(
752 ITfLangBarMgr *This,
753 DWORD dwFlags);
754
755 HRESULT (STDMETHODCALLTYPE *GetShowFloatingStatus)(
756 ITfLangBarMgr *This,
757 DWORD *pdwFlags);
758
759 END_INTERFACE
760} ITfLangBarMgrVtbl;
761
762interface ITfLangBarMgr {
763 CONST_VTBL ITfLangBarMgrVtbl* lpVtbl;
764};
765
766#ifdef COBJMACROS
767#ifndef WIDL_C_INLINE_WRAPPERS
768/*** IUnknown methods ***/
769#define ITfLangBarMgr_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
770#define ITfLangBarMgr_AddRef(This) (This)->lpVtbl->AddRef(This)
771#define ITfLangBarMgr_Release(This) (This)->lpVtbl->Release(This)
772/*** ITfLangBarMgr methods ***/
773#define ITfLangBarMgr_AdviseEventSink(This,pSink,hwnd,dwflags,pdwCookie) (This)->lpVtbl->AdviseEventSink(This,pSink,hwnd,dwflags,pdwCookie)
774#define ITfLangBarMgr_UnAdviseEventSink(This,dwCookie) (This)->lpVtbl->UnAdviseEventSink(This,dwCookie)
775#define ITfLangBarMgr_GetThreadMarshalInterface(This,dwThreadId,dwType,riid,ppunk) (This)->lpVtbl->GetThreadMarshalInterface(This,dwThreadId,dwType,riid,ppunk)
776#define ITfLangBarMgr_GetThreadLangBarItemMgr(This,dwThreadId,pplbie,pdwThreadid) (This)->lpVtbl->GetThreadLangBarItemMgr(This,dwThreadId,pplbie,pdwThreadid)
777#define ITfLangBarMgr_GetInputProcessorProfiles(This,dwThreadId,ppaip,pdwThreadid) (This)->lpVtbl->GetInputProcessorProfiles(This,dwThreadId,ppaip,pdwThreadid)
778#define ITfLangBarMgr_RestoreLastFocus(This,dwThreadId,fPrev) (This)->lpVtbl->RestoreLastFocus(This,dwThreadId,fPrev)
779#define ITfLangBarMgr_SetModalInput(This,pSink,dwThreadId,dwFlags) (This)->lpVtbl->SetModalInput(This,pSink,dwThreadId,dwFlags)
780#define ITfLangBarMgr_ShowFloating(This,dwFlags) (This)->lpVtbl->ShowFloating(This,dwFlags)
781#define ITfLangBarMgr_GetShowFloatingStatus(This,pdwFlags) (This)->lpVtbl->GetShowFloatingStatus(This,pdwFlags)
782#else
783/*** IUnknown methods ***/
784static FORCEINLINE HRESULT ITfLangBarMgr_QueryInterface(ITfLangBarMgr* This,REFIID riid,void **ppvObject) {
785 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
786}
787static FORCEINLINE ULONG ITfLangBarMgr_AddRef(ITfLangBarMgr* This) {
788 return This->lpVtbl->AddRef(This);
789}
790static FORCEINLINE ULONG ITfLangBarMgr_Release(ITfLangBarMgr* This) {
791 return This->lpVtbl->Release(This);
792}
793/*** ITfLangBarMgr methods ***/
794static FORCEINLINE HRESULT ITfLangBarMgr_AdviseEventSink(ITfLangBarMgr* This,ITfLangBarEventSink *pSink,HWND hwnd,DWORD dwflags,DWORD *pdwCookie) {
795 return This->lpVtbl->AdviseEventSink(This,pSink,hwnd,dwflags,pdwCookie);
796}
797static FORCEINLINE HRESULT ITfLangBarMgr_UnAdviseEventSink(ITfLangBarMgr* This,DWORD dwCookie) {
798 return This->lpVtbl->UnAdviseEventSink(This,dwCookie);
799}
800static FORCEINLINE HRESULT ITfLangBarMgr_GetThreadMarshalInterface(ITfLangBarMgr* This,DWORD dwThreadId,DWORD dwType,REFIID riid,IUnknown **ppunk) {
801 return This->lpVtbl->GetThreadMarshalInterface(This,dwThreadId,dwType,riid,ppunk);
802}
803static FORCEINLINE HRESULT ITfLangBarMgr_GetThreadLangBarItemMgr(ITfLangBarMgr* This,DWORD dwThreadId,ITfLangBarItemMgr **pplbie,DWORD *pdwThreadid) {
804 return This->lpVtbl->GetThreadLangBarItemMgr(This,dwThreadId,pplbie,pdwThreadid);
805}
806static FORCEINLINE HRESULT ITfLangBarMgr_GetInputProcessorProfiles(ITfLangBarMgr* This,DWORD dwThreadId,ITfInputProcessorProfiles **ppaip,DWORD *pdwThreadid) {
807 return This->lpVtbl->GetInputProcessorProfiles(This,dwThreadId,ppaip,pdwThreadid);
808}
809static FORCEINLINE HRESULT ITfLangBarMgr_RestoreLastFocus(ITfLangBarMgr* This,DWORD *dwThreadId,WINBOOL fPrev) {
810 return This->lpVtbl->RestoreLastFocus(This,dwThreadId,fPrev);
811}
812static FORCEINLINE HRESULT ITfLangBarMgr_SetModalInput(ITfLangBarMgr* This,ITfLangBarEventSink *pSink,DWORD dwThreadId,DWORD dwFlags) {
813 return This->lpVtbl->SetModalInput(This,pSink,dwThreadId,dwFlags);
814}
815static FORCEINLINE HRESULT ITfLangBarMgr_ShowFloating(ITfLangBarMgr* This,DWORD dwFlags) {
816 return This->lpVtbl->ShowFloating(This,dwFlags);
817}
818static FORCEINLINE HRESULT ITfLangBarMgr_GetShowFloatingStatus(ITfLangBarMgr* This,DWORD *pdwFlags) {
819 return This->lpVtbl->GetShowFloatingStatus(This,pdwFlags);
820}
821#endif
822#endif
823
824#endif
825
826
827#endif /* __ITfLangBarMgr_INTERFACE_DEFINED__ */
828
829/*****************************************************************************
830 * ITfLangBarEventSink interface
831 */
832#ifndef __ITfLangBarEventSink_INTERFACE_DEFINED__
833#define __ITfLangBarEventSink_INTERFACE_DEFINED__
834
835DEFINE_GUID(IID_ITfLangBarEventSink, 0x18a4e900, 0xe0ae, 0x11d2, 0xaf,0xdd, 0x00,0x10,0x5a,0x27,0x99,0xb5);
836#if defined(__cplusplus) && !defined(CINTERFACE)
837MIDL_INTERFACE("18a4e900-e0ae-11d2-afdd-00105a2799b5")
838ITfLangBarEventSink : public IUnknown
839{
840 virtual HRESULT STDMETHODCALLTYPE OnSetFocus(
841 DWORD dwThreadId) = 0;
842
843 virtual HRESULT STDMETHODCALLTYPE OnThreadTerminate(
844 DWORD dwThreadId) = 0;
845
846 virtual HRESULT STDMETHODCALLTYPE OnThreadItemChange(
847 DWORD dwThreadId) = 0;
848
849 virtual HRESULT STDMETHODCALLTYPE OnModalInput(
850 DWORD dwThreadId,
851 UINT uMsg,
852 WPARAM wParam,
853 LPARAM lParam) = 0;
854
855 virtual HRESULT STDMETHODCALLTYPE ShowFloating(
856 DWORD dwFlags) = 0;
857
858 virtual HRESULT STDMETHODCALLTYPE GetItemFloatingRect(
859 DWORD dwThreadId,
860 REFGUID rguid,
861 RECT *prc) = 0;
862
863};
864#ifdef __CRT_UUID_DECL
865__CRT_UUID_DECL(ITfLangBarEventSink, 0x18a4e900, 0xe0ae, 0x11d2, 0xaf,0xdd, 0x00,0x10,0x5a,0x27,0x99,0xb5)
866#endif
867#else
868typedef struct ITfLangBarEventSinkVtbl {
869 BEGIN_INTERFACE
870
871 /*** IUnknown methods ***/
872 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
873 ITfLangBarEventSink *This,
874 REFIID riid,
875 void **ppvObject);
876
877 ULONG (STDMETHODCALLTYPE *AddRef)(
878 ITfLangBarEventSink *This);
879
880 ULONG (STDMETHODCALLTYPE *Release)(
881 ITfLangBarEventSink *This);
882
883 /*** ITfLangBarEventSink methods ***/
884 HRESULT (STDMETHODCALLTYPE *OnSetFocus)(
885 ITfLangBarEventSink *This,
886 DWORD dwThreadId);
887
888 HRESULT (STDMETHODCALLTYPE *OnThreadTerminate)(
889 ITfLangBarEventSink *This,
890 DWORD dwThreadId);
891
892 HRESULT (STDMETHODCALLTYPE *OnThreadItemChange)(
893 ITfLangBarEventSink *This,
894 DWORD dwThreadId);
895
896 HRESULT (STDMETHODCALLTYPE *OnModalInput)(
897 ITfLangBarEventSink *This,
898 DWORD dwThreadId,
899 UINT uMsg,
900 WPARAM wParam,
901 LPARAM lParam);
902
903 HRESULT (STDMETHODCALLTYPE *ShowFloating)(
904 ITfLangBarEventSink *This,
905 DWORD dwFlags);
906
907 HRESULT (STDMETHODCALLTYPE *GetItemFloatingRect)(
908 ITfLangBarEventSink *This,
909 DWORD dwThreadId,
910 REFGUID rguid,
911 RECT *prc);
912
913 END_INTERFACE
914} ITfLangBarEventSinkVtbl;
915
916interface ITfLangBarEventSink {
917 CONST_VTBL ITfLangBarEventSinkVtbl* lpVtbl;
918};
919
920#ifdef COBJMACROS
921#ifndef WIDL_C_INLINE_WRAPPERS
922/*** IUnknown methods ***/
923#define ITfLangBarEventSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
924#define ITfLangBarEventSink_AddRef(This) (This)->lpVtbl->AddRef(This)
925#define ITfLangBarEventSink_Release(This) (This)->lpVtbl->Release(This)
926/*** ITfLangBarEventSink methods ***/
927#define ITfLangBarEventSink_OnSetFocus(This,dwThreadId) (This)->lpVtbl->OnSetFocus(This,dwThreadId)
928#define ITfLangBarEventSink_OnThreadTerminate(This,dwThreadId) (This)->lpVtbl->OnThreadTerminate(This,dwThreadId)
929#define ITfLangBarEventSink_OnThreadItemChange(This,dwThreadId) (This)->lpVtbl->OnThreadItemChange(This,dwThreadId)
930#define ITfLangBarEventSink_OnModalInput(This,dwThreadId,uMsg,wParam,lParam) (This)->lpVtbl->OnModalInput(This,dwThreadId,uMsg,wParam,lParam)
931#define ITfLangBarEventSink_ShowFloating(This,dwFlags) (This)->lpVtbl->ShowFloating(This,dwFlags)
932#define ITfLangBarEventSink_GetItemFloatingRect(This,dwThreadId,rguid,prc) (This)->lpVtbl->GetItemFloatingRect(This,dwThreadId,rguid,prc)
933#else
934/*** IUnknown methods ***/
935static FORCEINLINE HRESULT ITfLangBarEventSink_QueryInterface(ITfLangBarEventSink* This,REFIID riid,void **ppvObject) {
936 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
937}
938static FORCEINLINE ULONG ITfLangBarEventSink_AddRef(ITfLangBarEventSink* This) {
939 return This->lpVtbl->AddRef(This);
940}
941static FORCEINLINE ULONG ITfLangBarEventSink_Release(ITfLangBarEventSink* This) {
942 return This->lpVtbl->Release(This);
943}
944/*** ITfLangBarEventSink methods ***/
945static FORCEINLINE HRESULT ITfLangBarEventSink_OnSetFocus(ITfLangBarEventSink* This,DWORD dwThreadId) {
946 return This->lpVtbl->OnSetFocus(This,dwThreadId);
947}
948static FORCEINLINE HRESULT ITfLangBarEventSink_OnThreadTerminate(ITfLangBarEventSink* This,DWORD dwThreadId) {
949 return This->lpVtbl->OnThreadTerminate(This,dwThreadId);
950}
951static FORCEINLINE HRESULT ITfLangBarEventSink_OnThreadItemChange(ITfLangBarEventSink* This,DWORD dwThreadId) {
952 return This->lpVtbl->OnThreadItemChange(This,dwThreadId);
953}
954static FORCEINLINE HRESULT ITfLangBarEventSink_OnModalInput(ITfLangBarEventSink* This,DWORD dwThreadId,UINT uMsg,WPARAM wParam,LPARAM lParam) {
955 return This->lpVtbl->OnModalInput(This,dwThreadId,uMsg,wParam,lParam);
956}
957static FORCEINLINE HRESULT ITfLangBarEventSink_ShowFloating(ITfLangBarEventSink* This,DWORD dwFlags) {
958 return This->lpVtbl->ShowFloating(This,dwFlags);
959}
960static FORCEINLINE HRESULT ITfLangBarEventSink_GetItemFloatingRect(ITfLangBarEventSink* This,DWORD dwThreadId,REFGUID rguid,RECT *prc) {
961 return This->lpVtbl->GetItemFloatingRect(This,dwThreadId,rguid,prc);
962}
963#endif
964#endif
965
966#endif
967
968
969#endif /* __ITfLangBarEventSink_INTERFACE_DEFINED__ */
970
971/* Begin additional prototypes for all interfaces */
972
973ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *);
974unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *);
975unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
976void __RPC_USER BSTR_UserFree (ULONG *, BSTR *);
977ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *);
978unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *);
979unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
980void __RPC_USER HWND_UserFree (ULONG *, HWND *);
981
982/* End additional prototypes */
983
984#ifdef __cplusplus
985}
986#endif
987
988#endif /* __ctfutb_h__ */
Note: See TracBrowser for help on using the repository browser.