[PSDK]
[reactos.git] / include / psdk / ctfutb.idl
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 #endif
22
23 interface ITfLangBarEventSink;
24 interface ITfLangBarItemMgr;
25 interface ITfInputProcessorProfiles;
26
27 [
28 object,
29 uuid(87955690-e627-11d2-8ddb-00105a2799b5),
30 pointer_default(unique)
31 ]
32 interface ITfLangBarMgr: IUnknown
33 {
34 HRESULT AdviseEventSink(
35 [in] ITfLangBarEventSink *pSink,
36 [in] HWND hwnd,
37 [in] DWORD dwflags,
38 [in] DWORD *pdwCookie);
39
40 HRESULT UnAdviseEventSink(
41 [in] DWORD dwCookie);
42
43 HRESULT GetThreadMarshalInterface(
44 [in] DWORD dwThreadId,
45 [in] DWORD dwType,
46 [in] REFIID riid,
47 [out] IUnknown **ppunk);
48
49 HRESULT GetThreadLangBarItemMgr(
50 [in] DWORD dwThreadId,
51 [out] ITfLangBarItemMgr **pplbie,
52 [out] DWORD *pdwThreadid);
53
54 HRESULT GetInputProcessorProfiles(
55 [in] DWORD dwThreadId,
56 [out] ITfInputProcessorProfiles **ppaip,
57 [out] DWORD *pdwThreadid);
58
59 HRESULT RestoreLastFocus(
60 [out] DWORD *dwThreadId,
61 [in] BOOL fPrev);
62
63 HRESULT SetModalInput(
64 [in] ITfLangBarEventSink *pSink,
65 [in] DWORD dwThreadId,
66 [in] DWORD dwFlags);
67
68 HRESULT ShowFloating(
69 [in] DWORD dwFlags);
70
71 HRESULT GetShowFloatingStatus(
72 [out] DWORD *pdwFlags);
73 };