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
23 interface ITfLangBarEventSink;
24 interface ITfLangBarItemMgr;
25 interface ITfInputProcessorProfiles;
29 uuid(87955690-e627-11d2-8ddb-00105a2799b5),
30 pointer_default(unique)
32 interface ITfLangBarMgr: IUnknown
34 HRESULT AdviseEventSink(
35 [in] ITfLangBarEventSink *pSink,
38 [in] DWORD *pdwCookie);
40 HRESULT UnAdviseEventSink(
43 HRESULT GetThreadMarshalInterface(
44 [in] DWORD dwThreadId,
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,
63 HRESULT SetModalInput(
64 [in] ITfLangBarEventSink *pSink,
65 [in] DWORD dwThreadId,
71 HRESULT GetShowFloatingStatus(
72 [out] DWORD *pdwFlags);