Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2886 lines
82 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0345 */
  4. /* Compiler settings for ctfutb.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __ctfutb_h__
  27. #define __ctfutb_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ITfLangBarMgr_FWD_DEFINED__
  33. #define __ITfLangBarMgr_FWD_DEFINED__
  34. typedef interface ITfLangBarMgr ITfLangBarMgr;
  35. #endif /* __ITfLangBarMgr_FWD_DEFINED__ */
  36. #ifndef __ITfLangBarEventSink_FWD_DEFINED__
  37. #define __ITfLangBarEventSink_FWD_DEFINED__
  38. typedef interface ITfLangBarEventSink ITfLangBarEventSink;
  39. #endif /* __ITfLangBarEventSink_FWD_DEFINED__ */
  40. #ifndef __ITfLangBarItemSink_FWD_DEFINED__
  41. #define __ITfLangBarItemSink_FWD_DEFINED__
  42. typedef interface ITfLangBarItemSink ITfLangBarItemSink;
  43. #endif /* __ITfLangBarItemSink_FWD_DEFINED__ */
  44. #ifndef __IEnumTfLangBarItems_FWD_DEFINED__
  45. #define __IEnumTfLangBarItems_FWD_DEFINED__
  46. typedef interface IEnumTfLangBarItems IEnumTfLangBarItems;
  47. #endif /* __IEnumTfLangBarItems_FWD_DEFINED__ */
  48. #ifndef __ITfLangBarItemMgr_FWD_DEFINED__
  49. #define __ITfLangBarItemMgr_FWD_DEFINED__
  50. typedef interface ITfLangBarItemMgr ITfLangBarItemMgr;
  51. #endif /* __ITfLangBarItemMgr_FWD_DEFINED__ */
  52. #ifndef __ITfLangBarItem_FWD_DEFINED__
  53. #define __ITfLangBarItem_FWD_DEFINED__
  54. typedef interface ITfLangBarItem ITfLangBarItem;
  55. #endif /* __ITfLangBarItem_FWD_DEFINED__ */
  56. #ifndef __ITfSystemLangBarItemSink_FWD_DEFINED__
  57. #define __ITfSystemLangBarItemSink_FWD_DEFINED__
  58. typedef interface ITfSystemLangBarItemSink ITfSystemLangBarItemSink;
  59. #endif /* __ITfSystemLangBarItemSink_FWD_DEFINED__ */
  60. #ifndef __ITfSystemLangBarItem_FWD_DEFINED__
  61. #define __ITfSystemLangBarItem_FWD_DEFINED__
  62. typedef interface ITfSystemLangBarItem ITfSystemLangBarItem;
  63. #endif /* __ITfSystemLangBarItem_FWD_DEFINED__ */
  64. #ifndef __ITfSystemDeviceTypeLangBarItem_FWD_DEFINED__
  65. #define __ITfSystemDeviceTypeLangBarItem_FWD_DEFINED__
  66. typedef interface ITfSystemDeviceTypeLangBarItem ITfSystemDeviceTypeLangBarItem;
  67. #endif /* __ITfSystemDeviceTypeLangBarItem_FWD_DEFINED__ */
  68. #ifndef __ITfLangBarItemButton_FWD_DEFINED__
  69. #define __ITfLangBarItemButton_FWD_DEFINED__
  70. typedef interface ITfLangBarItemButton ITfLangBarItemButton;
  71. #endif /* __ITfLangBarItemButton_FWD_DEFINED__ */
  72. #ifndef __ITfLangBarItemBitmapButton_FWD_DEFINED__
  73. #define __ITfLangBarItemBitmapButton_FWD_DEFINED__
  74. typedef interface ITfLangBarItemBitmapButton ITfLangBarItemBitmapButton;
  75. #endif /* __ITfLangBarItemBitmapButton_FWD_DEFINED__ */
  76. #ifndef __ITfLangBarItemBitmap_FWD_DEFINED__
  77. #define __ITfLangBarItemBitmap_FWD_DEFINED__
  78. typedef interface ITfLangBarItemBitmap ITfLangBarItemBitmap;
  79. #endif /* __ITfLangBarItemBitmap_FWD_DEFINED__ */
  80. #ifndef __ITfLangBarItemBalloon_FWD_DEFINED__
  81. #define __ITfLangBarItemBalloon_FWD_DEFINED__
  82. typedef interface ITfLangBarItemBalloon ITfLangBarItemBalloon;
  83. #endif /* __ITfLangBarItemBalloon_FWD_DEFINED__ */
  84. #ifndef __ITfMenu_FWD_DEFINED__
  85. #define __ITfMenu_FWD_DEFINED__
  86. typedef interface ITfMenu ITfMenu;
  87. #endif /* __ITfMenu_FWD_DEFINED__ */
  88. /* header files for imported files */
  89. #include "oaidl.h"
  90. #include "msctf.h"
  91. #ifdef __cplusplus
  92. extern "C"{
  93. #endif
  94. void * __RPC_USER MIDL_user_allocate(size_t);
  95. void __RPC_USER MIDL_user_free( void * );
  96. /* interface __MIDL_itf_ctfutb_0000 */
  97. /* [local] */
  98. //=--------------------------------------------------------------------------=
  99. // ctfutb.h
  100. // CTF declarations.
  101. //=--------------------------------------------------------------------------=
  102. // (C) Copyright 1995-1999 Microsoft Corporation. All Rights Reserved.
  103. //
  104. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  105. // ANY KIND, EITHER EXPRESSED OR TFPLIED, INCLUDING BUT NOT LIMITED TO
  106. // THE TFPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  107. // PARTICULAR PURPOSE.
  108. //=--------------------------------------------------------------------------=
  109. #ifndef CTFUTB_DEFINED
  110. #define CTFUTB_DEFINED
  111. #include <windows.h>
  112. #ifdef __cplusplus
  113. extern "C" {
  114. #endif /* __cplusplus */
  115. #define TF_FLOATINGLANGBAR_WNDTITLEW L"TF_FloatingLangBar_WndTitle"
  116. #define TF_FLOATINGLANGBAR_WNDTITLEA "TF_FloatingLangBar_WndTitle"
  117. #ifdef UNICODE
  118. #define TF_FLOATINGLANGBAR_WNDTITLE TF_FLOATINGLANGBAR_WNDTITLEW
  119. #else
  120. #define TF_FLOATINGLANGBAR_WNDTITLE TF_FLOATINGLANGBAR_WNDTITLEA
  121. #endif
  122. #define TF_LBI_ICON 0x00000001
  123. #define TF_LBI_TEXT 0x00000002
  124. #define TF_LBI_TOOLTIP 0x00000004
  125. #define TF_LBI_BITMAP 0x00000008
  126. #define TF_LBI_BTNALL 0x00000007
  127. #define TF_LBI_BMPBTNALL 0x0000000b
  128. #define TF_LBI_BMPALL 0x0000000c
  129. #define TF_LBI_BALLOON 0x00000010
  130. #define TF_LBI_STATUS 0x00010000
  131. #define TF_LBI_STYLE_HIDDENSTATUSCONTROL 0x00000001
  132. #define TF_LBI_STYLE_SHOWNINTRAY 0x00000002
  133. #define TF_LBI_STYLE_HIDEONNOOTHERITEMS 0x00000004
  134. #define TF_LBI_STYLE_SHOWNINTRAYONLY 0x00000008
  135. #define TF_LBI_STYLE_HIDDENBYDEFAULT 0x00000010
  136. #define TF_LBI_STYLE_BTN_BUTTON 0x00010000
  137. #define TF_LBI_STYLE_BTN_MENU 0x00020000
  138. #define TF_LBI_STYLE_BTN_TOGGLE 0x00040000
  139. #define TF_LBI_STATUS_HIDDEN 0x00000001
  140. #define TF_LBI_STATUS_DISABLED 0x00000002
  141. #define TF_LBI_STATUS_BTN_TOGGLED 0x00010000
  142. #define TF_LBI_BMPF_VERTICAL 0x00000001
  143. #define TF_SFT_SHOWNORMAL 0x00000001
  144. #define TF_SFT_DOCK 0x00000002
  145. #define TF_SFT_MINIMIZED 0x00000004
  146. #define TF_SFT_HIDDEN 0x00000008
  147. #define TF_SFT_NOTRANSPARENCY 0x00000010
  148. #define TF_SFT_LOWTRANSPARENCY 0x00000020
  149. #define TF_SFT_HIGHTRANSPARENCY 0x00000040
  150. #define TF_SFT_LABELS 0x00000080
  151. #define TF_SFT_NOLABELS 0x00000100
  152. #define TF_SFT_EXTRAICONSONMINIMIZED 0x00000200
  153. #define TF_SFT_NOEXTRAICONSONMINIMIZED 0x00000400
  154. #define TF_INVALIDMENUITEM (UINT)(-1)
  155. #define TF_DTLBI_USEPROFILEICON 0x00000001
  156. #ifdef __cplusplus
  157. }
  158. #endif /* __cplusplus */
  159. extern RPC_IF_HANDLE __MIDL_itf_ctfutb_0000_v0_0_c_ifspec;
  160. extern RPC_IF_HANDLE __MIDL_itf_ctfutb_0000_v0_0_s_ifspec;
  161. #ifndef __ITfLangBarMgr_INTERFACE_DEFINED__
  162. #define __ITfLangBarMgr_INTERFACE_DEFINED__
  163. /* interface ITfLangBarMgr */
  164. /* [unique][uuid][local][object] */
  165. #define TF_LBESF_GLOBAL ( 0x1 )
  166. #define TF_LBESF_FLOATING ( 0x2 )
  167. #define TF_LBSMI_FILTERCURRENTTHREAD ( 0x1 )
  168. EXTERN_C const IID IID_ITfLangBarMgr;
  169. #if defined(__cplusplus) && !defined(CINTERFACE)
  170. MIDL_INTERFACE("87955690-e627-11d2-8ddb-00105a2799b5")
  171. ITfLangBarMgr : public IUnknown
  172. {
  173. public:
  174. virtual HRESULT STDMETHODCALLTYPE AdviseEventSink(
  175. /* [in] */ ITfLangBarEventSink *pSink,
  176. /* [in] */ HWND hwnd,
  177. /* [in] */ DWORD dwFlags,
  178. /* [in] */ DWORD *pdwCookie) = 0;
  179. virtual HRESULT STDMETHODCALLTYPE UnadviseEventSink(
  180. /* [in] */ DWORD dwCookie) = 0;
  181. virtual HRESULT STDMETHODCALLTYPE GetThreadMarshalInterface(
  182. /* [in] */ DWORD dwThreadId,
  183. /* [in] */ DWORD dwType,
  184. /* [in] */ REFIID riid,
  185. /* [iid_is][out] */ IUnknown **ppunk) = 0;
  186. virtual HRESULT STDMETHODCALLTYPE GetThreadLangBarItemMgr(
  187. /* [in] */ DWORD dwThreadId,
  188. /* [out] */ ITfLangBarItemMgr **pplbi,
  189. /* [out] */ DWORD *pdwThreadid) = 0;
  190. virtual HRESULT STDMETHODCALLTYPE GetInputProcessorProfiles(
  191. /* [in] */ DWORD dwThreadId,
  192. /* [out] */ ITfInputProcessorProfiles **ppaip,
  193. /* [out] */ DWORD *pdwThreadid) = 0;
  194. virtual HRESULT STDMETHODCALLTYPE RestoreLastFocus(
  195. DWORD *pdwThreadId,
  196. BOOL fPrev) = 0;
  197. virtual HRESULT STDMETHODCALLTYPE SetModalInput(
  198. /* [in] */ ITfLangBarEventSink *pSink,
  199. /* [in] */ DWORD dwThreadId,
  200. /* [in] */ DWORD dwFlags) = 0;
  201. virtual HRESULT STDMETHODCALLTYPE ShowFloating(
  202. DWORD dwFlags) = 0;
  203. virtual HRESULT STDMETHODCALLTYPE GetShowFloatingStatus(
  204. DWORD *pdwFlags) = 0;
  205. };
  206. #else /* C style interface */
  207. typedef struct ITfLangBarMgrVtbl
  208. {
  209. BEGIN_INTERFACE
  210. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  211. ITfLangBarMgr * This,
  212. /* [in] */ REFIID riid,
  213. /* [iid_is][out] */ void **ppvObject);
  214. ULONG ( STDMETHODCALLTYPE *AddRef )(
  215. ITfLangBarMgr * This);
  216. ULONG ( STDMETHODCALLTYPE *Release )(
  217. ITfLangBarMgr * This);
  218. HRESULT ( STDMETHODCALLTYPE *AdviseEventSink )(
  219. ITfLangBarMgr * This,
  220. /* [in] */ ITfLangBarEventSink *pSink,
  221. /* [in] */ HWND hwnd,
  222. /* [in] */ DWORD dwFlags,
  223. /* [in] */ DWORD *pdwCookie);
  224. HRESULT ( STDMETHODCALLTYPE *UnadviseEventSink )(
  225. ITfLangBarMgr * This,
  226. /* [in] */ DWORD dwCookie);
  227. HRESULT ( STDMETHODCALLTYPE *GetThreadMarshalInterface )(
  228. ITfLangBarMgr * This,
  229. /* [in] */ DWORD dwThreadId,
  230. /* [in] */ DWORD dwType,
  231. /* [in] */ REFIID riid,
  232. /* [iid_is][out] */ IUnknown **ppunk);
  233. HRESULT ( STDMETHODCALLTYPE *GetThreadLangBarItemMgr )(
  234. ITfLangBarMgr * This,
  235. /* [in] */ DWORD dwThreadId,
  236. /* [out] */ ITfLangBarItemMgr **pplbi,
  237. /* [out] */ DWORD *pdwThreadid);
  238. HRESULT ( STDMETHODCALLTYPE *GetInputProcessorProfiles )(
  239. ITfLangBarMgr * This,
  240. /* [in] */ DWORD dwThreadId,
  241. /* [out] */ ITfInputProcessorProfiles **ppaip,
  242. /* [out] */ DWORD *pdwThreadid);
  243. HRESULT ( STDMETHODCALLTYPE *RestoreLastFocus )(
  244. ITfLangBarMgr * This,
  245. DWORD *pdwThreadId,
  246. BOOL fPrev);
  247. HRESULT ( STDMETHODCALLTYPE *SetModalInput )(
  248. ITfLangBarMgr * This,
  249. /* [in] */ ITfLangBarEventSink *pSink,
  250. /* [in] */ DWORD dwThreadId,
  251. /* [in] */ DWORD dwFlags);
  252. HRESULT ( STDMETHODCALLTYPE *ShowFloating )(
  253. ITfLangBarMgr * This,
  254. DWORD dwFlags);
  255. HRESULT ( STDMETHODCALLTYPE *GetShowFloatingStatus )(
  256. ITfLangBarMgr * This,
  257. DWORD *pdwFlags);
  258. END_INTERFACE
  259. } ITfLangBarMgrVtbl;
  260. interface ITfLangBarMgr
  261. {
  262. CONST_VTBL struct ITfLangBarMgrVtbl *lpVtbl;
  263. };
  264. #ifdef COBJMACROS
  265. #define ITfLangBarMgr_QueryInterface(This,riid,ppvObject) \
  266. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  267. #define ITfLangBarMgr_AddRef(This) \
  268. (This)->lpVtbl -> AddRef(This)
  269. #define ITfLangBarMgr_Release(This) \
  270. (This)->lpVtbl -> Release(This)
  271. #define ITfLangBarMgr_AdviseEventSink(This,pSink,hwnd,dwFlags,pdwCookie) \
  272. (This)->lpVtbl -> AdviseEventSink(This,pSink,hwnd,dwFlags,pdwCookie)
  273. #define ITfLangBarMgr_UnadviseEventSink(This,dwCookie) \
  274. (This)->lpVtbl -> UnadviseEventSink(This,dwCookie)
  275. #define ITfLangBarMgr_GetThreadMarshalInterface(This,dwThreadId,dwType,riid,ppunk) \
  276. (This)->lpVtbl -> GetThreadMarshalInterface(This,dwThreadId,dwType,riid,ppunk)
  277. #define ITfLangBarMgr_GetThreadLangBarItemMgr(This,dwThreadId,pplbi,pdwThreadid) \
  278. (This)->lpVtbl -> GetThreadLangBarItemMgr(This,dwThreadId,pplbi,pdwThreadid)
  279. #define ITfLangBarMgr_GetInputProcessorProfiles(This,dwThreadId,ppaip,pdwThreadid) \
  280. (This)->lpVtbl -> GetInputProcessorProfiles(This,dwThreadId,ppaip,pdwThreadid)
  281. #define ITfLangBarMgr_RestoreLastFocus(This,pdwThreadId,fPrev) \
  282. (This)->lpVtbl -> RestoreLastFocus(This,pdwThreadId,fPrev)
  283. #define ITfLangBarMgr_SetModalInput(This,pSink,dwThreadId,dwFlags) \
  284. (This)->lpVtbl -> SetModalInput(This,pSink,dwThreadId,dwFlags)
  285. #define ITfLangBarMgr_ShowFloating(This,dwFlags) \
  286. (This)->lpVtbl -> ShowFloating(This,dwFlags)
  287. #define ITfLangBarMgr_GetShowFloatingStatus(This,pdwFlags) \
  288. (This)->lpVtbl -> GetShowFloatingStatus(This,pdwFlags)
  289. #endif /* COBJMACROS */
  290. #endif /* C style interface */
  291. HRESULT STDMETHODCALLTYPE ITfLangBarMgr_AdviseEventSink_Proxy(
  292. ITfLangBarMgr * This,
  293. /* [in] */ ITfLangBarEventSink *pSink,
  294. /* [in] */ HWND hwnd,
  295. /* [in] */ DWORD dwFlags,
  296. /* [in] */ DWORD *pdwCookie);
  297. void __RPC_STUB ITfLangBarMgr_AdviseEventSink_Stub(
  298. IRpcStubBuffer *This,
  299. IRpcChannelBuffer *_pRpcChannelBuffer,
  300. PRPC_MESSAGE _pRpcMessage,
  301. DWORD *_pdwStubPhase);
  302. HRESULT STDMETHODCALLTYPE ITfLangBarMgr_UnadviseEventSink_Proxy(
  303. ITfLangBarMgr * This,
  304. /* [in] */ DWORD dwCookie);
  305. void __RPC_STUB ITfLangBarMgr_UnadviseEventSink_Stub(
  306. IRpcStubBuffer *This,
  307. IRpcChannelBuffer *_pRpcChannelBuffer,
  308. PRPC_MESSAGE _pRpcMessage,
  309. DWORD *_pdwStubPhase);
  310. HRESULT STDMETHODCALLTYPE ITfLangBarMgr_GetThreadMarshalInterface_Proxy(
  311. ITfLangBarMgr * This,
  312. /* [in] */ DWORD dwThreadId,
  313. /* [in] */ DWORD dwType,
  314. /* [in] */ REFIID riid,
  315. /* [iid_is][out] */ IUnknown **ppunk);
  316. void __RPC_STUB ITfLangBarMgr_GetThreadMarshalInterface_Stub(
  317. IRpcStubBuffer *This,
  318. IRpcChannelBuffer *_pRpcChannelBuffer,
  319. PRPC_MESSAGE _pRpcMessage,
  320. DWORD *_pdwStubPhase);
  321. HRESULT STDMETHODCALLTYPE ITfLangBarMgr_GetThreadLangBarItemMgr_Proxy(
  322. ITfLangBarMgr * This,
  323. /* [in] */ DWORD dwThreadId,
  324. /* [out] */ ITfLangBarItemMgr **pplbi,
  325. /* [out] */ DWORD *pdwThreadid);
  326. void __RPC_STUB ITfLangBarMgr_GetThreadLangBarItemMgr_Stub(
  327. IRpcStubBuffer *This,
  328. IRpcChannelBuffer *_pRpcChannelBuffer,
  329. PRPC_MESSAGE _pRpcMessage,
  330. DWORD *_pdwStubPhase);
  331. HRESULT STDMETHODCALLTYPE ITfLangBarMgr_GetInputProcessorProfiles_Proxy(
  332. ITfLangBarMgr * This,
  333. /* [in] */ DWORD dwThreadId,
  334. /* [out] */ ITfInputProcessorProfiles **ppaip,
  335. /* [out] */ DWORD *pdwThreadid);
  336. void __RPC_STUB ITfLangBarMgr_GetInputProcessorProfiles_Stub(
  337. IRpcStubBuffer *This,
  338. IRpcChannelBuffer *_pRpcChannelBuffer,
  339. PRPC_MESSAGE _pRpcMessage,
  340. DWORD *_pdwStubPhase);
  341. HRESULT STDMETHODCALLTYPE ITfLangBarMgr_RestoreLastFocus_Proxy(
  342. ITfLangBarMgr * This,
  343. DWORD *pdwThreadId,
  344. BOOL fPrev);
  345. void __RPC_STUB ITfLangBarMgr_RestoreLastFocus_Stub(
  346. IRpcStubBuffer *This,
  347. IRpcChannelBuffer *_pRpcChannelBuffer,
  348. PRPC_MESSAGE _pRpcMessage,
  349. DWORD *_pdwStubPhase);
  350. HRESULT STDMETHODCALLTYPE ITfLangBarMgr_SetModalInput_Proxy(
  351. ITfLangBarMgr * This,
  352. /* [in] */ ITfLangBarEventSink *pSink,
  353. /* [in] */ DWORD dwThreadId,
  354. /* [in] */ DWORD dwFlags);
  355. void __RPC_STUB ITfLangBarMgr_SetModalInput_Stub(
  356. IRpcStubBuffer *This,
  357. IRpcChannelBuffer *_pRpcChannelBuffer,
  358. PRPC_MESSAGE _pRpcMessage,
  359. DWORD *_pdwStubPhase);
  360. HRESULT STDMETHODCALLTYPE ITfLangBarMgr_ShowFloating_Proxy(
  361. ITfLangBarMgr * This,
  362. DWORD dwFlags);
  363. void __RPC_STUB ITfLangBarMgr_ShowFloating_Stub(
  364. IRpcStubBuffer *This,
  365. IRpcChannelBuffer *_pRpcChannelBuffer,
  366. PRPC_MESSAGE _pRpcMessage,
  367. DWORD *_pdwStubPhase);
  368. HRESULT STDMETHODCALLTYPE ITfLangBarMgr_GetShowFloatingStatus_Proxy(
  369. ITfLangBarMgr * This,
  370. DWORD *pdwFlags);
  371. void __RPC_STUB ITfLangBarMgr_GetShowFloatingStatus_Stub(
  372. IRpcStubBuffer *This,
  373. IRpcChannelBuffer *_pRpcChannelBuffer,
  374. PRPC_MESSAGE _pRpcMessage,
  375. DWORD *_pdwStubPhase);
  376. #endif /* __ITfLangBarMgr_INTERFACE_DEFINED__ */
  377. #ifndef __ITfLangBarEventSink_INTERFACE_DEFINED__
  378. #define __ITfLangBarEventSink_INTERFACE_DEFINED__
  379. /* interface ITfLangBarEventSink */
  380. /* [unique][uuid][object] */
  381. EXTERN_C const IID IID_ITfLangBarEventSink;
  382. #if defined(__cplusplus) && !defined(CINTERFACE)
  383. MIDL_INTERFACE("18a4e900-e0ae-11d2-afdd-00105a2799b5")
  384. ITfLangBarEventSink : public IUnknown
  385. {
  386. public:
  387. virtual HRESULT STDMETHODCALLTYPE OnSetFocus(
  388. /* [in] */ DWORD dwThreadId) = 0;
  389. virtual HRESULT STDMETHODCALLTYPE OnThreadTerminate(
  390. /* [in] */ DWORD dwThreadId) = 0;
  391. virtual HRESULT STDMETHODCALLTYPE OnThreadItemChange(
  392. /* [in] */ DWORD dwThreadId) = 0;
  393. virtual HRESULT STDMETHODCALLTYPE OnModalInput(
  394. /* [in] */ DWORD dwThreadId,
  395. /* [in] */ UINT uMsg,
  396. /* [in] */ WPARAM wParam,
  397. /* [in] */ LPARAM lParam) = 0;
  398. virtual HRESULT STDMETHODCALLTYPE ShowFloating(
  399. /* [in] */ DWORD dwFlags) = 0;
  400. virtual HRESULT STDMETHODCALLTYPE GetItemFloatingRect(
  401. /* [in] */ DWORD dwThreadId,
  402. /* [in] */ REFGUID rguid,
  403. /* [out] */ RECT *prc) = 0;
  404. };
  405. #else /* C style interface */
  406. typedef struct ITfLangBarEventSinkVtbl
  407. {
  408. BEGIN_INTERFACE
  409. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  410. ITfLangBarEventSink * This,
  411. /* [in] */ REFIID riid,
  412. /* [iid_is][out] */ void **ppvObject);
  413. ULONG ( STDMETHODCALLTYPE *AddRef )(
  414. ITfLangBarEventSink * This);
  415. ULONG ( STDMETHODCALLTYPE *Release )(
  416. ITfLangBarEventSink * This);
  417. HRESULT ( STDMETHODCALLTYPE *OnSetFocus )(
  418. ITfLangBarEventSink * This,
  419. /* [in] */ DWORD dwThreadId);
  420. HRESULT ( STDMETHODCALLTYPE *OnThreadTerminate )(
  421. ITfLangBarEventSink * This,
  422. /* [in] */ DWORD dwThreadId);
  423. HRESULT ( STDMETHODCALLTYPE *OnThreadItemChange )(
  424. ITfLangBarEventSink * This,
  425. /* [in] */ DWORD dwThreadId);
  426. HRESULT ( STDMETHODCALLTYPE *OnModalInput )(
  427. ITfLangBarEventSink * This,
  428. /* [in] */ DWORD dwThreadId,
  429. /* [in] */ UINT uMsg,
  430. /* [in] */ WPARAM wParam,
  431. /* [in] */ LPARAM lParam);
  432. HRESULT ( STDMETHODCALLTYPE *ShowFloating )(
  433. ITfLangBarEventSink * This,
  434. /* [in] */ DWORD dwFlags);
  435. HRESULT ( STDMETHODCALLTYPE *GetItemFloatingRect )(
  436. ITfLangBarEventSink * This,
  437. /* [in] */ DWORD dwThreadId,
  438. /* [in] */ REFGUID rguid,
  439. /* [out] */ RECT *prc);
  440. END_INTERFACE
  441. } ITfLangBarEventSinkVtbl;
  442. interface ITfLangBarEventSink
  443. {
  444. CONST_VTBL struct ITfLangBarEventSinkVtbl *lpVtbl;
  445. };
  446. #ifdef COBJMACROS
  447. #define ITfLangBarEventSink_QueryInterface(This,riid,ppvObject) \
  448. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  449. #define ITfLangBarEventSink_AddRef(This) \
  450. (This)->lpVtbl -> AddRef(This)
  451. #define ITfLangBarEventSink_Release(This) \
  452. (This)->lpVtbl -> Release(This)
  453. #define ITfLangBarEventSink_OnSetFocus(This,dwThreadId) \
  454. (This)->lpVtbl -> OnSetFocus(This,dwThreadId)
  455. #define ITfLangBarEventSink_OnThreadTerminate(This,dwThreadId) \
  456. (This)->lpVtbl -> OnThreadTerminate(This,dwThreadId)
  457. #define ITfLangBarEventSink_OnThreadItemChange(This,dwThreadId) \
  458. (This)->lpVtbl -> OnThreadItemChange(This,dwThreadId)
  459. #define ITfLangBarEventSink_OnModalInput(This,dwThreadId,uMsg,wParam,lParam) \
  460. (This)->lpVtbl -> OnModalInput(This,dwThreadId,uMsg,wParam,lParam)
  461. #define ITfLangBarEventSink_ShowFloating(This,dwFlags) \
  462. (This)->lpVtbl -> ShowFloating(This,dwFlags)
  463. #define ITfLangBarEventSink_GetItemFloatingRect(This,dwThreadId,rguid,prc) \
  464. (This)->lpVtbl -> GetItemFloatingRect(This,dwThreadId,rguid,prc)
  465. #endif /* COBJMACROS */
  466. #endif /* C style interface */
  467. HRESULT STDMETHODCALLTYPE ITfLangBarEventSink_OnSetFocus_Proxy(
  468. ITfLangBarEventSink * This,
  469. /* [in] */ DWORD dwThreadId);
  470. void __RPC_STUB ITfLangBarEventSink_OnSetFocus_Stub(
  471. IRpcStubBuffer *This,
  472. IRpcChannelBuffer *_pRpcChannelBuffer,
  473. PRPC_MESSAGE _pRpcMessage,
  474. DWORD *_pdwStubPhase);
  475. HRESULT STDMETHODCALLTYPE ITfLangBarEventSink_OnThreadTerminate_Proxy(
  476. ITfLangBarEventSink * This,
  477. /* [in] */ DWORD dwThreadId);
  478. void __RPC_STUB ITfLangBarEventSink_OnThreadTerminate_Stub(
  479. IRpcStubBuffer *This,
  480. IRpcChannelBuffer *_pRpcChannelBuffer,
  481. PRPC_MESSAGE _pRpcMessage,
  482. DWORD *_pdwStubPhase);
  483. HRESULT STDMETHODCALLTYPE ITfLangBarEventSink_OnThreadItemChange_Proxy(
  484. ITfLangBarEventSink * This,
  485. /* [in] */ DWORD dwThreadId);
  486. void __RPC_STUB ITfLangBarEventSink_OnThreadItemChange_Stub(
  487. IRpcStubBuffer *This,
  488. IRpcChannelBuffer *_pRpcChannelBuffer,
  489. PRPC_MESSAGE _pRpcMessage,
  490. DWORD *_pdwStubPhase);
  491. HRESULT STDMETHODCALLTYPE ITfLangBarEventSink_OnModalInput_Proxy(
  492. ITfLangBarEventSink * This,
  493. /* [in] */ DWORD dwThreadId,
  494. /* [in] */ UINT uMsg,
  495. /* [in] */ WPARAM wParam,
  496. /* [in] */ LPARAM lParam);
  497. void __RPC_STUB ITfLangBarEventSink_OnModalInput_Stub(
  498. IRpcStubBuffer *This,
  499. IRpcChannelBuffer *_pRpcChannelBuffer,
  500. PRPC_MESSAGE _pRpcMessage,
  501. DWORD *_pdwStubPhase);
  502. HRESULT STDMETHODCALLTYPE ITfLangBarEventSink_ShowFloating_Proxy(
  503. ITfLangBarEventSink * This,
  504. /* [in] */ DWORD dwFlags);
  505. void __RPC_STUB ITfLangBarEventSink_ShowFloating_Stub(
  506. IRpcStubBuffer *This,
  507. IRpcChannelBuffer *_pRpcChannelBuffer,
  508. PRPC_MESSAGE _pRpcMessage,
  509. DWORD *_pdwStubPhase);
  510. HRESULT STDMETHODCALLTYPE ITfLangBarEventSink_GetItemFloatingRect_Proxy(
  511. ITfLangBarEventSink * This,
  512. /* [in] */ DWORD dwThreadId,
  513. /* [in] */ REFGUID rguid,
  514. /* [out] */ RECT *prc);
  515. void __RPC_STUB ITfLangBarEventSink_GetItemFloatingRect_Stub(
  516. IRpcStubBuffer *This,
  517. IRpcChannelBuffer *_pRpcChannelBuffer,
  518. PRPC_MESSAGE _pRpcMessage,
  519. DWORD *_pdwStubPhase);
  520. #endif /* __ITfLangBarEventSink_INTERFACE_DEFINED__ */
  521. #ifndef __ITfLangBarItemSink_INTERFACE_DEFINED__
  522. #define __ITfLangBarItemSink_INTERFACE_DEFINED__
  523. /* interface ITfLangBarItemSink */
  524. /* [unique][uuid][object] */
  525. EXTERN_C const IID IID_ITfLangBarItemSink;
  526. #if defined(__cplusplus) && !defined(CINTERFACE)
  527. MIDL_INTERFACE("57dbe1a0-de25-11d2-afdd-00105a2799b5")
  528. ITfLangBarItemSink : public IUnknown
  529. {
  530. public:
  531. virtual HRESULT STDMETHODCALLTYPE OnUpdate(
  532. DWORD dwFlags) = 0;
  533. };
  534. #else /* C style interface */
  535. typedef struct ITfLangBarItemSinkVtbl
  536. {
  537. BEGIN_INTERFACE
  538. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  539. ITfLangBarItemSink * This,
  540. /* [in] */ REFIID riid,
  541. /* [iid_is][out] */ void **ppvObject);
  542. ULONG ( STDMETHODCALLTYPE *AddRef )(
  543. ITfLangBarItemSink * This);
  544. ULONG ( STDMETHODCALLTYPE *Release )(
  545. ITfLangBarItemSink * This);
  546. HRESULT ( STDMETHODCALLTYPE *OnUpdate )(
  547. ITfLangBarItemSink * This,
  548. DWORD dwFlags);
  549. END_INTERFACE
  550. } ITfLangBarItemSinkVtbl;
  551. interface ITfLangBarItemSink
  552. {
  553. CONST_VTBL struct ITfLangBarItemSinkVtbl *lpVtbl;
  554. };
  555. #ifdef COBJMACROS
  556. #define ITfLangBarItemSink_QueryInterface(This,riid,ppvObject) \
  557. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  558. #define ITfLangBarItemSink_AddRef(This) \
  559. (This)->lpVtbl -> AddRef(This)
  560. #define ITfLangBarItemSink_Release(This) \
  561. (This)->lpVtbl -> Release(This)
  562. #define ITfLangBarItemSink_OnUpdate(This,dwFlags) \
  563. (This)->lpVtbl -> OnUpdate(This,dwFlags)
  564. #endif /* COBJMACROS */
  565. #endif /* C style interface */
  566. HRESULT STDMETHODCALLTYPE ITfLangBarItemSink_OnUpdate_Proxy(
  567. ITfLangBarItemSink * This,
  568. DWORD dwFlags);
  569. void __RPC_STUB ITfLangBarItemSink_OnUpdate_Stub(
  570. IRpcStubBuffer *This,
  571. IRpcChannelBuffer *_pRpcChannelBuffer,
  572. PRPC_MESSAGE _pRpcMessage,
  573. DWORD *_pdwStubPhase);
  574. #endif /* __ITfLangBarItemSink_INTERFACE_DEFINED__ */
  575. #ifndef __IEnumTfLangBarItems_INTERFACE_DEFINED__
  576. #define __IEnumTfLangBarItems_INTERFACE_DEFINED__
  577. /* interface IEnumTfLangBarItems */
  578. /* [unique][uuid][object] */
  579. EXTERN_C const IID IID_IEnumTfLangBarItems;
  580. #if defined(__cplusplus) && !defined(CINTERFACE)
  581. MIDL_INTERFACE("583f34d0-de25-11d2-afdd-00105a2799b5")
  582. IEnumTfLangBarItems : public IUnknown
  583. {
  584. public:
  585. virtual HRESULT STDMETHODCALLTYPE Clone(
  586. /* [out] */ IEnumTfLangBarItems **ppEnum) = 0;
  587. virtual HRESULT STDMETHODCALLTYPE Next(
  588. /* [in] */ ULONG ulCount,
  589. /* [size_is][out] */ ITfLangBarItem **ppItem,
  590. /* [unique][out][in] */ ULONG *pcFetched) = 0;
  591. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  592. virtual HRESULT STDMETHODCALLTYPE Skip(
  593. /* [in] */ ULONG ulCount) = 0;
  594. };
  595. #else /* C style interface */
  596. typedef struct IEnumTfLangBarItemsVtbl
  597. {
  598. BEGIN_INTERFACE
  599. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  600. IEnumTfLangBarItems * This,
  601. /* [in] */ REFIID riid,
  602. /* [iid_is][out] */ void **ppvObject);
  603. ULONG ( STDMETHODCALLTYPE *AddRef )(
  604. IEnumTfLangBarItems * This);
  605. ULONG ( STDMETHODCALLTYPE *Release )(
  606. IEnumTfLangBarItems * This);
  607. HRESULT ( STDMETHODCALLTYPE *Clone )(
  608. IEnumTfLangBarItems * This,
  609. /* [out] */ IEnumTfLangBarItems **ppEnum);
  610. HRESULT ( STDMETHODCALLTYPE *Next )(
  611. IEnumTfLangBarItems * This,
  612. /* [in] */ ULONG ulCount,
  613. /* [size_is][out] */ ITfLangBarItem **ppItem,
  614. /* [unique][out][in] */ ULONG *pcFetched);
  615. HRESULT ( STDMETHODCALLTYPE *Reset )(
  616. IEnumTfLangBarItems * This);
  617. HRESULT ( STDMETHODCALLTYPE *Skip )(
  618. IEnumTfLangBarItems * This,
  619. /* [in] */ ULONG ulCount);
  620. END_INTERFACE
  621. } IEnumTfLangBarItemsVtbl;
  622. interface IEnumTfLangBarItems
  623. {
  624. CONST_VTBL struct IEnumTfLangBarItemsVtbl *lpVtbl;
  625. };
  626. #ifdef COBJMACROS
  627. #define IEnumTfLangBarItems_QueryInterface(This,riid,ppvObject) \
  628. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  629. #define IEnumTfLangBarItems_AddRef(This) \
  630. (This)->lpVtbl -> AddRef(This)
  631. #define IEnumTfLangBarItems_Release(This) \
  632. (This)->lpVtbl -> Release(This)
  633. #define IEnumTfLangBarItems_Clone(This,ppEnum) \
  634. (This)->lpVtbl -> Clone(This,ppEnum)
  635. #define IEnumTfLangBarItems_Next(This,ulCount,ppItem,pcFetched) \
  636. (This)->lpVtbl -> Next(This,ulCount,ppItem,pcFetched)
  637. #define IEnumTfLangBarItems_Reset(This) \
  638. (This)->lpVtbl -> Reset(This)
  639. #define IEnumTfLangBarItems_Skip(This,ulCount) \
  640. (This)->lpVtbl -> Skip(This,ulCount)
  641. #endif /* COBJMACROS */
  642. #endif /* C style interface */
  643. HRESULT STDMETHODCALLTYPE IEnumTfLangBarItems_Clone_Proxy(
  644. IEnumTfLangBarItems * This,
  645. /* [out] */ IEnumTfLangBarItems **ppEnum);
  646. void __RPC_STUB IEnumTfLangBarItems_Clone_Stub(
  647. IRpcStubBuffer *This,
  648. IRpcChannelBuffer *_pRpcChannelBuffer,
  649. PRPC_MESSAGE _pRpcMessage,
  650. DWORD *_pdwStubPhase);
  651. HRESULT STDMETHODCALLTYPE IEnumTfLangBarItems_Next_Proxy(
  652. IEnumTfLangBarItems * This,
  653. /* [in] */ ULONG ulCount,
  654. /* [size_is][out] */ ITfLangBarItem **ppItem,
  655. /* [unique][out][in] */ ULONG *pcFetched);
  656. void __RPC_STUB IEnumTfLangBarItems_Next_Stub(
  657. IRpcStubBuffer *This,
  658. IRpcChannelBuffer *_pRpcChannelBuffer,
  659. PRPC_MESSAGE _pRpcMessage,
  660. DWORD *_pdwStubPhase);
  661. HRESULT STDMETHODCALLTYPE IEnumTfLangBarItems_Reset_Proxy(
  662. IEnumTfLangBarItems * This);
  663. void __RPC_STUB IEnumTfLangBarItems_Reset_Stub(
  664. IRpcStubBuffer *This,
  665. IRpcChannelBuffer *_pRpcChannelBuffer,
  666. PRPC_MESSAGE _pRpcMessage,
  667. DWORD *_pdwStubPhase);
  668. HRESULT STDMETHODCALLTYPE IEnumTfLangBarItems_Skip_Proxy(
  669. IEnumTfLangBarItems * This,
  670. /* [in] */ ULONG ulCount);
  671. void __RPC_STUB IEnumTfLangBarItems_Skip_Stub(
  672. IRpcStubBuffer *This,
  673. IRpcChannelBuffer *_pRpcChannelBuffer,
  674. PRPC_MESSAGE _pRpcMessage,
  675. DWORD *_pdwStubPhase);
  676. #endif /* __IEnumTfLangBarItems_INTERFACE_DEFINED__ */
  677. /* interface __MIDL_itf_ctfutb_0202 */
  678. /* [local] */
  679. typedef /* [uuid] */ DECLSPEC_UUID("12a1d29f-a065-440c-9746-eb2002c8bd19") struct TF_LANGBARITEMINFO
  680. {
  681. CLSID clsidTip;
  682. GUID guidItem;
  683. DWORD dwStyle;
  684. ULONG ulSort;
  685. WCHAR szDescription[ 32 ];
  686. } TF_LANGBARITEMINFO;
  687. extern RPC_IF_HANDLE __MIDL_itf_ctfutb_0202_v0_0_c_ifspec;
  688. extern RPC_IF_HANDLE __MIDL_itf_ctfutb_0202_v0_0_s_ifspec;
  689. #ifndef __ITfLangBarItemMgr_INTERFACE_DEFINED__
  690. #define __ITfLangBarItemMgr_INTERFACE_DEFINED__
  691. /* interface ITfLangBarItemMgr */
  692. /* [unique][uuid][local][object] */
  693. EXTERN_C const IID IID_ITfLangBarItemMgr;
  694. #if defined(__cplusplus) && !defined(CINTERFACE)
  695. MIDL_INTERFACE("ba468c55-9956-4fb1-a59d-52a7dd7cc6aa")
  696. ITfLangBarItemMgr : public IUnknown
  697. {
  698. public:
  699. virtual HRESULT STDMETHODCALLTYPE EnumItems(
  700. /* [out] */ IEnumTfLangBarItems **ppEnum) = 0;
  701. virtual HRESULT STDMETHODCALLTYPE GetItem(
  702. /* [in] */ REFGUID rguid,
  703. /* [out] */ ITfLangBarItem **ppItem) = 0;
  704. virtual HRESULT STDMETHODCALLTYPE AddItem(
  705. /* [in] */ ITfLangBarItem *punk) = 0;
  706. virtual HRESULT STDMETHODCALLTYPE RemoveItem(
  707. /* [in] */ ITfLangBarItem *punk) = 0;
  708. virtual HRESULT STDMETHODCALLTYPE AdviseItemSink(
  709. /* [in] */ ITfLangBarItemSink *punk,
  710. /* [out] */ DWORD *pdwCookie,
  711. /* [in] */ REFGUID rguidItem) = 0;
  712. virtual HRESULT STDMETHODCALLTYPE UnadviseItemSink(
  713. /* [in] */ DWORD dwCookie) = 0;
  714. virtual HRESULT STDMETHODCALLTYPE GetItemFloatingRect(
  715. /* [in] */ DWORD dwThreadId,
  716. /* [in] */ REFGUID rguid,
  717. /* [out] */ RECT *prc) = 0;
  718. virtual HRESULT STDMETHODCALLTYPE GetItemsStatus(
  719. /* [in] */ ULONG ulCount,
  720. /* [size_is][in] */ const GUID *prgguid,
  721. /* [size_is][out][in] */ DWORD *pdwStatus) = 0;
  722. virtual HRESULT STDMETHODCALLTYPE GetItemNum(
  723. /* [out] */ ULONG *pulCount) = 0;
  724. virtual HRESULT STDMETHODCALLTYPE GetItems(
  725. /* [in] */ ULONG ulCount,
  726. /* [size_is][out] */ ITfLangBarItem **ppItem,
  727. /* [size_is][out][in] */ TF_LANGBARITEMINFO *pInfo,
  728. /* [size_is][out][in] */ DWORD *pdwStatus,
  729. /* [unique][out][in] */ ULONG *pcFetched) = 0;
  730. virtual HRESULT STDMETHODCALLTYPE AdviseItemsSink(
  731. /* [in] */ ULONG ulCount,
  732. /* [size_is][in] */ ITfLangBarItemSink **ppunk,
  733. /* [size_is][in] */ const GUID *pguidItem,
  734. /* [size_is][out] */ DWORD *pdwCookie) = 0;
  735. virtual HRESULT STDMETHODCALLTYPE UnadviseItemsSink(
  736. /* [in] */ ULONG ulCount,
  737. /* [size_is][in] */ DWORD *pdwCookie) = 0;
  738. };
  739. #else /* C style interface */
  740. typedef struct ITfLangBarItemMgrVtbl
  741. {
  742. BEGIN_INTERFACE
  743. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  744. ITfLangBarItemMgr * This,
  745. /* [in] */ REFIID riid,
  746. /* [iid_is][out] */ void **ppvObject);
  747. ULONG ( STDMETHODCALLTYPE *AddRef )(
  748. ITfLangBarItemMgr * This);
  749. ULONG ( STDMETHODCALLTYPE *Release )(
  750. ITfLangBarItemMgr * This);
  751. HRESULT ( STDMETHODCALLTYPE *EnumItems )(
  752. ITfLangBarItemMgr * This,
  753. /* [out] */ IEnumTfLangBarItems **ppEnum);
  754. HRESULT ( STDMETHODCALLTYPE *GetItem )(
  755. ITfLangBarItemMgr * This,
  756. /* [in] */ REFGUID rguid,
  757. /* [out] */ ITfLangBarItem **ppItem);
  758. HRESULT ( STDMETHODCALLTYPE *AddItem )(
  759. ITfLangBarItemMgr * This,
  760. /* [in] */ ITfLangBarItem *punk);
  761. HRESULT ( STDMETHODCALLTYPE *RemoveItem )(
  762. ITfLangBarItemMgr * This,
  763. /* [in] */ ITfLangBarItem *punk);
  764. HRESULT ( STDMETHODCALLTYPE *AdviseItemSink )(
  765. ITfLangBarItemMgr * This,
  766. /* [in] */ ITfLangBarItemSink *punk,
  767. /* [out] */ DWORD *pdwCookie,
  768. /* [in] */ REFGUID rguidItem);
  769. HRESULT ( STDMETHODCALLTYPE *UnadviseItemSink )(
  770. ITfLangBarItemMgr * This,
  771. /* [in] */ DWORD dwCookie);
  772. HRESULT ( STDMETHODCALLTYPE *GetItemFloatingRect )(
  773. ITfLangBarItemMgr * This,
  774. /* [in] */ DWORD dwThreadId,
  775. /* [in] */ REFGUID rguid,
  776. /* [out] */ RECT *prc);
  777. HRESULT ( STDMETHODCALLTYPE *GetItemsStatus )(
  778. ITfLangBarItemMgr * This,
  779. /* [in] */ ULONG ulCount,
  780. /* [size_is][in] */ const GUID *prgguid,
  781. /* [size_is][out][in] */ DWORD *pdwStatus);
  782. HRESULT ( STDMETHODCALLTYPE *GetItemNum )(
  783. ITfLangBarItemMgr * This,
  784. /* [out] */ ULONG *pulCount);
  785. HRESULT ( STDMETHODCALLTYPE *GetItems )(
  786. ITfLangBarItemMgr * This,
  787. /* [in] */ ULONG ulCount,
  788. /* [size_is][out] */ ITfLangBarItem **ppItem,
  789. /* [size_is][out][in] */ TF_LANGBARITEMINFO *pInfo,
  790. /* [size_is][out][in] */ DWORD *pdwStatus,
  791. /* [unique][out][in] */ ULONG *pcFetched);
  792. HRESULT ( STDMETHODCALLTYPE *AdviseItemsSink )(
  793. ITfLangBarItemMgr * This,
  794. /* [in] */ ULONG ulCount,
  795. /* [size_is][in] */ ITfLangBarItemSink **ppunk,
  796. /* [size_is][in] */ const GUID *pguidItem,
  797. /* [size_is][out] */ DWORD *pdwCookie);
  798. HRESULT ( STDMETHODCALLTYPE *UnadviseItemsSink )(
  799. ITfLangBarItemMgr * This,
  800. /* [in] */ ULONG ulCount,
  801. /* [size_is][in] */ DWORD *pdwCookie);
  802. END_INTERFACE
  803. } ITfLangBarItemMgrVtbl;
  804. interface ITfLangBarItemMgr
  805. {
  806. CONST_VTBL struct ITfLangBarItemMgrVtbl *lpVtbl;
  807. };
  808. #ifdef COBJMACROS
  809. #define ITfLangBarItemMgr_QueryInterface(This,riid,ppvObject) \
  810. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  811. #define ITfLangBarItemMgr_AddRef(This) \
  812. (This)->lpVtbl -> AddRef(This)
  813. #define ITfLangBarItemMgr_Release(This) \
  814. (This)->lpVtbl -> Release(This)
  815. #define ITfLangBarItemMgr_EnumItems(This,ppEnum) \
  816. (This)->lpVtbl -> EnumItems(This,ppEnum)
  817. #define ITfLangBarItemMgr_GetItem(This,rguid,ppItem) \
  818. (This)->lpVtbl -> GetItem(This,rguid,ppItem)
  819. #define ITfLangBarItemMgr_AddItem(This,punk) \
  820. (This)->lpVtbl -> AddItem(This,punk)
  821. #define ITfLangBarItemMgr_RemoveItem(This,punk) \
  822. (This)->lpVtbl -> RemoveItem(This,punk)
  823. #define ITfLangBarItemMgr_AdviseItemSink(This,punk,pdwCookie,rguidItem) \
  824. (This)->lpVtbl -> AdviseItemSink(This,punk,pdwCookie,rguidItem)
  825. #define ITfLangBarItemMgr_UnadviseItemSink(This,dwCookie) \
  826. (This)->lpVtbl -> UnadviseItemSink(This,dwCookie)
  827. #define ITfLangBarItemMgr_GetItemFloatingRect(This,dwThreadId,rguid,prc) \
  828. (This)->lpVtbl -> GetItemFloatingRect(This,dwThreadId,rguid,prc)
  829. #define ITfLangBarItemMgr_GetItemsStatus(This,ulCount,prgguid,pdwStatus) \
  830. (This)->lpVtbl -> GetItemsStatus(This,ulCount,prgguid,pdwStatus)
  831. #define ITfLangBarItemMgr_GetItemNum(This,pulCount) \
  832. (This)->lpVtbl -> GetItemNum(This,pulCount)
  833. #define ITfLangBarItemMgr_GetItems(This,ulCount,ppItem,pInfo,pdwStatus,pcFetched) \
  834. (This)->lpVtbl -> GetItems(This,ulCount,ppItem,pInfo,pdwStatus,pcFetched)
  835. #define ITfLangBarItemMgr_AdviseItemsSink(This,ulCount,ppunk,pguidItem,pdwCookie) \
  836. (This)->lpVtbl -> AdviseItemsSink(This,ulCount,ppunk,pguidItem,pdwCookie)
  837. #define ITfLangBarItemMgr_UnadviseItemsSink(This,ulCount,pdwCookie) \
  838. (This)->lpVtbl -> UnadviseItemsSink(This,ulCount,pdwCookie)
  839. #endif /* COBJMACROS */
  840. #endif /* C style interface */
  841. HRESULT STDMETHODCALLTYPE ITfLangBarItemMgr_EnumItems_Proxy(
  842. ITfLangBarItemMgr * This,
  843. /* [out] */ IEnumTfLangBarItems **ppEnum);
  844. void __RPC_STUB ITfLangBarItemMgr_EnumItems_Stub(
  845. IRpcStubBuffer *This,
  846. IRpcChannelBuffer *_pRpcChannelBuffer,
  847. PRPC_MESSAGE _pRpcMessage,
  848. DWORD *_pdwStubPhase);
  849. HRESULT STDMETHODCALLTYPE ITfLangBarItemMgr_GetItem_Proxy(
  850. ITfLangBarItemMgr * This,
  851. /* [in] */ REFGUID rguid,
  852. /* [out] */ ITfLangBarItem **ppItem);
  853. void __RPC_STUB ITfLangBarItemMgr_GetItem_Stub(
  854. IRpcStubBuffer *This,
  855. IRpcChannelBuffer *_pRpcChannelBuffer,
  856. PRPC_MESSAGE _pRpcMessage,
  857. DWORD *_pdwStubPhase);
  858. HRESULT STDMETHODCALLTYPE ITfLangBarItemMgr_AddItem_Proxy(
  859. ITfLangBarItemMgr * This,
  860. /* [in] */ ITfLangBarItem *punk);
  861. void __RPC_STUB ITfLangBarItemMgr_AddItem_Stub(
  862. IRpcStubBuffer *This,
  863. IRpcChannelBuffer *_pRpcChannelBuffer,
  864. PRPC_MESSAGE _pRpcMessage,
  865. DWORD *_pdwStubPhase);
  866. HRESULT STDMETHODCALLTYPE ITfLangBarItemMgr_RemoveItem_Proxy(
  867. ITfLangBarItemMgr * This,
  868. /* [in] */ ITfLangBarItem *punk);
  869. void __RPC_STUB ITfLangBarItemMgr_RemoveItem_Stub(
  870. IRpcStubBuffer *This,
  871. IRpcChannelBuffer *_pRpcChannelBuffer,
  872. PRPC_MESSAGE _pRpcMessage,
  873. DWORD *_pdwStubPhase);
  874. HRESULT STDMETHODCALLTYPE ITfLangBarItemMgr_AdviseItemSink_Proxy(
  875. ITfLangBarItemMgr * This,
  876. /* [in] */ ITfLangBarItemSink *punk,
  877. /* [out] */ DWORD *pdwCookie,
  878. /* [in] */ REFGUID rguidItem);
  879. void __RPC_STUB ITfLangBarItemMgr_AdviseItemSink_Stub(
  880. IRpcStubBuffer *This,
  881. IRpcChannelBuffer *_pRpcChannelBuffer,
  882. PRPC_MESSAGE _pRpcMessage,
  883. DWORD *_pdwStubPhase);
  884. HRESULT STDMETHODCALLTYPE ITfLangBarItemMgr_UnadviseItemSink_Proxy(
  885. ITfLangBarItemMgr * This,
  886. /* [in] */ DWORD dwCookie);
  887. void __RPC_STUB ITfLangBarItemMgr_UnadviseItemSink_Stub(
  888. IRpcStubBuffer *This,
  889. IRpcChannelBuffer *_pRpcChannelBuffer,
  890. PRPC_MESSAGE _pRpcMessage,
  891. DWORD *_pdwStubPhase);
  892. HRESULT STDMETHODCALLTYPE ITfLangBarItemMgr_GetItemFloatingRect_Proxy(
  893. ITfLangBarItemMgr * This,
  894. /* [in] */ DWORD dwThreadId,
  895. /* [in] */ REFGUID rguid,
  896. /* [out] */ RECT *prc);
  897. void __RPC_STUB ITfLangBarItemMgr_GetItemFloatingRect_Stub(
  898. IRpcStubBuffer *This,
  899. IRpcChannelBuffer *_pRpcChannelBuffer,
  900. PRPC_MESSAGE _pRpcMessage,
  901. DWORD *_pdwStubPhase);
  902. HRESULT STDMETHODCALLTYPE ITfLangBarItemMgr_GetItemsStatus_Proxy(
  903. ITfLangBarItemMgr * This,
  904. /* [in] */ ULONG ulCount,
  905. /* [size_is][in] */ const GUID *prgguid,
  906. /* [size_is][out][in] */ DWORD *pdwStatus);
  907. void __RPC_STUB ITfLangBarItemMgr_GetItemsStatus_Stub(
  908. IRpcStubBuffer *This,
  909. IRpcChannelBuffer *_pRpcChannelBuffer,
  910. PRPC_MESSAGE _pRpcMessage,
  911. DWORD *_pdwStubPhase);
  912. HRESULT STDMETHODCALLTYPE ITfLangBarItemMgr_GetItemNum_Proxy(
  913. ITfLangBarItemMgr * This,
  914. /* [out] */ ULONG *pulCount);
  915. void __RPC_STUB ITfLangBarItemMgr_GetItemNum_Stub(
  916. IRpcStubBuffer *This,
  917. IRpcChannelBuffer *_pRpcChannelBuffer,
  918. PRPC_MESSAGE _pRpcMessage,
  919. DWORD *_pdwStubPhase);
  920. HRESULT STDMETHODCALLTYPE ITfLangBarItemMgr_GetItems_Proxy(
  921. ITfLangBarItemMgr * This,
  922. /* [in] */ ULONG ulCount,
  923. /* [size_is][out] */ ITfLangBarItem **ppItem,
  924. /* [size_is][out][in] */ TF_LANGBARITEMINFO *pInfo,
  925. /* [size_is][out][in] */ DWORD *pdwStatus,
  926. /* [unique][out][in] */ ULONG *pcFetched);
  927. void __RPC_STUB ITfLangBarItemMgr_GetItems_Stub(
  928. IRpcStubBuffer *This,
  929. IRpcChannelBuffer *_pRpcChannelBuffer,
  930. PRPC_MESSAGE _pRpcMessage,
  931. DWORD *_pdwStubPhase);
  932. HRESULT STDMETHODCALLTYPE ITfLangBarItemMgr_AdviseItemsSink_Proxy(
  933. ITfLangBarItemMgr * This,
  934. /* [in] */ ULONG ulCount,
  935. /* [size_is][in] */ ITfLangBarItemSink **ppunk,
  936. /* [size_is][in] */ const GUID *pguidItem,
  937. /* [size_is][out] */ DWORD *pdwCookie);
  938. void __RPC_STUB ITfLangBarItemMgr_AdviseItemsSink_Stub(
  939. IRpcStubBuffer *This,
  940. IRpcChannelBuffer *_pRpcChannelBuffer,
  941. PRPC_MESSAGE _pRpcMessage,
  942. DWORD *_pdwStubPhase);
  943. HRESULT STDMETHODCALLTYPE ITfLangBarItemMgr_UnadviseItemsSink_Proxy(
  944. ITfLangBarItemMgr * This,
  945. /* [in] */ ULONG ulCount,
  946. /* [size_is][in] */ DWORD *pdwCookie);
  947. void __RPC_STUB ITfLangBarItemMgr_UnadviseItemsSink_Stub(
  948. IRpcStubBuffer *This,
  949. IRpcChannelBuffer *_pRpcChannelBuffer,
  950. PRPC_MESSAGE _pRpcMessage,
  951. DWORD *_pdwStubPhase);
  952. #endif /* __ITfLangBarItemMgr_INTERFACE_DEFINED__ */
  953. #ifndef __ITfLangBarItem_INTERFACE_DEFINED__
  954. #define __ITfLangBarItem_INTERFACE_DEFINED__
  955. /* interface ITfLangBarItem */
  956. /* [unique][uuid][object] */
  957. EXTERN_C const IID IID_ITfLangBarItem;
  958. #if defined(__cplusplus) && !defined(CINTERFACE)
  959. MIDL_INTERFACE("73540d69-edeb-4ee9-96c9-23aa30b25916")
  960. ITfLangBarItem : public IUnknown
  961. {
  962. public:
  963. virtual HRESULT STDMETHODCALLTYPE GetInfo(
  964. /* [out] */ TF_LANGBARITEMINFO *pInfo) = 0;
  965. virtual HRESULT STDMETHODCALLTYPE GetStatus(
  966. /* [out] */ DWORD *pdwStatus) = 0;
  967. virtual HRESULT STDMETHODCALLTYPE Show(
  968. /* [in] */ BOOL fShow) = 0;
  969. virtual HRESULT STDMETHODCALLTYPE GetTooltipString(
  970. /* [out] */ BSTR *pbstrToolTip) = 0;
  971. };
  972. #else /* C style interface */
  973. typedef struct ITfLangBarItemVtbl
  974. {
  975. BEGIN_INTERFACE
  976. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  977. ITfLangBarItem * This,
  978. /* [in] */ REFIID riid,
  979. /* [iid_is][out] */ void **ppvObject);
  980. ULONG ( STDMETHODCALLTYPE *AddRef )(
  981. ITfLangBarItem * This);
  982. ULONG ( STDMETHODCALLTYPE *Release )(
  983. ITfLangBarItem * This);
  984. HRESULT ( STDMETHODCALLTYPE *GetInfo )(
  985. ITfLangBarItem * This,
  986. /* [out] */ TF_LANGBARITEMINFO *pInfo);
  987. HRESULT ( STDMETHODCALLTYPE *GetStatus )(
  988. ITfLangBarItem * This,
  989. /* [out] */ DWORD *pdwStatus);
  990. HRESULT ( STDMETHODCALLTYPE *Show )(
  991. ITfLangBarItem * This,
  992. /* [in] */ BOOL fShow);
  993. HRESULT ( STDMETHODCALLTYPE *GetTooltipString )(
  994. ITfLangBarItem * This,
  995. /* [out] */ BSTR *pbstrToolTip);
  996. END_INTERFACE
  997. } ITfLangBarItemVtbl;
  998. interface ITfLangBarItem
  999. {
  1000. CONST_VTBL struct ITfLangBarItemVtbl *lpVtbl;
  1001. };
  1002. #ifdef COBJMACROS
  1003. #define ITfLangBarItem_QueryInterface(This,riid,ppvObject) \
  1004. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1005. #define ITfLangBarItem_AddRef(This) \
  1006. (This)->lpVtbl -> AddRef(This)
  1007. #define ITfLangBarItem_Release(This) \
  1008. (This)->lpVtbl -> Release(This)
  1009. #define ITfLangBarItem_GetInfo(This,pInfo) \
  1010. (This)->lpVtbl -> GetInfo(This,pInfo)
  1011. #define ITfLangBarItem_GetStatus(This,pdwStatus) \
  1012. (This)->lpVtbl -> GetStatus(This,pdwStatus)
  1013. #define ITfLangBarItem_Show(This,fShow) \
  1014. (This)->lpVtbl -> Show(This,fShow)
  1015. #define ITfLangBarItem_GetTooltipString(This,pbstrToolTip) \
  1016. (This)->lpVtbl -> GetTooltipString(This,pbstrToolTip)
  1017. #endif /* COBJMACROS */
  1018. #endif /* C style interface */
  1019. HRESULT STDMETHODCALLTYPE ITfLangBarItem_GetInfo_Proxy(
  1020. ITfLangBarItem * This,
  1021. /* [out] */ TF_LANGBARITEMINFO *pInfo);
  1022. void __RPC_STUB ITfLangBarItem_GetInfo_Stub(
  1023. IRpcStubBuffer *This,
  1024. IRpcChannelBuffer *_pRpcChannelBuffer,
  1025. PRPC_MESSAGE _pRpcMessage,
  1026. DWORD *_pdwStubPhase);
  1027. HRESULT STDMETHODCALLTYPE ITfLangBarItem_GetStatus_Proxy(
  1028. ITfLangBarItem * This,
  1029. /* [out] */ DWORD *pdwStatus);
  1030. void __RPC_STUB ITfLangBarItem_GetStatus_Stub(
  1031. IRpcStubBuffer *This,
  1032. IRpcChannelBuffer *_pRpcChannelBuffer,
  1033. PRPC_MESSAGE _pRpcMessage,
  1034. DWORD *_pdwStubPhase);
  1035. HRESULT STDMETHODCALLTYPE ITfLangBarItem_Show_Proxy(
  1036. ITfLangBarItem * This,
  1037. /* [in] */ BOOL fShow);
  1038. void __RPC_STUB ITfLangBarItem_Show_Stub(
  1039. IRpcStubBuffer *This,
  1040. IRpcChannelBuffer *_pRpcChannelBuffer,
  1041. PRPC_MESSAGE _pRpcMessage,
  1042. DWORD *_pdwStubPhase);
  1043. HRESULT STDMETHODCALLTYPE ITfLangBarItem_GetTooltipString_Proxy(
  1044. ITfLangBarItem * This,
  1045. /* [out] */ BSTR *pbstrToolTip);
  1046. void __RPC_STUB ITfLangBarItem_GetTooltipString_Stub(
  1047. IRpcStubBuffer *This,
  1048. IRpcChannelBuffer *_pRpcChannelBuffer,
  1049. PRPC_MESSAGE _pRpcMessage,
  1050. DWORD *_pdwStubPhase);
  1051. #endif /* __ITfLangBarItem_INTERFACE_DEFINED__ */
  1052. #ifndef __ITfSystemLangBarItemSink_INTERFACE_DEFINED__
  1053. #define __ITfSystemLangBarItemSink_INTERFACE_DEFINED__
  1054. /* interface ITfSystemLangBarItemSink */
  1055. /* [unique][uuid][object] */
  1056. EXTERN_C const IID IID_ITfSystemLangBarItemSink;
  1057. #if defined(__cplusplus) && !defined(CINTERFACE)
  1058. MIDL_INTERFACE("1449d9ab-13cf-4687-aa3e-8d8b18574396")
  1059. ITfSystemLangBarItemSink : public IUnknown
  1060. {
  1061. public:
  1062. virtual HRESULT STDMETHODCALLTYPE InitMenu(
  1063. /* [in] */ ITfMenu *pMenu) = 0;
  1064. virtual HRESULT STDMETHODCALLTYPE OnMenuSelect(
  1065. /* [in] */ UINT wID) = 0;
  1066. };
  1067. #else /* C style interface */
  1068. typedef struct ITfSystemLangBarItemSinkVtbl
  1069. {
  1070. BEGIN_INTERFACE
  1071. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1072. ITfSystemLangBarItemSink * This,
  1073. /* [in] */ REFIID riid,
  1074. /* [iid_is][out] */ void **ppvObject);
  1075. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1076. ITfSystemLangBarItemSink * This);
  1077. ULONG ( STDMETHODCALLTYPE *Release )(
  1078. ITfSystemLangBarItemSink * This);
  1079. HRESULT ( STDMETHODCALLTYPE *InitMenu )(
  1080. ITfSystemLangBarItemSink * This,
  1081. /* [in] */ ITfMenu *pMenu);
  1082. HRESULT ( STDMETHODCALLTYPE *OnMenuSelect )(
  1083. ITfSystemLangBarItemSink * This,
  1084. /* [in] */ UINT wID);
  1085. END_INTERFACE
  1086. } ITfSystemLangBarItemSinkVtbl;
  1087. interface ITfSystemLangBarItemSink
  1088. {
  1089. CONST_VTBL struct ITfSystemLangBarItemSinkVtbl *lpVtbl;
  1090. };
  1091. #ifdef COBJMACROS
  1092. #define ITfSystemLangBarItemSink_QueryInterface(This,riid,ppvObject) \
  1093. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1094. #define ITfSystemLangBarItemSink_AddRef(This) \
  1095. (This)->lpVtbl -> AddRef(This)
  1096. #define ITfSystemLangBarItemSink_Release(This) \
  1097. (This)->lpVtbl -> Release(This)
  1098. #define ITfSystemLangBarItemSink_InitMenu(This,pMenu) \
  1099. (This)->lpVtbl -> InitMenu(This,pMenu)
  1100. #define ITfSystemLangBarItemSink_OnMenuSelect(This,wID) \
  1101. (This)->lpVtbl -> OnMenuSelect(This,wID)
  1102. #endif /* COBJMACROS */
  1103. #endif /* C style interface */
  1104. HRESULT STDMETHODCALLTYPE ITfSystemLangBarItemSink_InitMenu_Proxy(
  1105. ITfSystemLangBarItemSink * This,
  1106. /* [in] */ ITfMenu *pMenu);
  1107. void __RPC_STUB ITfSystemLangBarItemSink_InitMenu_Stub(
  1108. IRpcStubBuffer *This,
  1109. IRpcChannelBuffer *_pRpcChannelBuffer,
  1110. PRPC_MESSAGE _pRpcMessage,
  1111. DWORD *_pdwStubPhase);
  1112. HRESULT STDMETHODCALLTYPE ITfSystemLangBarItemSink_OnMenuSelect_Proxy(
  1113. ITfSystemLangBarItemSink * This,
  1114. /* [in] */ UINT wID);
  1115. void __RPC_STUB ITfSystemLangBarItemSink_OnMenuSelect_Stub(
  1116. IRpcStubBuffer *This,
  1117. IRpcChannelBuffer *_pRpcChannelBuffer,
  1118. PRPC_MESSAGE _pRpcMessage,
  1119. DWORD *_pdwStubPhase);
  1120. #endif /* __ITfSystemLangBarItemSink_INTERFACE_DEFINED__ */
  1121. #ifndef __ITfSystemLangBarItem_INTERFACE_DEFINED__
  1122. #define __ITfSystemLangBarItem_INTERFACE_DEFINED__
  1123. /* interface ITfSystemLangBarItem */
  1124. /* [unique][uuid][object] */
  1125. EXTERN_C const IID IID_ITfSystemLangBarItem;
  1126. #if defined(__cplusplus) && !defined(CINTERFACE)
  1127. MIDL_INTERFACE("1e13e9ec-6b33-4d4a-b5eb-8a92f029f356")
  1128. ITfSystemLangBarItem : public IUnknown
  1129. {
  1130. public:
  1131. virtual HRESULT STDMETHODCALLTYPE SetIcon(
  1132. /* [in] */ HICON hIcon) = 0;
  1133. virtual HRESULT STDMETHODCALLTYPE SetTooltipString(
  1134. /* [size_is][in] */ WCHAR *pchToolTip,
  1135. /* [in] */ ULONG cch) = 0;
  1136. };
  1137. #else /* C style interface */
  1138. typedef struct ITfSystemLangBarItemVtbl
  1139. {
  1140. BEGIN_INTERFACE
  1141. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1142. ITfSystemLangBarItem * This,
  1143. /* [in] */ REFIID riid,
  1144. /* [iid_is][out] */ void **ppvObject);
  1145. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1146. ITfSystemLangBarItem * This);
  1147. ULONG ( STDMETHODCALLTYPE *Release )(
  1148. ITfSystemLangBarItem * This);
  1149. HRESULT ( STDMETHODCALLTYPE *SetIcon )(
  1150. ITfSystemLangBarItem * This,
  1151. /* [in] */ HICON hIcon);
  1152. HRESULT ( STDMETHODCALLTYPE *SetTooltipString )(
  1153. ITfSystemLangBarItem * This,
  1154. /* [size_is][in] */ WCHAR *pchToolTip,
  1155. /* [in] */ ULONG cch);
  1156. END_INTERFACE
  1157. } ITfSystemLangBarItemVtbl;
  1158. interface ITfSystemLangBarItem
  1159. {
  1160. CONST_VTBL struct ITfSystemLangBarItemVtbl *lpVtbl;
  1161. };
  1162. #ifdef COBJMACROS
  1163. #define ITfSystemLangBarItem_QueryInterface(This,riid,ppvObject) \
  1164. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1165. #define ITfSystemLangBarItem_AddRef(This) \
  1166. (This)->lpVtbl -> AddRef(This)
  1167. #define ITfSystemLangBarItem_Release(This) \
  1168. (This)->lpVtbl -> Release(This)
  1169. #define ITfSystemLangBarItem_SetIcon(This,hIcon) \
  1170. (This)->lpVtbl -> SetIcon(This,hIcon)
  1171. #define ITfSystemLangBarItem_SetTooltipString(This,pchToolTip,cch) \
  1172. (This)->lpVtbl -> SetTooltipString(This,pchToolTip,cch)
  1173. #endif /* COBJMACROS */
  1174. #endif /* C style interface */
  1175. HRESULT STDMETHODCALLTYPE ITfSystemLangBarItem_SetIcon_Proxy(
  1176. ITfSystemLangBarItem * This,
  1177. /* [in] */ HICON hIcon);
  1178. void __RPC_STUB ITfSystemLangBarItem_SetIcon_Stub(
  1179. IRpcStubBuffer *This,
  1180. IRpcChannelBuffer *_pRpcChannelBuffer,
  1181. PRPC_MESSAGE _pRpcMessage,
  1182. DWORD *_pdwStubPhase);
  1183. HRESULT STDMETHODCALLTYPE ITfSystemLangBarItem_SetTooltipString_Proxy(
  1184. ITfSystemLangBarItem * This,
  1185. /* [size_is][in] */ WCHAR *pchToolTip,
  1186. /* [in] */ ULONG cch);
  1187. void __RPC_STUB ITfSystemLangBarItem_SetTooltipString_Stub(
  1188. IRpcStubBuffer *This,
  1189. IRpcChannelBuffer *_pRpcChannelBuffer,
  1190. PRPC_MESSAGE _pRpcMessage,
  1191. DWORD *_pdwStubPhase);
  1192. #endif /* __ITfSystemLangBarItem_INTERFACE_DEFINED__ */
  1193. #ifndef __ITfSystemDeviceTypeLangBarItem_INTERFACE_DEFINED__
  1194. #define __ITfSystemDeviceTypeLangBarItem_INTERFACE_DEFINED__
  1195. /* interface ITfSystemDeviceTypeLangBarItem */
  1196. /* [unique][uuid][object] */
  1197. EXTERN_C const IID IID_ITfSystemDeviceTypeLangBarItem;
  1198. #if defined(__cplusplus) && !defined(CINTERFACE)
  1199. MIDL_INTERFACE("45672eb9-9059-46a2-838d-4530355f6a77")
  1200. ITfSystemDeviceTypeLangBarItem : public IUnknown
  1201. {
  1202. public:
  1203. virtual HRESULT STDMETHODCALLTYPE SetIconMode(
  1204. /* [in] */ DWORD dwFlags) = 0;
  1205. virtual HRESULT STDMETHODCALLTYPE GetIconMode(
  1206. /* [out] */ DWORD *pdwFlags) = 0;
  1207. };
  1208. #else /* C style interface */
  1209. typedef struct ITfSystemDeviceTypeLangBarItemVtbl
  1210. {
  1211. BEGIN_INTERFACE
  1212. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1213. ITfSystemDeviceTypeLangBarItem * This,
  1214. /* [in] */ REFIID riid,
  1215. /* [iid_is][out] */ void **ppvObject);
  1216. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1217. ITfSystemDeviceTypeLangBarItem * This);
  1218. ULONG ( STDMETHODCALLTYPE *Release )(
  1219. ITfSystemDeviceTypeLangBarItem * This);
  1220. HRESULT ( STDMETHODCALLTYPE *SetIconMode )(
  1221. ITfSystemDeviceTypeLangBarItem * This,
  1222. /* [in] */ DWORD dwFlags);
  1223. HRESULT ( STDMETHODCALLTYPE *GetIconMode )(
  1224. ITfSystemDeviceTypeLangBarItem * This,
  1225. /* [out] */ DWORD *pdwFlags);
  1226. END_INTERFACE
  1227. } ITfSystemDeviceTypeLangBarItemVtbl;
  1228. interface ITfSystemDeviceTypeLangBarItem
  1229. {
  1230. CONST_VTBL struct ITfSystemDeviceTypeLangBarItemVtbl *lpVtbl;
  1231. };
  1232. #ifdef COBJMACROS
  1233. #define ITfSystemDeviceTypeLangBarItem_QueryInterface(This,riid,ppvObject) \
  1234. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1235. #define ITfSystemDeviceTypeLangBarItem_AddRef(This) \
  1236. (This)->lpVtbl -> AddRef(This)
  1237. #define ITfSystemDeviceTypeLangBarItem_Release(This) \
  1238. (This)->lpVtbl -> Release(This)
  1239. #define ITfSystemDeviceTypeLangBarItem_SetIconMode(This,dwFlags) \
  1240. (This)->lpVtbl -> SetIconMode(This,dwFlags)
  1241. #define ITfSystemDeviceTypeLangBarItem_GetIconMode(This,pdwFlags) \
  1242. (This)->lpVtbl -> GetIconMode(This,pdwFlags)
  1243. #endif /* COBJMACROS */
  1244. #endif /* C style interface */
  1245. HRESULT STDMETHODCALLTYPE ITfSystemDeviceTypeLangBarItem_SetIconMode_Proxy(
  1246. ITfSystemDeviceTypeLangBarItem * This,
  1247. /* [in] */ DWORD dwFlags);
  1248. void __RPC_STUB ITfSystemDeviceTypeLangBarItem_SetIconMode_Stub(
  1249. IRpcStubBuffer *This,
  1250. IRpcChannelBuffer *_pRpcChannelBuffer,
  1251. PRPC_MESSAGE _pRpcMessage,
  1252. DWORD *_pdwStubPhase);
  1253. HRESULT STDMETHODCALLTYPE ITfSystemDeviceTypeLangBarItem_GetIconMode_Proxy(
  1254. ITfSystemDeviceTypeLangBarItem * This,
  1255. /* [out] */ DWORD *pdwFlags);
  1256. void __RPC_STUB ITfSystemDeviceTypeLangBarItem_GetIconMode_Stub(
  1257. IRpcStubBuffer *This,
  1258. IRpcChannelBuffer *_pRpcChannelBuffer,
  1259. PRPC_MESSAGE _pRpcMessage,
  1260. DWORD *_pdwStubPhase);
  1261. #endif /* __ITfSystemDeviceTypeLangBarItem_INTERFACE_DEFINED__ */
  1262. /* interface __MIDL_itf_ctfutb_0207 */
  1263. /* [local] */
  1264. typedef /* [public][public][public][public][public][uuid] */ DECLSPEC_UUID("8fb5f0ce-dfdd-4f0a-85b9-8988d8dd8ff2")
  1265. enum __MIDL___MIDL_itf_ctfutb_0207_0001
  1266. { TF_LBI_CLK_NONE = 0,
  1267. TF_LBI_CLK_RIGHT = 1,
  1268. TF_LBI_CLK_LEFT = 2,
  1269. TF_LBI_CLK_RIGHT_DBL = 3,
  1270. TF_LBI_CLK_LEFT_DBL = 4
  1271. } TfLBIClick;
  1272. extern RPC_IF_HANDLE __MIDL_itf_ctfutb_0207_v0_0_c_ifspec;
  1273. extern RPC_IF_HANDLE __MIDL_itf_ctfutb_0207_v0_0_s_ifspec;
  1274. #ifndef __ITfLangBarItemButton_INTERFACE_DEFINED__
  1275. #define __ITfLangBarItemButton_INTERFACE_DEFINED__
  1276. /* interface ITfLangBarItemButton */
  1277. /* [unique][uuid][object] */
  1278. EXTERN_C const IID IID_ITfLangBarItemButton;
  1279. #if defined(__cplusplus) && !defined(CINTERFACE)
  1280. MIDL_INTERFACE("28c7f1d0-de25-11d2-afdd-00105a2799b5")
  1281. ITfLangBarItemButton : public ITfLangBarItem
  1282. {
  1283. public:
  1284. virtual HRESULT STDMETHODCALLTYPE OnClick(
  1285. /* [in] */ TfLBIClick click,
  1286. /* [in] */ POINT pt,
  1287. /* [in] */ const RECT *prcArea) = 0;
  1288. virtual HRESULT STDMETHODCALLTYPE InitMenu(
  1289. /* [in] */ ITfMenu *pMenu) = 0;
  1290. virtual HRESULT STDMETHODCALLTYPE OnMenuSelect(
  1291. /* [in] */ UINT wID) = 0;
  1292. virtual HRESULT STDMETHODCALLTYPE GetIcon(
  1293. /* [out] */ HICON *phIcon) = 0;
  1294. virtual HRESULT STDMETHODCALLTYPE GetText(
  1295. /* [out] */ BSTR *pbstrText) = 0;
  1296. };
  1297. #else /* C style interface */
  1298. typedef struct ITfLangBarItemButtonVtbl
  1299. {
  1300. BEGIN_INTERFACE
  1301. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1302. ITfLangBarItemButton * This,
  1303. /* [in] */ REFIID riid,
  1304. /* [iid_is][out] */ void **ppvObject);
  1305. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1306. ITfLangBarItemButton * This);
  1307. ULONG ( STDMETHODCALLTYPE *Release )(
  1308. ITfLangBarItemButton * This);
  1309. HRESULT ( STDMETHODCALLTYPE *GetInfo )(
  1310. ITfLangBarItemButton * This,
  1311. /* [out] */ TF_LANGBARITEMINFO *pInfo);
  1312. HRESULT ( STDMETHODCALLTYPE *GetStatus )(
  1313. ITfLangBarItemButton * This,
  1314. /* [out] */ DWORD *pdwStatus);
  1315. HRESULT ( STDMETHODCALLTYPE *Show )(
  1316. ITfLangBarItemButton * This,
  1317. /* [in] */ BOOL fShow);
  1318. HRESULT ( STDMETHODCALLTYPE *GetTooltipString )(
  1319. ITfLangBarItemButton * This,
  1320. /* [out] */ BSTR *pbstrToolTip);
  1321. HRESULT ( STDMETHODCALLTYPE *OnClick )(
  1322. ITfLangBarItemButton * This,
  1323. /* [in] */ TfLBIClick click,
  1324. /* [in] */ POINT pt,
  1325. /* [in] */ const RECT *prcArea);
  1326. HRESULT ( STDMETHODCALLTYPE *InitMenu )(
  1327. ITfLangBarItemButton * This,
  1328. /* [in] */ ITfMenu *pMenu);
  1329. HRESULT ( STDMETHODCALLTYPE *OnMenuSelect )(
  1330. ITfLangBarItemButton * This,
  1331. /* [in] */ UINT wID);
  1332. HRESULT ( STDMETHODCALLTYPE *GetIcon )(
  1333. ITfLangBarItemButton * This,
  1334. /* [out] */ HICON *phIcon);
  1335. HRESULT ( STDMETHODCALLTYPE *GetText )(
  1336. ITfLangBarItemButton * This,
  1337. /* [out] */ BSTR *pbstrText);
  1338. END_INTERFACE
  1339. } ITfLangBarItemButtonVtbl;
  1340. interface ITfLangBarItemButton
  1341. {
  1342. CONST_VTBL struct ITfLangBarItemButtonVtbl *lpVtbl;
  1343. };
  1344. #ifdef COBJMACROS
  1345. #define ITfLangBarItemButton_QueryInterface(This,riid,ppvObject) \
  1346. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1347. #define ITfLangBarItemButton_AddRef(This) \
  1348. (This)->lpVtbl -> AddRef(This)
  1349. #define ITfLangBarItemButton_Release(This) \
  1350. (This)->lpVtbl -> Release(This)
  1351. #define ITfLangBarItemButton_GetInfo(This,pInfo) \
  1352. (This)->lpVtbl -> GetInfo(This,pInfo)
  1353. #define ITfLangBarItemButton_GetStatus(This,pdwStatus) \
  1354. (This)->lpVtbl -> GetStatus(This,pdwStatus)
  1355. #define ITfLangBarItemButton_Show(This,fShow) \
  1356. (This)->lpVtbl -> Show(This,fShow)
  1357. #define ITfLangBarItemButton_GetTooltipString(This,pbstrToolTip) \
  1358. (This)->lpVtbl -> GetTooltipString(This,pbstrToolTip)
  1359. #define ITfLangBarItemButton_OnClick(This,click,pt,prcArea) \
  1360. (This)->lpVtbl -> OnClick(This,click,pt,prcArea)
  1361. #define ITfLangBarItemButton_InitMenu(This,pMenu) \
  1362. (This)->lpVtbl -> InitMenu(This,pMenu)
  1363. #define ITfLangBarItemButton_OnMenuSelect(This,wID) \
  1364. (This)->lpVtbl -> OnMenuSelect(This,wID)
  1365. #define ITfLangBarItemButton_GetIcon(This,phIcon) \
  1366. (This)->lpVtbl -> GetIcon(This,phIcon)
  1367. #define ITfLangBarItemButton_GetText(This,pbstrText) \
  1368. (This)->lpVtbl -> GetText(This,pbstrText)
  1369. #endif /* COBJMACROS */
  1370. #endif /* C style interface */
  1371. HRESULT STDMETHODCALLTYPE ITfLangBarItemButton_OnClick_Proxy(
  1372. ITfLangBarItemButton * This,
  1373. /* [in] */ TfLBIClick click,
  1374. /* [in] */ POINT pt,
  1375. /* [in] */ const RECT *prcArea);
  1376. void __RPC_STUB ITfLangBarItemButton_OnClick_Stub(
  1377. IRpcStubBuffer *This,
  1378. IRpcChannelBuffer *_pRpcChannelBuffer,
  1379. PRPC_MESSAGE _pRpcMessage,
  1380. DWORD *_pdwStubPhase);
  1381. HRESULT STDMETHODCALLTYPE ITfLangBarItemButton_InitMenu_Proxy(
  1382. ITfLangBarItemButton * This,
  1383. /* [in] */ ITfMenu *pMenu);
  1384. void __RPC_STUB ITfLangBarItemButton_InitMenu_Stub(
  1385. IRpcStubBuffer *This,
  1386. IRpcChannelBuffer *_pRpcChannelBuffer,
  1387. PRPC_MESSAGE _pRpcMessage,
  1388. DWORD *_pdwStubPhase);
  1389. HRESULT STDMETHODCALLTYPE ITfLangBarItemButton_OnMenuSelect_Proxy(
  1390. ITfLangBarItemButton * This,
  1391. /* [in] */ UINT wID);
  1392. void __RPC_STUB ITfLangBarItemButton_OnMenuSelect_Stub(
  1393. IRpcStubBuffer *This,
  1394. IRpcChannelBuffer *_pRpcChannelBuffer,
  1395. PRPC_MESSAGE _pRpcMessage,
  1396. DWORD *_pdwStubPhase);
  1397. HRESULT STDMETHODCALLTYPE ITfLangBarItemButton_GetIcon_Proxy(
  1398. ITfLangBarItemButton * This,
  1399. /* [out] */ HICON *phIcon);
  1400. void __RPC_STUB ITfLangBarItemButton_GetIcon_Stub(
  1401. IRpcStubBuffer *This,
  1402. IRpcChannelBuffer *_pRpcChannelBuffer,
  1403. PRPC_MESSAGE _pRpcMessage,
  1404. DWORD *_pdwStubPhase);
  1405. HRESULT STDMETHODCALLTYPE ITfLangBarItemButton_GetText_Proxy(
  1406. ITfLangBarItemButton * This,
  1407. /* [out] */ BSTR *pbstrText);
  1408. void __RPC_STUB ITfLangBarItemButton_GetText_Stub(
  1409. IRpcStubBuffer *This,
  1410. IRpcChannelBuffer *_pRpcChannelBuffer,
  1411. PRPC_MESSAGE _pRpcMessage,
  1412. DWORD *_pdwStubPhase);
  1413. #endif /* __ITfLangBarItemButton_INTERFACE_DEFINED__ */
  1414. #ifndef __ITfLangBarItemBitmapButton_INTERFACE_DEFINED__
  1415. #define __ITfLangBarItemBitmapButton_INTERFACE_DEFINED__
  1416. /* interface ITfLangBarItemBitmapButton */
  1417. /* [unique][uuid][object] */
  1418. EXTERN_C const IID IID_ITfLangBarItemBitmapButton;
  1419. #if defined(__cplusplus) && !defined(CINTERFACE)
  1420. MIDL_INTERFACE("a26a0525-3fae-4fa0-89ee-88a964f9f1b5")
  1421. ITfLangBarItemBitmapButton : public ITfLangBarItem
  1422. {
  1423. public:
  1424. virtual HRESULT STDMETHODCALLTYPE OnClick(
  1425. /* [in] */ TfLBIClick click,
  1426. /* [in] */ POINT pt,
  1427. /* [in] */ const RECT *prcArea) = 0;
  1428. virtual HRESULT STDMETHODCALLTYPE InitMenu(
  1429. /* [in] */ ITfMenu *pMenu) = 0;
  1430. virtual HRESULT STDMETHODCALLTYPE OnMenuSelect(
  1431. /* [in] */ UINT wID) = 0;
  1432. virtual HRESULT STDMETHODCALLTYPE GetPreferedSize(
  1433. /* [in] */ const SIZE *pszDefault,
  1434. /* [out] */ SIZE *psz) = 0;
  1435. virtual HRESULT STDMETHODCALLTYPE DrawBitmap(
  1436. /* [in] */ LONG bmWidth,
  1437. /* [in] */ LONG bmHeight,
  1438. /* [in] */ DWORD dwFlags,
  1439. /* [out] */ HBITMAP *phbmp,
  1440. /* [out] */ HBITMAP *phbmpMask) = 0;
  1441. virtual HRESULT STDMETHODCALLTYPE GetText(
  1442. /* [out] */ BSTR *pbstrText) = 0;
  1443. };
  1444. #else /* C style interface */
  1445. typedef struct ITfLangBarItemBitmapButtonVtbl
  1446. {
  1447. BEGIN_INTERFACE
  1448. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1449. ITfLangBarItemBitmapButton * This,
  1450. /* [in] */ REFIID riid,
  1451. /* [iid_is][out] */ void **ppvObject);
  1452. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1453. ITfLangBarItemBitmapButton * This);
  1454. ULONG ( STDMETHODCALLTYPE *Release )(
  1455. ITfLangBarItemBitmapButton * This);
  1456. HRESULT ( STDMETHODCALLTYPE *GetInfo )(
  1457. ITfLangBarItemBitmapButton * This,
  1458. /* [out] */ TF_LANGBARITEMINFO *pInfo);
  1459. HRESULT ( STDMETHODCALLTYPE *GetStatus )(
  1460. ITfLangBarItemBitmapButton * This,
  1461. /* [out] */ DWORD *pdwStatus);
  1462. HRESULT ( STDMETHODCALLTYPE *Show )(
  1463. ITfLangBarItemBitmapButton * This,
  1464. /* [in] */ BOOL fShow);
  1465. HRESULT ( STDMETHODCALLTYPE *GetTooltipString )(
  1466. ITfLangBarItemBitmapButton * This,
  1467. /* [out] */ BSTR *pbstrToolTip);
  1468. HRESULT ( STDMETHODCALLTYPE *OnClick )(
  1469. ITfLangBarItemBitmapButton * This,
  1470. /* [in] */ TfLBIClick click,
  1471. /* [in] */ POINT pt,
  1472. /* [in] */ const RECT *prcArea);
  1473. HRESULT ( STDMETHODCALLTYPE *InitMenu )(
  1474. ITfLangBarItemBitmapButton * This,
  1475. /* [in] */ ITfMenu *pMenu);
  1476. HRESULT ( STDMETHODCALLTYPE *OnMenuSelect )(
  1477. ITfLangBarItemBitmapButton * This,
  1478. /* [in] */ UINT wID);
  1479. HRESULT ( STDMETHODCALLTYPE *GetPreferedSize )(
  1480. ITfLangBarItemBitmapButton * This,
  1481. /* [in] */ const SIZE *pszDefault,
  1482. /* [out] */ SIZE *psz);
  1483. HRESULT ( STDMETHODCALLTYPE *DrawBitmap )(
  1484. ITfLangBarItemBitmapButton * This,
  1485. /* [in] */ LONG bmWidth,
  1486. /* [in] */ LONG bmHeight,
  1487. /* [in] */ DWORD dwFlags,
  1488. /* [out] */ HBITMAP *phbmp,
  1489. /* [out] */ HBITMAP *phbmpMask);
  1490. HRESULT ( STDMETHODCALLTYPE *GetText )(
  1491. ITfLangBarItemBitmapButton * This,
  1492. /* [out] */ BSTR *pbstrText);
  1493. END_INTERFACE
  1494. } ITfLangBarItemBitmapButtonVtbl;
  1495. interface ITfLangBarItemBitmapButton
  1496. {
  1497. CONST_VTBL struct ITfLangBarItemBitmapButtonVtbl *lpVtbl;
  1498. };
  1499. #ifdef COBJMACROS
  1500. #define ITfLangBarItemBitmapButton_QueryInterface(This,riid,ppvObject) \
  1501. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1502. #define ITfLangBarItemBitmapButton_AddRef(This) \
  1503. (This)->lpVtbl -> AddRef(This)
  1504. #define ITfLangBarItemBitmapButton_Release(This) \
  1505. (This)->lpVtbl -> Release(This)
  1506. #define ITfLangBarItemBitmapButton_GetInfo(This,pInfo) \
  1507. (This)->lpVtbl -> GetInfo(This,pInfo)
  1508. #define ITfLangBarItemBitmapButton_GetStatus(This,pdwStatus) \
  1509. (This)->lpVtbl -> GetStatus(This,pdwStatus)
  1510. #define ITfLangBarItemBitmapButton_Show(This,fShow) \
  1511. (This)->lpVtbl -> Show(This,fShow)
  1512. #define ITfLangBarItemBitmapButton_GetTooltipString(This,pbstrToolTip) \
  1513. (This)->lpVtbl -> GetTooltipString(This,pbstrToolTip)
  1514. #define ITfLangBarItemBitmapButton_OnClick(This,click,pt,prcArea) \
  1515. (This)->lpVtbl -> OnClick(This,click,pt,prcArea)
  1516. #define ITfLangBarItemBitmapButton_InitMenu(This,pMenu) \
  1517. (This)->lpVtbl -> InitMenu(This,pMenu)
  1518. #define ITfLangBarItemBitmapButton_OnMenuSelect(This,wID) \
  1519. (This)->lpVtbl -> OnMenuSelect(This,wID)
  1520. #define ITfLangBarItemBitmapButton_GetPreferedSize(This,pszDefault,psz) \
  1521. (This)->lpVtbl -> GetPreferedSize(This,pszDefault,psz)
  1522. #define ITfLangBarItemBitmapButton_DrawBitmap(This,bmWidth,bmHeight,dwFlags,phbmp,phbmpMask) \
  1523. (This)->lpVtbl -> DrawBitmap(This,bmWidth,bmHeight,dwFlags,phbmp,phbmpMask)
  1524. #define ITfLangBarItemBitmapButton_GetText(This,pbstrText) \
  1525. (This)->lpVtbl -> GetText(This,pbstrText)
  1526. #endif /* COBJMACROS */
  1527. #endif /* C style interface */
  1528. HRESULT STDMETHODCALLTYPE ITfLangBarItemBitmapButton_OnClick_Proxy(
  1529. ITfLangBarItemBitmapButton * This,
  1530. /* [in] */ TfLBIClick click,
  1531. /* [in] */ POINT pt,
  1532. /* [in] */ const RECT *prcArea);
  1533. void __RPC_STUB ITfLangBarItemBitmapButton_OnClick_Stub(
  1534. IRpcStubBuffer *This,
  1535. IRpcChannelBuffer *_pRpcChannelBuffer,
  1536. PRPC_MESSAGE _pRpcMessage,
  1537. DWORD *_pdwStubPhase);
  1538. HRESULT STDMETHODCALLTYPE ITfLangBarItemBitmapButton_InitMenu_Proxy(
  1539. ITfLangBarItemBitmapButton * This,
  1540. /* [in] */ ITfMenu *pMenu);
  1541. void __RPC_STUB ITfLangBarItemBitmapButton_InitMenu_Stub(
  1542. IRpcStubBuffer *This,
  1543. IRpcChannelBuffer *_pRpcChannelBuffer,
  1544. PRPC_MESSAGE _pRpcMessage,
  1545. DWORD *_pdwStubPhase);
  1546. HRESULT STDMETHODCALLTYPE ITfLangBarItemBitmapButton_OnMenuSelect_Proxy(
  1547. ITfLangBarItemBitmapButton * This,
  1548. /* [in] */ UINT wID);
  1549. void __RPC_STUB ITfLangBarItemBitmapButton_OnMenuSelect_Stub(
  1550. IRpcStubBuffer *This,
  1551. IRpcChannelBuffer *_pRpcChannelBuffer,
  1552. PRPC_MESSAGE _pRpcMessage,
  1553. DWORD *_pdwStubPhase);
  1554. HRESULT STDMETHODCALLTYPE ITfLangBarItemBitmapButton_GetPreferedSize_Proxy(
  1555. ITfLangBarItemBitmapButton * This,
  1556. /* [in] */ const SIZE *pszDefault,
  1557. /* [out] */ SIZE *psz);
  1558. void __RPC_STUB ITfLangBarItemBitmapButton_GetPreferedSize_Stub(
  1559. IRpcStubBuffer *This,
  1560. IRpcChannelBuffer *_pRpcChannelBuffer,
  1561. PRPC_MESSAGE _pRpcMessage,
  1562. DWORD *_pdwStubPhase);
  1563. HRESULT STDMETHODCALLTYPE ITfLangBarItemBitmapButton_DrawBitmap_Proxy(
  1564. ITfLangBarItemBitmapButton * This,
  1565. /* [in] */ LONG bmWidth,
  1566. /* [in] */ LONG bmHeight,
  1567. /* [in] */ DWORD dwFlags,
  1568. /* [out] */ HBITMAP *phbmp,
  1569. /* [out] */ HBITMAP *phbmpMask);
  1570. void __RPC_STUB ITfLangBarItemBitmapButton_DrawBitmap_Stub(
  1571. IRpcStubBuffer *This,
  1572. IRpcChannelBuffer *_pRpcChannelBuffer,
  1573. PRPC_MESSAGE _pRpcMessage,
  1574. DWORD *_pdwStubPhase);
  1575. HRESULT STDMETHODCALLTYPE ITfLangBarItemBitmapButton_GetText_Proxy(
  1576. ITfLangBarItemBitmapButton * This,
  1577. /* [out] */ BSTR *pbstrText);
  1578. void __RPC_STUB ITfLangBarItemBitmapButton_GetText_Stub(
  1579. IRpcStubBuffer *This,
  1580. IRpcChannelBuffer *_pRpcChannelBuffer,
  1581. PRPC_MESSAGE _pRpcMessage,
  1582. DWORD *_pdwStubPhase);
  1583. #endif /* __ITfLangBarItemBitmapButton_INTERFACE_DEFINED__ */
  1584. #ifndef __ITfLangBarItemBitmap_INTERFACE_DEFINED__
  1585. #define __ITfLangBarItemBitmap_INTERFACE_DEFINED__
  1586. /* interface ITfLangBarItemBitmap */
  1587. /* [unique][uuid][object] */
  1588. EXTERN_C const IID IID_ITfLangBarItemBitmap;
  1589. #if defined(__cplusplus) && !defined(CINTERFACE)
  1590. MIDL_INTERFACE("73830352-d722-4179-ada5-f045c98df355")
  1591. ITfLangBarItemBitmap : public ITfLangBarItem
  1592. {
  1593. public:
  1594. virtual HRESULT STDMETHODCALLTYPE OnClick(
  1595. /* [in] */ TfLBIClick click,
  1596. /* [in] */ POINT pt,
  1597. /* [in] */ const RECT *prcArea) = 0;
  1598. virtual HRESULT STDMETHODCALLTYPE GetPreferedSize(
  1599. /* [in] */ const SIZE *pszDefault,
  1600. /* [out] */ SIZE *psz) = 0;
  1601. virtual HRESULT STDMETHODCALLTYPE DrawBitmap(
  1602. /* [in] */ LONG bmWidth,
  1603. /* [in] */ LONG bmHeight,
  1604. /* [in] */ DWORD dwFlags,
  1605. /* [out] */ HBITMAP *phbmp,
  1606. /* [out] */ HBITMAP *phbmpMask) = 0;
  1607. };
  1608. #else /* C style interface */
  1609. typedef struct ITfLangBarItemBitmapVtbl
  1610. {
  1611. BEGIN_INTERFACE
  1612. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1613. ITfLangBarItemBitmap * This,
  1614. /* [in] */ REFIID riid,
  1615. /* [iid_is][out] */ void **ppvObject);
  1616. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1617. ITfLangBarItemBitmap * This);
  1618. ULONG ( STDMETHODCALLTYPE *Release )(
  1619. ITfLangBarItemBitmap * This);
  1620. HRESULT ( STDMETHODCALLTYPE *GetInfo )(
  1621. ITfLangBarItemBitmap * This,
  1622. /* [out] */ TF_LANGBARITEMINFO *pInfo);
  1623. HRESULT ( STDMETHODCALLTYPE *GetStatus )(
  1624. ITfLangBarItemBitmap * This,
  1625. /* [out] */ DWORD *pdwStatus);
  1626. HRESULT ( STDMETHODCALLTYPE *Show )(
  1627. ITfLangBarItemBitmap * This,
  1628. /* [in] */ BOOL fShow);
  1629. HRESULT ( STDMETHODCALLTYPE *GetTooltipString )(
  1630. ITfLangBarItemBitmap * This,
  1631. /* [out] */ BSTR *pbstrToolTip);
  1632. HRESULT ( STDMETHODCALLTYPE *OnClick )(
  1633. ITfLangBarItemBitmap * This,
  1634. /* [in] */ TfLBIClick click,
  1635. /* [in] */ POINT pt,
  1636. /* [in] */ const RECT *prcArea);
  1637. HRESULT ( STDMETHODCALLTYPE *GetPreferedSize )(
  1638. ITfLangBarItemBitmap * This,
  1639. /* [in] */ const SIZE *pszDefault,
  1640. /* [out] */ SIZE *psz);
  1641. HRESULT ( STDMETHODCALLTYPE *DrawBitmap )(
  1642. ITfLangBarItemBitmap * This,
  1643. /* [in] */ LONG bmWidth,
  1644. /* [in] */ LONG bmHeight,
  1645. /* [in] */ DWORD dwFlags,
  1646. /* [out] */ HBITMAP *phbmp,
  1647. /* [out] */ HBITMAP *phbmpMask);
  1648. END_INTERFACE
  1649. } ITfLangBarItemBitmapVtbl;
  1650. interface ITfLangBarItemBitmap
  1651. {
  1652. CONST_VTBL struct ITfLangBarItemBitmapVtbl *lpVtbl;
  1653. };
  1654. #ifdef COBJMACROS
  1655. #define ITfLangBarItemBitmap_QueryInterface(This,riid,ppvObject) \
  1656. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1657. #define ITfLangBarItemBitmap_AddRef(This) \
  1658. (This)->lpVtbl -> AddRef(This)
  1659. #define ITfLangBarItemBitmap_Release(This) \
  1660. (This)->lpVtbl -> Release(This)
  1661. #define ITfLangBarItemBitmap_GetInfo(This,pInfo) \
  1662. (This)->lpVtbl -> GetInfo(This,pInfo)
  1663. #define ITfLangBarItemBitmap_GetStatus(This,pdwStatus) \
  1664. (This)->lpVtbl -> GetStatus(This,pdwStatus)
  1665. #define ITfLangBarItemBitmap_Show(This,fShow) \
  1666. (This)->lpVtbl -> Show(This,fShow)
  1667. #define ITfLangBarItemBitmap_GetTooltipString(This,pbstrToolTip) \
  1668. (This)->lpVtbl -> GetTooltipString(This,pbstrToolTip)
  1669. #define ITfLangBarItemBitmap_OnClick(This,click,pt,prcArea) \
  1670. (This)->lpVtbl -> OnClick(This,click,pt,prcArea)
  1671. #define ITfLangBarItemBitmap_GetPreferedSize(This,pszDefault,psz) \
  1672. (This)->lpVtbl -> GetPreferedSize(This,pszDefault,psz)
  1673. #define ITfLangBarItemBitmap_DrawBitmap(This,bmWidth,bmHeight,dwFlags,phbmp,phbmpMask) \
  1674. (This)->lpVtbl -> DrawBitmap(This,bmWidth,bmHeight,dwFlags,phbmp,phbmpMask)
  1675. #endif /* COBJMACROS */
  1676. #endif /* C style interface */
  1677. HRESULT STDMETHODCALLTYPE ITfLangBarItemBitmap_OnClick_Proxy(
  1678. ITfLangBarItemBitmap * This,
  1679. /* [in] */ TfLBIClick click,
  1680. /* [in] */ POINT pt,
  1681. /* [in] */ const RECT *prcArea);
  1682. void __RPC_STUB ITfLangBarItemBitmap_OnClick_Stub(
  1683. IRpcStubBuffer *This,
  1684. IRpcChannelBuffer *_pRpcChannelBuffer,
  1685. PRPC_MESSAGE _pRpcMessage,
  1686. DWORD *_pdwStubPhase);
  1687. HRESULT STDMETHODCALLTYPE ITfLangBarItemBitmap_GetPreferedSize_Proxy(
  1688. ITfLangBarItemBitmap * This,
  1689. /* [in] */ const SIZE *pszDefault,
  1690. /* [out] */ SIZE *psz);
  1691. void __RPC_STUB ITfLangBarItemBitmap_GetPreferedSize_Stub(
  1692. IRpcStubBuffer *This,
  1693. IRpcChannelBuffer *_pRpcChannelBuffer,
  1694. PRPC_MESSAGE _pRpcMessage,
  1695. DWORD *_pdwStubPhase);
  1696. HRESULT STDMETHODCALLTYPE ITfLangBarItemBitmap_DrawBitmap_Proxy(
  1697. ITfLangBarItemBitmap * This,
  1698. /* [in] */ LONG bmWidth,
  1699. /* [in] */ LONG bmHeight,
  1700. /* [in] */ DWORD dwFlags,
  1701. /* [out] */ HBITMAP *phbmp,
  1702. /* [out] */ HBITMAP *phbmpMask);
  1703. void __RPC_STUB ITfLangBarItemBitmap_DrawBitmap_Stub(
  1704. IRpcStubBuffer *This,
  1705. IRpcChannelBuffer *_pRpcChannelBuffer,
  1706. PRPC_MESSAGE _pRpcMessage,
  1707. DWORD *_pdwStubPhase);
  1708. #endif /* __ITfLangBarItemBitmap_INTERFACE_DEFINED__ */
  1709. #ifndef __ITfLangBarItemBalloon_INTERFACE_DEFINED__
  1710. #define __ITfLangBarItemBalloon_INTERFACE_DEFINED__
  1711. /* interface ITfLangBarItemBalloon */
  1712. /* [unique][uuid][object] */
  1713. typedef /* [public][public][public][uuid] */ DECLSPEC_UUID("f399a969-9e97-4ddd-b974-2bfb934cfbc9")
  1714. enum __MIDL_ITfLangBarItemBalloon_0001
  1715. { TF_LB_BALLOON_RECO = 0,
  1716. TF_LB_BALLOON_SHOW = 1,
  1717. TF_LB_BALLOON_MISS = 2
  1718. } TfLBBalloonStyle;
  1719. typedef /* [uuid] */ DECLSPEC_UUID("37574483-5c50-4092-a55c-922e3a67e5b8") struct TF_LBBALLOONINFO
  1720. {
  1721. TfLBBalloonStyle style;
  1722. BSTR bstrText;
  1723. } TF_LBBALLOONINFO;
  1724. EXTERN_C const IID IID_ITfLangBarItemBalloon;
  1725. #if defined(__cplusplus) && !defined(CINTERFACE)
  1726. MIDL_INTERFACE("01C2D285-D3C7-4B7B-B5B5-D97411D0C283")
  1727. ITfLangBarItemBalloon : public ITfLangBarItem
  1728. {
  1729. public:
  1730. virtual HRESULT STDMETHODCALLTYPE OnClick(
  1731. /* [in] */ TfLBIClick click,
  1732. /* [in] */ POINT pt,
  1733. /* [in] */ const RECT *prcArea) = 0;
  1734. virtual HRESULT STDMETHODCALLTYPE GetPreferedSize(
  1735. /* [in] */ const SIZE *pszDefault,
  1736. /* [out] */ SIZE *psz) = 0;
  1737. virtual HRESULT STDMETHODCALLTYPE GetBalloonInfo(
  1738. /* [out] */ TF_LBBALLOONINFO *pInfo) = 0;
  1739. };
  1740. #else /* C style interface */
  1741. typedef struct ITfLangBarItemBalloonVtbl
  1742. {
  1743. BEGIN_INTERFACE
  1744. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1745. ITfLangBarItemBalloon * This,
  1746. /* [in] */ REFIID riid,
  1747. /* [iid_is][out] */ void **ppvObject);
  1748. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1749. ITfLangBarItemBalloon * This);
  1750. ULONG ( STDMETHODCALLTYPE *Release )(
  1751. ITfLangBarItemBalloon * This);
  1752. HRESULT ( STDMETHODCALLTYPE *GetInfo )(
  1753. ITfLangBarItemBalloon * This,
  1754. /* [out] */ TF_LANGBARITEMINFO *pInfo);
  1755. HRESULT ( STDMETHODCALLTYPE *GetStatus )(
  1756. ITfLangBarItemBalloon * This,
  1757. /* [out] */ DWORD *pdwStatus);
  1758. HRESULT ( STDMETHODCALLTYPE *Show )(
  1759. ITfLangBarItemBalloon * This,
  1760. /* [in] */ BOOL fShow);
  1761. HRESULT ( STDMETHODCALLTYPE *GetTooltipString )(
  1762. ITfLangBarItemBalloon * This,
  1763. /* [out] */ BSTR *pbstrToolTip);
  1764. HRESULT ( STDMETHODCALLTYPE *OnClick )(
  1765. ITfLangBarItemBalloon * This,
  1766. /* [in] */ TfLBIClick click,
  1767. /* [in] */ POINT pt,
  1768. /* [in] */ const RECT *prcArea);
  1769. HRESULT ( STDMETHODCALLTYPE *GetPreferedSize )(
  1770. ITfLangBarItemBalloon * This,
  1771. /* [in] */ const SIZE *pszDefault,
  1772. /* [out] */ SIZE *psz);
  1773. HRESULT ( STDMETHODCALLTYPE *GetBalloonInfo )(
  1774. ITfLangBarItemBalloon * This,
  1775. /* [out] */ TF_LBBALLOONINFO *pInfo);
  1776. END_INTERFACE
  1777. } ITfLangBarItemBalloonVtbl;
  1778. interface ITfLangBarItemBalloon
  1779. {
  1780. CONST_VTBL struct ITfLangBarItemBalloonVtbl *lpVtbl;
  1781. };
  1782. #ifdef COBJMACROS
  1783. #define ITfLangBarItemBalloon_QueryInterface(This,riid,ppvObject) \
  1784. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1785. #define ITfLangBarItemBalloon_AddRef(This) \
  1786. (This)->lpVtbl -> AddRef(This)
  1787. #define ITfLangBarItemBalloon_Release(This) \
  1788. (This)->lpVtbl -> Release(This)
  1789. #define ITfLangBarItemBalloon_GetInfo(This,pInfo) \
  1790. (This)->lpVtbl -> GetInfo(This,pInfo)
  1791. #define ITfLangBarItemBalloon_GetStatus(This,pdwStatus) \
  1792. (This)->lpVtbl -> GetStatus(This,pdwStatus)
  1793. #define ITfLangBarItemBalloon_Show(This,fShow) \
  1794. (This)->lpVtbl -> Show(This,fShow)
  1795. #define ITfLangBarItemBalloon_GetTooltipString(This,pbstrToolTip) \
  1796. (This)->lpVtbl -> GetTooltipString(This,pbstrToolTip)
  1797. #define ITfLangBarItemBalloon_OnClick(This,click,pt,prcArea) \
  1798. (This)->lpVtbl -> OnClick(This,click,pt,prcArea)
  1799. #define ITfLangBarItemBalloon_GetPreferedSize(This,pszDefault,psz) \
  1800. (This)->lpVtbl -> GetPreferedSize(This,pszDefault,psz)
  1801. #define ITfLangBarItemBalloon_GetBalloonInfo(This,pInfo) \
  1802. (This)->lpVtbl -> GetBalloonInfo(This,pInfo)
  1803. #endif /* COBJMACROS */
  1804. #endif /* C style interface */
  1805. HRESULT STDMETHODCALLTYPE ITfLangBarItemBalloon_OnClick_Proxy(
  1806. ITfLangBarItemBalloon * This,
  1807. /* [in] */ TfLBIClick click,
  1808. /* [in] */ POINT pt,
  1809. /* [in] */ const RECT *prcArea);
  1810. void __RPC_STUB ITfLangBarItemBalloon_OnClick_Stub(
  1811. IRpcStubBuffer *This,
  1812. IRpcChannelBuffer *_pRpcChannelBuffer,
  1813. PRPC_MESSAGE _pRpcMessage,
  1814. DWORD *_pdwStubPhase);
  1815. HRESULT STDMETHODCALLTYPE ITfLangBarItemBalloon_GetPreferedSize_Proxy(
  1816. ITfLangBarItemBalloon * This,
  1817. /* [in] */ const SIZE *pszDefault,
  1818. /* [out] */ SIZE *psz);
  1819. void __RPC_STUB ITfLangBarItemBalloon_GetPreferedSize_Stub(
  1820. IRpcStubBuffer *This,
  1821. IRpcChannelBuffer *_pRpcChannelBuffer,
  1822. PRPC_MESSAGE _pRpcMessage,
  1823. DWORD *_pdwStubPhase);
  1824. HRESULT STDMETHODCALLTYPE ITfLangBarItemBalloon_GetBalloonInfo_Proxy(
  1825. ITfLangBarItemBalloon * This,
  1826. /* [out] */ TF_LBBALLOONINFO *pInfo);
  1827. void __RPC_STUB ITfLangBarItemBalloon_GetBalloonInfo_Stub(
  1828. IRpcStubBuffer *This,
  1829. IRpcChannelBuffer *_pRpcChannelBuffer,
  1830. PRPC_MESSAGE _pRpcMessage,
  1831. DWORD *_pdwStubPhase);
  1832. #endif /* __ITfLangBarItemBalloon_INTERFACE_DEFINED__ */
  1833. #ifndef __ITfMenu_INTERFACE_DEFINED__
  1834. #define __ITfMenu_INTERFACE_DEFINED__
  1835. /* interface ITfMenu */
  1836. /* [unique][uuid][object] */
  1837. #define TF_LBMENUF_CHECKED ( 0x1 )
  1838. #define TF_LBMENUF_SUBMENU ( 0x2 )
  1839. #define TF_LBMENUF_SEPARATOR ( 0x4 )
  1840. #define TF_LBMENUF_RADIOCHECKED ( 0x8 )
  1841. #define TF_LBMENUF_GRAYED ( 0x10 )
  1842. EXTERN_C const IID IID_ITfMenu;
  1843. #if defined(__cplusplus) && !defined(CINTERFACE)
  1844. MIDL_INTERFACE("6F8A98E4-AAA0-4F15-8C5B-07E0DF0A3DD8")
  1845. ITfMenu : public IUnknown
  1846. {
  1847. public:
  1848. virtual HRESULT STDMETHODCALLTYPE AddMenuItem(
  1849. /* [in] */ UINT uId,
  1850. /* [in] */ DWORD dwFlags,
  1851. /* [in] */ HBITMAP hbmp,
  1852. /* [in] */ HBITMAP hbmpMask,
  1853. /* [size_is][unique][in] */ const WCHAR *pch,
  1854. /* [in] */ ULONG cch,
  1855. /* [unique][out][in] */ ITfMenu **ppMenu) = 0;
  1856. };
  1857. #else /* C style interface */
  1858. typedef struct ITfMenuVtbl
  1859. {
  1860. BEGIN_INTERFACE
  1861. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1862. ITfMenu * This,
  1863. /* [in] */ REFIID riid,
  1864. /* [iid_is][out] */ void **ppvObject);
  1865. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1866. ITfMenu * This);
  1867. ULONG ( STDMETHODCALLTYPE *Release )(
  1868. ITfMenu * This);
  1869. HRESULT ( STDMETHODCALLTYPE *AddMenuItem )(
  1870. ITfMenu * This,
  1871. /* [in] */ UINT uId,
  1872. /* [in] */ DWORD dwFlags,
  1873. /* [in] */ HBITMAP hbmp,
  1874. /* [in] */ HBITMAP hbmpMask,
  1875. /* [size_is][unique][in] */ const WCHAR *pch,
  1876. /* [in] */ ULONG cch,
  1877. /* [unique][out][in] */ ITfMenu **ppMenu);
  1878. END_INTERFACE
  1879. } ITfMenuVtbl;
  1880. interface ITfMenu
  1881. {
  1882. CONST_VTBL struct ITfMenuVtbl *lpVtbl;
  1883. };
  1884. #ifdef COBJMACROS
  1885. #define ITfMenu_QueryInterface(This,riid,ppvObject) \
  1886. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1887. #define ITfMenu_AddRef(This) \
  1888. (This)->lpVtbl -> AddRef(This)
  1889. #define ITfMenu_Release(This) \
  1890. (This)->lpVtbl -> Release(This)
  1891. #define ITfMenu_AddMenuItem(This,uId,dwFlags,hbmp,hbmpMask,pch,cch,ppMenu) \
  1892. (This)->lpVtbl -> AddMenuItem(This,uId,dwFlags,hbmp,hbmpMask,pch,cch,ppMenu)
  1893. #endif /* COBJMACROS */
  1894. #endif /* C style interface */
  1895. HRESULT STDMETHODCALLTYPE ITfMenu_AddMenuItem_Proxy(
  1896. ITfMenu * This,
  1897. /* [in] */ UINT uId,
  1898. /* [in] */ DWORD dwFlags,
  1899. /* [in] */ HBITMAP hbmp,
  1900. /* [in] */ HBITMAP hbmpMask,
  1901. /* [size_is][unique][in] */ const WCHAR *pch,
  1902. /* [in] */ ULONG cch,
  1903. /* [unique][out][in] */ ITfMenu **ppMenu);
  1904. void __RPC_STUB ITfMenu_AddMenuItem_Stub(
  1905. IRpcStubBuffer *This,
  1906. IRpcChannelBuffer *_pRpcChannelBuffer,
  1907. PRPC_MESSAGE _pRpcMessage,
  1908. DWORD *_pdwStubPhase);
  1909. #endif /* __ITfMenu_INTERFACE_DEFINED__ */
  1910. /* interface __MIDL_itf_ctfutb_0212 */
  1911. /* [local] */
  1912. #endif // CTFUTB_DEFINED
  1913. extern RPC_IF_HANDLE __MIDL_itf_ctfutb_0212_v0_0_c_ifspec;
  1914. extern RPC_IF_HANDLE __MIDL_itf_ctfutb_0212_v0_0_s_ifspec;
  1915. /* Additional Prototypes for ALL interfaces */
  1916. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  1917. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  1918. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  1919. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  1920. unsigned long __RPC_USER HBITMAP_UserSize( unsigned long *, unsigned long , HBITMAP * );
  1921. unsigned char * __RPC_USER HBITMAP_UserMarshal( unsigned long *, unsigned char *, HBITMAP * );
  1922. unsigned char * __RPC_USER HBITMAP_UserUnmarshal(unsigned long *, unsigned char *, HBITMAP * );
  1923. void __RPC_USER HBITMAP_UserFree( unsigned long *, HBITMAP * );
  1924. unsigned long __RPC_USER HICON_UserSize( unsigned long *, unsigned long , HICON * );
  1925. unsigned char * __RPC_USER HICON_UserMarshal( unsigned long *, unsigned char *, HICON * );
  1926. unsigned char * __RPC_USER HICON_UserUnmarshal(unsigned long *, unsigned char *, HICON * );
  1927. void __RPC_USER HICON_UserFree( unsigned long *, HICON * );
  1928. /* end of Additional Prototypes */
  1929. #ifdef __cplusplus
  1930. }
  1931. #endif
  1932. #endif