/usr/include/wine/windows/ctfutb.idl is in libwine-dev 1.8.7-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 | /*
* Copyright 2010 Justin Chevrier
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef DO_NO_IMPORTS
import "oaidl.idl";
#endif
interface ITfLangBarEventSink;
interface ITfLangBarItemMgr;
interface ITfInputProcessorProfiles;
const ULONG TF_LBI_DESC_MAXLEN = 32;
typedef [uuid(12a1d29f-a065-440c-9746-eb2002c8bd19)] struct TF_LANGBARITEMINFO
{
CLSID clsidService;
GUID guidItem;
DWORD dwStyle;
ULONG ulSort;
WCHAR szDescription[TF_LBI_DESC_MAXLEN];
} TF_LANGBARITEMINFO;
[
object,
uuid(73540d69-edeb-4ee9-96c9-23aa30b25916),
pointer_default(unique),
]
interface ITfLangBarItem : IUnknown
{
HRESULT GetInfo(
[out] TF_LANGBARITEMINFO *pInfo);
HRESULT GetStatus(
[out] DWORD *pdwStatus);
HRESULT Show(
[in] BOOL fShow);
HRESULT GetTooltipString(
[out] BSTR *pbstrToolTip);
}
[
object,
uuid(583f34d0-de25-11d2-afdd-00105a2799b5),
pointer_default(unique),
]
interface IEnumTfLangBarItems : IUnknown
{
HRESULT Clone(
[out] IEnumTfLangBarItems **ppEnum);
HRESULT Next(
[in] ULONG ulCount,
[out, size_is(ulCount)] ITfLangBarItem **ppItem,
[in, out, unique] ULONG *pcFetched);
HRESULT Reset();
HRESULT Skip(
[in] ULONG ulCount);
}
[
object,
uuid(57dbe1a0-de25-11d2-afdd-00105a2799b5),
pointer_default(unique),
]
interface ITfLangBarItemSink : IUnknown
{
HRESULT OnUpdate(
[in] DWORD dwFlags);
}
[
object,
uuid(ba468c55-9956-4fb1-a59d-52a7dd7cc6aa),
pointer_default(unique),
]
interface ITfLangBarItemMgr : IUnknown
{
HRESULT EnumItems(
[out] IEnumTfLangBarItems **ppEnum);
HRESULT GetItem(
[in] REFGUID rguid,
[out] ITfLangBarItem **ppItem);
HRESULT AddItem(
[in] ITfLangBarItem *punk);
HRESULT RemoveItem(
[in] ITfLangBarItem *punk);
HRESULT AdviseItemSink(
[in] ITfLangBarItemSink *punk,
[out] DWORD *pdwCookie,
[in] REFGUID rguidItem);
HRESULT UnadviseItemSink(
[in] DWORD dwCookie);
HRESULT GetItemFloatingRect(
[in] DWORD dwThreadId,
[in] REFGUID rguid,
[out] RECT *prc);
HRESULT GetItemsStatus(
[in] ULONG ulCount,
[in, size_is(ulCount)] const GUID *prgguid,
[out, size_is(ulCount)] DWORD *pdwStatus);
HRESULT GetItemNum(
[out] ULONG *pulCount);
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 AdviseItemsSink(
[in] ULONG ulCount,
[in, size_is(ulCount)] ITfLangBarItemSink **ppunk,
[in, size_is(ulCount)] const GUID *pguidItem,
[out, size_is(ulCount)] DWORD *pdwCookie);
HRESULT UnadviseItemsSink(
[in] ULONG ulCount,
[in, size_is(ulCount)] DWORD *pdwCookie);
}
[
object,
uuid(87955690-e627-11d2-8ddb-00105a2799b5),
pointer_default(unique)
]
interface ITfLangBarMgr: IUnknown
{
HRESULT AdviseEventSink(
[in] ITfLangBarEventSink *pSink,
[in] HWND hwnd,
[in] DWORD dwflags,
[in] DWORD *pdwCookie);
HRESULT UnAdviseEventSink(
[in] DWORD dwCookie);
HRESULT GetThreadMarshalInterface(
[in] DWORD dwThreadId,
[in] DWORD dwType,
[in] REFIID riid,
[out] IUnknown **ppunk);
HRESULT GetThreadLangBarItemMgr(
[in] DWORD dwThreadId,
[out] ITfLangBarItemMgr **pplbie,
[out] DWORD *pdwThreadid);
HRESULT GetInputProcessorProfiles(
[in] DWORD dwThreadId,
[out] ITfInputProcessorProfiles **ppaip,
[out] DWORD *pdwThreadid);
HRESULT RestoreLastFocus(
[out] DWORD *dwThreadId,
[in] BOOL fPrev);
HRESULT SetModalInput(
[in] ITfLangBarEventSink *pSink,
[in] DWORD dwThreadId,
[in] DWORD dwFlags);
HRESULT ShowFloating(
[in] DWORD dwFlags);
HRESULT GetShowFloatingStatus(
[out] DWORD *pdwFlags);
}
[
object,
uuid(18a4e900-e0ae-11d2-afdd-00105a2799b5),
pointer_default(unique)
]
interface ITfLangBarEventSink: IUnknown
{
HRESULT OnSetFocus(
[in] DWORD dwThreadId);
HRESULT OnThreadTerminate(
[in] DWORD dwThreadId);
HRESULT OnThreadItemChange(
[in] DWORD dwThreadId);
HRESULT OnModalInput(
[in] DWORD dwThreadId,
[in] UINT uMsg,
[in] WPARAM wParam,
[in] LPARAM lParam);
HRESULT ShowFloating(
[in] DWORD dwFlags);
HRESULT GetItemFloatingRect(
[in] DWORD dwThreadId,
[in] REFGUID rguid,
[out] RECT *prc);
}
|