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 | /*
|
---|
20 | * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef DO_NO_IMPORTS
|
---|
29 | import "oaidl.idl";
|
---|
30 | #endif
|
---|
31 |
|
---|
32 | interface ITfLangBarEventSink;
|
---|
33 | interface ITfLangBarItemMgr;
|
---|
34 | interface ITfInputProcessorProfiles;
|
---|
35 |
|
---|
36 | [
|
---|
37 | object,
|
---|
38 | uuid(87955690-e627-11d2-8ddb-00105a2799b5),
|
---|
39 | pointer_default(unique)
|
---|
40 | ]
|
---|
41 | interface ITfLangBarMgr: IUnknown
|
---|
42 | {
|
---|
43 | HRESULT AdviseEventSink(
|
---|
44 | [in] ITfLangBarEventSink *pSink,
|
---|
45 | [in] HWND hwnd,
|
---|
46 | [in] DWORD dwflags,
|
---|
47 | [in] DWORD *pdwCookie);
|
---|
48 |
|
---|
49 | HRESULT UnAdviseEventSink(
|
---|
50 | [in] DWORD dwCookie);
|
---|
51 |
|
---|
52 | HRESULT GetThreadMarshalInterface(
|
---|
53 | [in] DWORD dwThreadId,
|
---|
54 | [in] DWORD dwType,
|
---|
55 | [in] REFIID riid,
|
---|
56 | [out] IUnknown **ppunk);
|
---|
57 |
|
---|
58 | HRESULT GetThreadLangBarItemMgr(
|
---|
59 | [in] DWORD dwThreadId,
|
---|
60 | [out] ITfLangBarItemMgr **pplbie,
|
---|
61 | [out] DWORD *pdwThreadid);
|
---|
62 |
|
---|
63 | HRESULT GetInputProcessorProfiles(
|
---|
64 | [in] DWORD dwThreadId,
|
---|
65 | [out] ITfInputProcessorProfiles **ppaip,
|
---|
66 | [out] DWORD *pdwThreadid);
|
---|
67 |
|
---|
68 | HRESULT RestoreLastFocus(
|
---|
69 | [out] DWORD *dwThreadId,
|
---|
70 | [in] BOOL fPrev);
|
---|
71 |
|
---|
72 | HRESULT SetModalInput(
|
---|
73 | [in] ITfLangBarEventSink *pSink,
|
---|
74 | [in] DWORD dwThreadId,
|
---|
75 | [in] DWORD dwFlags);
|
---|
76 |
|
---|
77 | HRESULT ShowFloating(
|
---|
78 | [in] DWORD dwFlags);
|
---|
79 |
|
---|
80 | HRESULT GetShowFloatingStatus(
|
---|
81 | [out] DWORD *pdwFlags);
|
---|
82 | };
|
---|