ReactOS  0.4.14-dev-991-g696cdc6
ctfutb.idl
Go to the documentation of this file.
1 /*
2  * Copyright 2010 Justin Chevrier
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18 
19 #ifndef DO_NO_IMPORTS
20 import "oaidl.idl";
21 #ifdef __midl
22 import "msctf.idl";
23 #endif
24 #endif
25 
26 interface ITfLangBarEventSink;
27 interface ITfLangBarItemMgr;
28 interface ITfInputProcessorProfiles;
29 interface IEnumTfLangBarItems;
30 interface ITfLangBarItem;
31 interface ITfLangBarItemSink;
32 
33 [
34  object,
35  uuid(87955690-e627-11d2-8ddb-00105a2799b5),
37 ]
39 {
41  [in] ITfLangBarEventSink *pSink,
42  [in] HWND hwnd,
43  [in] DWORD dwflags,
44  [in] DWORD *pdwCookie);
45 
47  [in] DWORD dwCookie);
48 
51  [in] DWORD dwType,
52  [in] REFIID riid,
53  [out] IUnknown **ppunk);
54 
57  [out] ITfLangBarItemMgr **pplbie,
58  [out] DWORD *pdwThreadid);
59 
62  [out] ITfInputProcessorProfiles **ppaip,
63  [out] DWORD *pdwThreadid);
64 
66  [out] DWORD *dwThreadId,
67  [in] BOOL fPrev);
68 
70  [in] ITfLangBarEventSink *pSink,
72  [in] DWORD dwFlags);
73 
75  [in] DWORD dwFlags);
76 
78  [out] DWORD *pdwFlags);
79 };
80 
81 [
82  object,
83  uuid(18a4e900-e0ae-11d2-afdd-00105a2799b5),
85 ]
87 {
89  [in] DWORD dwThreadId);
90 
92  [in] DWORD dwThreadId);
93 
95  [in] DWORD dwThreadId);
96 
99  [in] UINT uMsg,
100  [in] WPARAM wParam,
101  [in] LPARAM lParam);
102 
104  [in] DWORD dwFlags);
105 
107  [in] DWORD dwThreadId,
108  [in] REFGUID rguid,
109  [out] RECT *prc);
110 }
111 
113 
114 typedef [uuid(12a1d29f-a065-440c-9746-eb2002c8bd19)] struct TF_LANGBARITEMINFO
115 {
122 
123 [
124  object,
125  uuid(ba468c55-9956-4fb1-a59d-52a7dd7cc6aa),
127 ]
129 {
131  [out] IEnumTfLangBarItems **ppEnum);
132 
134  [in] REFGUID rguid,
135  [out] ITfLangBarItem **ppItem);
136 
138  [in] ITfLangBarItem *punk);
139 
141  [in] ITfLangBarItem *punk);
142 
144  [in] ITfLangBarItemSink *punk,
145  [out] DWORD *pdwCookie,
146  [in] REFGUID rguidItem);
147 
149  [in] DWORD dwCookie);
150 
152  [in] DWORD dwThreadId,
153  [in] REFGUID rguid,
154  [out] RECT *prc);
155 
157  [in] ULONG ulCount,
158  [in, size_is(ulCount)] const GUID *prgguid,
159  [out, size_is(ulCount)] DWORD *pdwStatus);
160 
162  [out] ULONG *pulCount);
163 
165  [in] ULONG ulCount,
166  [out, size_is(ulCount), length_is(*pcFetched)] ITfLangBarItem **ppItem,
167  [out, size_is(ulCount), length_is(*pcFetched)] TF_LANGBARITEMINFO *pInfo,
168  [out, size_is(ulCount), length_is(*pcFetched)] DWORD *pdwStatus,
169  [in, out, unique] ULONG *pcFetched);
170 
172  [in] ULONG ulCount,
173  [in, size_is(ulCount)] ITfLangBarItemSink **ppunk,
174  [in, size_is(ulCount)] const GUID *pguidItem,
175  [out, size_is(ulCount)] DWORD *pdwCookie);
176 
178  [in] ULONG ulCount,
179  [in, size_is(ulCount)] DWORD *pdwCookie);
180 };
181 
182 [
183  object,
184  uuid(583f34d0-de25-11d2-afdd-00105a2799b5),
186 ]
188 {
189  HRESULT Clone(
190  [out] IEnumTfLangBarItems **ppEnum);
191 
192  HRESULT Next(
193  [in] ULONG ulCount,
194  [out, size_is(ulCount)] ITfLangBarItem **ppItem,
195  [in, out, unique] ULONG *pcFetched);
196 
197  HRESULT Reset();
198 
199  HRESULT Skip(
200  [in] ULONG ulCount);
201 }
202 
203 [
204  object,
205  uuid(73540d69-edeb-4ee9-96c9-23aa30b25916),
207 ]
209 {
211  [out] TF_LANGBARITEMINFO *pInfo);
212 
214  [out] DWORD *pdwStatus);
215 
216  HRESULT Show(
217  [in] BOOL fShow);
218 
220  [out] BSTR *pbstrToolTip);
221 }
222 
223 [
224  object,
225  uuid(57dbe1a0-de25-11d2-afdd-00105a2799b5),
227 ]
229 {
231  [in] DWORD dwFlags);
232 }
HRESULT AdviseEventSink([in] ITfLangBarEventSink *pSink, [in] HWND hwnd, [in] DWORD dwflags, [in] DWORD *pdwCookie)
HRESULT RestoreLastFocus([out] DWORD *dwThreadId, [in] BOOL fPrev)
WCHAR szDescription[TF_LBI_DESC_MAXLEN]
Definition: ctfutb.idl:120
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
#define REFIID
Definition: guiddef.h:118
HRESULT GetTooltipString([out] BSTR *pbstrToolTip)
HRESULT ShowFloating([in] DWORD dwFlags)
Definition: scsiwmi.h:51
REFIID riid
Definition: precomp.h:44
HRESULT OnModalInput([in] DWORD dwThreadId, [in] UINT uMsg, [in] WPARAM wParam, [in] LPARAM lParam)
HRESULT UnadviseItemSink([in] DWORD dwCookie)
HRESULT GetItemFloatingRect([in] DWORD dwThreadId, [in] REFGUID rguid, [out] RECT *prc)
HRESULT Next([in] ULONG ulCount, [out, size_is(ulCount)] ITfLangBarItem **ppItem, [in, out, unique] ULONG *pcFetched)
HRESULT GetShowFloatingStatus([out] DWORD *pdwFlags)
HRESULT EnumItems([out] IEnumTfLangBarItems **ppEnum)
UINT_PTR WPARAM
Definition: windef.h:207
OLECHAR * BSTR
Definition: compat.h:1942
WPARAM wParam
Definition: combotst.c:138
HRESULT AddItem([in] ITfLangBarItem *punk)
unsigned int BOOL
Definition: ntddk_ex.h:94
HRESULT ShowFloating([in] DWORD dwFlags)
HRESULT GetItemsStatus([in] ULONG ulCount, [in, size_is(ulCount)] const GUID *prgguid, [out, size_is(ulCount)] DWORD *pdwStatus)
struct TF_LANGBARITEMINFO TF_LANGBARITEMINFO
LONG_PTR LPARAM
Definition: windef.h:208
HRESULT GetItemFloatingRect([in] DWORD dwThreadId, [in] REFGUID rguid, [out] RECT *prc)
HRESULT GetStatus([out] DWORD *pdwStatus)
HRESULT Clone([out] IEnumTfLangBarItems **ppEnum)
HRESULT GetInfo([out] TF_LANGBARITEMINFO *pInfo)
__wchar_t WCHAR
Definition: xmlstorage.h:180
LONG HRESULT
Definition: typedefs.h:78
HRESULT SetModalInput([in] ITfLangBarEventSink *pSink, [in] DWORD dwThreadId, [in] DWORD dwFlags)
const GLubyte * c
Definition: glext.h:8905
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
HRESULT AdviseItemSink([in] ITfLangBarItemSink *punk, [out] DWORD *pdwCookie, [in] REFGUID rguidItem)
HRESULT AdviseItemsSink([in] ULONG ulCount, [in, size_is(ulCount)] ITfLangBarItemSink **ppunk, [in, size_is(ulCount)] const GUID *pguidItem, [out, size_is(ulCount)] DWORD *pdwCookie)
DWORD dwThreadId
Definition: fdebug.c:31
HRESULT OnUpdate([in] DWORD dwFlags)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
static _In_ DWORD dwflags
Definition: dispmode.c:64
HRESULT RemoveItem([in] ITfLangBarItem *punk)
HRESULT GetThreadLangBarItemMgr([in] DWORD dwThreadId, [out] ITfLangBarItemMgr **pplbie, [out] DWORD *pdwThreadid)
HRESULT GetItemNum([out] ULONG *pulCount)
HRESULT GetInputProcessorProfiles([in] DWORD dwThreadId, [out] ITfInputProcessorProfiles **ppaip, [out] DWORD *pdwThreadid)
HRESULT UnadviseItemsSink([in] ULONG ulCount, [in, size_is(ulCount)] DWORD *pdwCookie)
HRESULT Skip([in] ULONG ulCount)
HRESULT OnSetFocus([in] DWORD dwThreadId)
GLuint in
Definition: glext.h:9616
static unsigned char pointer_default
Definition: parser.tab.c:114
unsigned int UINT
Definition: ndis.h:50
unsigned int ULONG
Definition: retypes.h:1
HRESULT GetThreadMarshalInterface([in] DWORD dwThreadId, [in] DWORD dwType, [in] REFIID riid, [out] IUnknown **ppunk)
HRESULT GetItems([in] ULONG ulCount, [out, size_is(ulCount), length_is(*pcFetched)] ITfLangBarItem **ppItem, [out, size_is(ulCount), length_is(*pcFetched)] TF_LANGBARITEMINFO *pInfo, [out, size_is(ulCount), length_is(*pcFetched)] DWORD *pdwStatus, [in, out, unique] ULONG *pcFetched)
HRESULT OnThreadTerminate([in] DWORD dwThreadId)
_Out_ LPRECT prc
Definition: ntgdi.h:1658
HRESULT UnAdviseEventSink([in] DWORD dwCookie)
LPARAM lParam
Definition: combotst.c:139
HRESULT GetItem([in] REFGUID rguid, [out] ITfLangBarItem **ppItem)
const ULONG TF_LBI_DESC_MAXLEN
Definition: ctfutb.idl:112
void * object
Definition: jmemsys.h:48
HRESULT OnThreadItemChange([in] DWORD dwThreadId)
HRESULT Show([in] BOOL fShow)