include: Specify calling convention explicitly in idl files where needed.
[wine/hramrach.git] / include / ctfutb.idl
blob6d80b3890ddeba55da19dc20a202a2a1d9be423f
1 /*
2 * Copyright 2010 Justin Chevrier
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.
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.
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
19 #ifndef DO_NO_IMPORTS
20 import "oaidl.idl";
21 #endif
23 interface ITfLangBarEventSink;
24 interface ITfLangBarItemMgr;
25 interface ITfInputProcessorProfiles;
28 object,
29 uuid(87955690-e627-11d2-8ddb-00105a2799b5),
30 pointer_default(unique)
32 interface ITfLangBarMgr: IUnknown
34 HRESULT AdviseEventSink(
35 [in] ITfLangBarEventSink *pSink,
36 [in] HWND hwnd,
37 [in] DWORD dwflags,
38 [in] DWORD *pdwCookie);
40 HRESULT UnAdviseEventSink(
41 [in] DWORD dwCookie);
43 HRESULT GetThreadMarshalInterface(
44 [in] DWORD dwThreadId,
45 [in] DWORD dwType,
46 [in] REFIID riid,
47 [out] IUnknown **ppunk);
49 HRESULT GetThreadLangBarItemMgr(
50 [in] DWORD dwThreadId,
51 [out] ITfLangBarItemMgr **pplbie,
52 [out] DWORD *pdwThreadid);
54 HRESULT GetInputProcessorProfiles(
55 [in] DWORD dwThreadId,
56 [out] ITfInputProcessorProfiles **ppaip,
57 [out] DWORD *pdwThreadid);
59 HRESULT RestoreLastFocus(
60 [out] DWORD *dwThreadId,
61 [in] BOOL fPrev);
63 HRESULT SetModalInput(
64 [in] ITfLangBarEventSink *pSink,
65 [in] DWORD dwThreadId,
66 [in] DWORD dwFlags);
68 HRESULT ShowFloating(
69 [in] DWORD dwFlags);
71 HRESULT GetShowFloatingStatus(
72 [out] DWORD *pdwFlags);