Leaked source code of windows server 2003
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.

2882 lines
85 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for ctfutb.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  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__ 475
  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. // Text Framework declarations.
  101. //=--------------------------------------------------------------------------=
  102. // (C) Copyright 1995-2001 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_BALLOON 0x00000010
  127. #define TF_LBI_BTNALL (TF_LBI_ICON | TF_LBI_TEXT | TF_LBI_TOOLTIP)
  128. #define TF_LBI_BMPBTNALL (TF_LBI_BITMAP | TF_LBI_TEXT | TF_LBI_TOOLTIP)
  129. #define TF_LBI_BMPALL (TF_LBI_BITMAP | TF_LBI_TOOLTIP)
  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_TEXTCOLORICON 0x00000020
  137. #define TF_LBI_STYLE_BTN_BUTTON 0x00010000
  138. #define TF_LBI_STYLE_BTN_MENU 0x00020000
  139. #define TF_LBI_STYLE_BTN_TOGGLE 0x00040000
  140. #define TF_LBI_STATUS_HIDDEN 0x00000001
  141. #define TF_LBI_STATUS_DISABLED 0x00000002
  142. #define TF_LBI_STATUS_BTN_TOGGLED 0x00010000
  143. #define TF_LBI_BMPF_VERTICAL 0x00000001
  144. #define TF_SFT_SHOWNORMAL 0x00000001
  145. #define TF_SFT_DOCK 0x00000002
  146. #define TF_SFT_MINIMIZED 0x00000004
  147. #define TF_SFT_HIDDEN 0x00000008
  148. #define TF_SFT_NOTRANSPARENCY 0x00000010
  149. #define TF_SFT_LOWTRANSPARENCY 0x00000020
  150. #define TF_SFT_HIGHTRANSPARENCY 0x00000040
  151. #define TF_SFT_LABELS 0x00000080
  152. #define TF_SFT_NOLABELS 0x00000100
  153. #define TF_SFT_EXTRAICONSONMINIMIZED 0x00000200
  154. #define TF_SFT_NOEXTRAICONSONMINIMIZED 0x00000400
  155. #define TF_SFT_DESKBAND 0x00000800
  156. #define TF_INVALIDMENUITEM (UINT)(-1)
  157. #define TF_DTLBI_USEPROFILEICON 0x00000001
  158. #ifdef __cplusplus
  159. }
  160. #endif /* __cplusplus */
  161. extern RPC_IF_HANDLE __MIDL_itf_ctfutb_0000_v0_0_c_ifspec;
  162. extern RPC_IF_HANDLE __MIDL_itf_ctfutb_0000_v0_0_s_ifspec;
  163. #ifndef __ITfLangBarMgr_INTERFACE_DEFINED__
  164. #define __ITfLangBarMgr_INTERFACE_DEFINED__
  165. /* interface ITfLangBarMgr */
  166. /* [unique][uuid][local][object] */
  167. EXTERN_C const IID IID_ITfLangBarMgr;
  168. #if defined(__cplusplus) && !defined(CINTERFACE)
  169. MIDL_INTERFACE("87955690-e627-11d2-8ddb-00105a2799b5")
  170. ITfLangBarMgr : public IUnknown
  171. {
  172. public:
  173. virtual HRESULT STDMETHODCALLTYPE AdviseEventSink(
  174. /* [in] */ ITfLangBarEventSink *pSink,
  175. /* [in] */ HWND hwnd,
  176. /* [in] */ DWORD dwFlags,
  177. /* [in] */ DWORD *pdwCookie) = 0;
  178. virtual HRESULT STDMETHODCALLTYPE UnadviseEventSink(
  179. /* [in] */ DWORD dwCookie) = 0;
  180. virtual HRESULT STDMETHODCALLTYPE GetThreadMarshalInterface(
  181. /* [in] */ DWORD dwThreadId,
  182. /* [in] */ DWORD dwType,
  183. /* [in] */ REFIID riid,
  184. /* [iid_is][out] */ IUnknown **ppunk) = 0;
  185. virtual HRESULT STDMETHODCALLTYPE GetThreadLangBarItemMgr(
  186. /* [in] */ DWORD dwThreadId,
  187. /* [out] */ ITfLangBarItemMgr **pplbi,
  188. /* [out] */ DWORD *pdwThreadid) = 0;
  189. virtual HRESULT STDMETHODCALLTYPE GetInputProcessorProfiles(
  190. /* [in] */ DWORD dwThreadId,
  191. /* [out] */ ITfInputProcessorProfiles **ppaip,
  192. /* [out] */ DWORD *pdwThreadid) = 0;
  193. virtual HRESULT STDMETHODCALLTYPE RestoreLastFocus(
  194. /* [out] */ DWORD *pdwThreadId,
  195. /* [in] */ BOOL fPrev) = 0;
  196. virtual HRESULT STDMETHODCALLTYPE SetModalInput(
  197. /* [in] */ ITfLangBarEventSink *pSink,
  198. /* [in] */ DWORD dwThreadId,
  199. /* [in] */ DWORD dwFlags) = 0;
  200. virtual HRESULT STDMETHODCALLTYPE ShowFloating(
  201. /* [in] */ DWORD dwFlags) = 0;
  202. virtual HRESULT STDMETHODCALLTYPE GetShowFloatingStatus(
  203. /* [out] */ DWORD *pdwFlags) = 0;
  204. };
  205. #else /* C style interface */
  206. typedef struct ITfLangBarMgrVtbl
  207. {
  208. BEGIN_INTERFACE
  209. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  210. ITfLangBarMgr * This,
  211. /* [in] */ REFIID riid,
  212. /* [iid_is][out] */ void **ppvObject);
  213. ULONG ( STDMETHODCALLTYPE *AddRef )(
  214. ITfLangBarMgr * This);
  215. ULONG ( STDMETHODCALLTYPE *Release )(
  216. ITfLangBarMgr * This);
  217. HRESULT ( STDMETHODCALLTYPE *AdviseEventSink )(
  218. ITfLangBarMgr * This,
  219. /* [in] */ ITfLangBarEventSink *pSink,
  220. /* [in] */ HWND hwnd,
  221. /* [in] */ DWORD dwFlags,
  222. /* [in] */ DWORD *pdwCookie);
  223. HRESULT ( STDMETHODCALLTYPE *UnadviseEventSink )(
  224. ITfLangBarMgr * This,
  225. /* [in] */ DWORD dwCookie);
  226. HRESULT ( STDMETHODCALLTYPE *GetThreadMarshalInterface )(
  227. ITfLangBarMgr * This,
  228. /* [in] */ DWORD dwThreadId,
  229. /* [in] */ DWORD dwType,
  230. /* [in] */ REFIID riid,
  231. /* [iid_is][out] */ IUnknown **ppunk);
  232. HRESULT ( STDMETHODCALLTYPE *GetThreadLangBarItemMgr )(
  233. ITfLangBarMgr * This,
  234. /* [in] */ DWORD dwThreadId,
  235. /* [out] */ ITfLangBarItemMgr **pplbi,
  236. /* [out] */ DWORD *pdwThreadid);
  237. HRESULT ( STDMETHODCALLTYPE *GetInputProcessorProfiles )(
  238. ITfLangBarMgr * This,
  239. /* [in] */ DWORD dwThreadId,
  240. /* [out] */ ITfInputProcessorProfiles **ppaip,
  241. /* [out] */ DWORD *pdwThreadid);
  242. HRESULT ( STDMETHODCALLTYPE *RestoreLastFocus )(
  243. ITfLangBarMgr * This,
  244. /* [out] */ DWORD *pdwThreadId,
  245. /* [in] */ BOOL fPrev);
  246. HRESULT ( STDMETHODCALLTYPE *SetModalInput )(
  247. ITfLangBarMgr * This,
  248. /* [in] */ ITfLangBarEventSink *pSink,
  249. /* [in] */ DWORD dwThreadId,
  250. /* [in] */ DWORD dwFlags);
  251. HRESULT ( STDMETHODCALLTYPE *ShowFloating )(
  252. ITfLangBarMgr * This,
  253. /* [in] */ DWORD dwFlags);
  254. HRESULT ( STDMETHODCALLTYPE *GetShowFloatingStatus )(
  255. ITfLangBarMgr * This,
  256. /* [out] */ DWORD *pdwFlags);
  257. END_INTERFACE
  258. } ITfLangBarMgrVtbl;
  259. interface ITfLangBarMgr
  260. {
  261. CONST_VTBL struct ITfLangBarMgrVtbl *lpVtbl;
  262. };
  263. #ifdef COBJMACROS
  264. #define ITfLangBarMgr_QueryInterface(This,riid,ppvObject) \
  265. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  266. #define ITfLangBarMgr_AddRef(This) \
  267. (This)->lpVtbl -> AddRef(This)
  268. #define ITfLangBarMgr_Release(This) \
  269. (This)->lpVtbl -> Release(This)
  270. #define ITfLangBarMgr_AdviseEventSink(This,pSink,hwnd,dwFlags,pdwCookie) \
  271. (This)->lpVtbl -> AdviseEventSink(This,pSink,hwnd,dwFlags,pdwCookie)
  272. #define ITfLangBarMgr_UnadviseEventSink(This,dwCookie) \
  273. (This)->lpVtbl -> UnadviseEventSink(This,dwCookie)
  274. #define ITfLangBarMgr_GetThreadMarshalInterface(This,dwThreadId,dwType,riid,ppunk) \
  275. (This)->lpVtbl -> GetThreadMarshalInterface(This,dwThreadId,dwType,riid,ppunk)
  276. #define ITfLangBarMgr_GetThreadLangBarItemMgr(This,dwThreadId,pplbi,pdwThreadid) \
  277. (This)->lpVtbl -> GetThreadLangBarItemMgr(This,dwThreadId,pplbi,pdwThreadid)
  278. #define ITfLangBarMgr_GetInputProcessorProfiles(This,dwThreadId,ppaip,pdwThreadid) \
  279. (This)->lpVtbl -> GetInputProcessorProfiles(This,dwThreadId,ppaip,pdwThreadid)
  280. #define ITfLangBarMgr_RestoreLastFocus(This,pdwThreadId,fPrev) \
  281. (This)->lpVtbl -> RestoreLastFocus(This,pdwThreadId,fPrev)
  282. #define ITfLangBarMgr_SetModalInput(This,pSink,dwThreadId,dwFlags) \
  283. (This)->lpVtbl -> SetModalInput(This,pSink,dwThreadId,dwFlags)
  284. #define ITfLangBarMgr_ShowFloating(This,dwFlags) \
  285. (This)->lpVtbl -> ShowFloating(This,dwFlags)
  286. #define ITfLangBarMgr_GetShowFloatingStatus(This,pdwFlags) \
  287. (This)->lpVtbl -> GetShowFloatingStatus(This,pdwFlags)
  288. #endif /* COBJMACROS */
  289. #endif /* C style interface */
  290. HRESULT STDMETHODCALLTYPE ITfLangBarMgr_AdviseEventSink_Proxy(
  291. ITfLangBarMgr * This,
  292. /* [in] */ ITfLangBarEventSink *pSink,
  293. /* [in] */ HWND hwnd,
  294. /* [in] */ DWORD dwFlags,
  295. /* [in] */ DWORD *pdwCookie);
  296. void __RPC_STUB ITfLangBarMgr_AdviseEventSink_Stub(
  297. IRpcStubBuffer *This,
  298. IRpcChannelBuffer *_pRpcChannelBuffer,
  299. PRPC_MESSAGE _pRpcMessage,
  300. DWORD *_pdwStubPhase);
  301. HRESULT STDMETHODCALLTYPE ITfLangBarMgr_UnadviseEventSink_Proxy(
  302. ITfLangBarMgr * This,
  303. /* [in] */ DWORD dwCookie);
  304. void __RPC_STUB ITfLangBarMgr_UnadviseEventSink_Stub(
  305. IRpcStubBuffer *This,
  306. IRpcChannelBuffer *_pRpcChannelBuffer,
  307. PRPC_MESSAGE _pRpcMessage,
  308. DWORD *_pdwStubPhase);
  309. HRESULT STDMETHODCALLTYPE ITfLangBarMgr_GetThreadMarshalInterface_Proxy(
  310. ITfLangBarMgr * This,
  311. /* [in] */ DWORD dwThreadId,
  312. /* [in] */ DWORD dwType,
  313. /* [in] */ REFIID riid,
  314. /* [iid_is][out] */ IUnknown **ppunk);
  315. void __RPC_STUB ITfLangBarMgr_GetThreadMarshalInterface_Stub(
  316. IRpcStubBuffer *This,
  317. IRpcChannelBuffer *_pRpcChannelBuffer,
  318. PRPC_MESSAGE _pRpcMessage,
  319. DWORD *_pdwStubPhase);
  320. HRESULT STDMETHODCALLTYPE ITfLangBarMgr_GetThreadLangBarItemMgr_Proxy(
  321. ITfLangBarMgr * This,
  322. /* [in] */ DWORD dwThreadId,
  323. /* [out] */ ITfLangBarItemMgr **pplbi,
  324. /* [out] */ DWORD *pdwThreadid);
  325. void __RPC_STUB ITfLangBarMgr_GetThreadLangBarItemMgr_Stub(
  326. IRpcStubBuffer *This,
  327. IRpcChannelBuffer *_pRpcChannelBuffer,
  328. PRPC_MESSAGE _pRpcMessage,
  329. DWORD *_pdwStubPhase);
  330. HRESULT STDMETHODCALLTYPE ITfLangBarMgr_GetInputProcessorProfiles_Proxy(
  331. ITfLangBarMgr * This,
  332. /* [in] */ DWORD dwThreadId,
  333. /* [out] */ ITfInputProcessorProfiles **ppaip,
  334. /* [out] */ DWORD *pdwThreadid);
  335. void __RPC_STUB ITfLangBarMgr_GetInputProcessorProfiles_Stub(
  336. IRpcStubBuffer *This,
  337. IRpcChannelBuffer *_pRpcChannelBuffer,
  338. PRPC_MESSAGE _pRpcMessage,
  339. DWORD *_pdwStubPhase);
  340. HRESULT STDMETHODCALLTYPE ITfLangBarMgr_RestoreLastFocus_Proxy(
  341. ITfLangBarMgr * This,
  342. /* [out] */ DWORD *pdwThreadId,
  343. /* [in] */ BOOL fPrev);
  344. void __RPC_STUB ITfLangBarMgr_RestoreLastFocus_Stub(
  345. IRpcStubBuffer *This,
  346. IRpcChannelBuffer *_pRpcChannelBuffer,
  347. PRPC_MESSAGE _pRpcMessage,
  348. DWORD *_pdwStubPhase);
  349. HRESULT STDMETHODCALLTYPE ITfLangBarMgr_SetModalInput_Proxy(
  350. ITfLangBarMgr * This,
  351. /* [in] */ ITfLangBarEventSink *pSink,
  352. /* [in] */ DWORD dwThreadId,
  353. /* [in] */ DWORD dwFlags);
  354. void __RPC_STUB ITfLangBarMgr_SetModalInput_Stub(
  355. IRpcStubBuffer *This,
  356. IRpcChannelBuffer *_pRpcChannelBuffer,
  357. PRPC_MESSAGE _pRpcMessage,
  358. DWORD *_pdwStubPhase);
  359. HRESULT STDMETHODCALLTYPE ITfLangBarMgr_ShowFloating_Proxy(
  360. ITfLangBarMgr * This,
  361. /* [in] */ DWORD dwFlags);
  362. void __RPC_STUB ITfLangBarMgr_ShowFloating_Stub(
  363. IRpcStubBuffer *This,
  364. IRpcChannelBuffer *_pRpcChannelBuffer,
  365. PRPC_MESSAGE _pRpcMessage,
  366. DWORD *_pdwStubPhase);
  367. HRESULT STDMETHODCALLTYPE ITfLangBarMgr_GetShowFloatingStatus_Proxy(
  368. ITfLangBarMgr * This,
  369. /* [out] */ DWORD *pdwFlags);
  370. void __RPC_STUB ITfLangBarMgr_GetShowFloatingStatus_Stub(
  371. IRpcStubBuffer *This,
  372. IRpcChannelBuffer *_pRpcChannelBuffer,
  373. PRPC_MESSAGE _pRpcMessage,
  374. DWORD *_pdwStubPhase);
  375. #endif /* __ITfLangBarMgr_INTERFACE_DEFINED__ */
  376. #ifndef __ITfLangBarEventSink_INTERFACE_DEFINED__
  377. #define __ITfLangBarEventSink_INTERFACE_DEFINED__
  378. /* interface ITfLangBarEventSink */
  379. /* [unique][uuid][object] */
  380. EXTERN_C const IID IID_ITfLangBarEventSink;
  381. #if defined(__cplusplus) && !defined(CINTERFACE)
  382. MIDL_INTERFACE("18a4e900-e0ae-11d2-afdd-00105a2799b5")
  383. ITfLangBarEventSink : public IUnknown
  384. {
  385. public:
  386. virtual HRESULT STDMETHODCALLTYPE OnSetFocus(
  387. /* [in] */ DWORD dwThreadId) = 0;
  388. virtual HRESULT STDMETHODCALLTYPE OnThreadTerminate(
  389. /* [in] */ DWORD dwThreadId) = 0;
  390. virtual HRESULT STDMETHODCALLTYPE OnThreadItemChange(
  391. /* [in] */ DWORD dwThreadId) = 0;
  392. virtual HRESULT STDMETHODCALLTYPE OnModalInput(
  393. /* [in] */ DWORD dwThreadId,
  394. /* [in] */ UINT uMsg,
  395. /* [in] */ WPARAM wParam,
  396. /* [in] */ LPARAM lParam) = 0;
  397. virtual HRESULT STDMETHODCALLTYPE ShowFloating(
  398. /* [in] */ DWORD dwFlags) = 0;
  399. virtual HRESULT STDMETHODCALLTYPE GetItemFloatingRect(
  400. /* [in] */ DWORD dwThreadId,
  401. /* [in] */ REFGUID rguid,
  402. /* [out] */ RECT *prc) = 0;
  403. };
  404. #else /* C style interface */
  405. typedef struct ITfLangBarEventSinkVtbl
  406. {
  407. BEGIN_INTERFACE
  408. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  409. ITfLangBarEventSink * This,
  410. /* [in] */ REFIID riid,
  411. /* [iid_is][out] */ void **ppvObject);
  412. ULONG ( STDMETHODCALLTYPE *AddRef )(
  413. ITfLangBarEventSink * This);
  414. ULONG ( STDMETHODCALLTYPE *Release )(
  415. ITfLangBarEventSink * This);
  416. HRESULT ( STDMETHODCALLTYPE *OnSetFocus )(
  417. ITfLangBarEventSink * This,
  418. /* [in] */ DWORD dwThreadId);
  419. HRESULT ( STDMETHODCALLTYPE *OnThreadTerminate )(
  420. ITfLangBarEventSink * This,
  421. /* [in] */ DWORD dwThreadId);
  422. HRESULT ( STDMETHODCALLTYPE *OnThreadItemChange )(
  423. ITfLangBarEventSink * This,
  424. /* [in] */ DWORD dwThreadId);
  425. HRESULT ( STDMETHODCALLTYPE *OnModalInput )(
  426. ITfLangBarEventSink * This,
  427. /* [in] */ DWORD dwThreadId,
  428. /* [in] */ UINT uMsg,
  429. /* [in] */ WPARAM wParam,
  430. /* [in] */ LPARAM lParam);
  431. HRESULT ( STDMETHODCALLTYPE *ShowFloating )(
  432. ITfLangBarEventSink * This,
  433. /* [in] */ DWORD dwFlags);
  434. HRESULT ( STDMETHODCALLTYPE *GetItemFloatingRect )(
  435. ITfLangBarEventSink * This,
  436. /* [in] */ DWORD dwThreadId,
  437. /* [in] */ REFGUID rguid,
  438. /* [out] */ RECT *prc);
  439. END_INTERFACE
  440. } ITfLangBarEventSinkVtbl;
  441. interface ITfLangBarEventSink
  442. {
  443. CONST_VTBL struct ITfLangBarEventSinkVtbl *lpVtbl;
  444. };
  445. #ifdef COBJMACROS
  446. #define ITfLangBarEventSink_QueryInterface(This,riid,ppvObject) \
  447. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  448. #define ITfLangBarEventSink_AddRef(This) \
  449. (This)->lpVtbl -> AddRef(This)
  450. #define ITfLangBarEventSink_Release(This) \
  451. (This)->lpVtbl -> Release(This)
  452. #define ITfLangBarEventSink_OnSetFocus(This,dwThreadId) \
  453. (This)->lpVtbl -> OnSetFocus(This,dwThreadId)
  454. #define ITfLangBarEventSink_OnThreadTerminate(This,dwThreadId) \
  455. (This)->lpVtbl -> OnThreadTerminate(This,dwThreadId)
  456. #define ITfLangBarEventSink_OnThreadItemChange(This,dwThreadId) \
  457. (This)->lpVtbl -> OnThreadItemChange(This,dwThreadId)
  458. #define ITfLangBarEventSink_OnModalInput(This,dwThreadId,uMsg,wParam,lParam) \
  459. (This)->lpVtbl -> OnModalInput(This,dwThreadId,uMsg,wParam,lParam)
  460. #define ITfLangBarEventSink_ShowFloating(This,dwFlags) \
  461. (This)->lpVtbl -> ShowFloating(This,dwFlags)
  462. #define ITfLangBarEventSink_GetItemFloatingRect(This,dwThreadId,rguid,prc) \
  463. (This)->lpVtbl -> GetItemFloatingRect(This,dwThreadId,rguid,prc)
  464. #endif /* COBJMACROS */
  465. #endif /* C style interface */
  466. HRESULT STDMETHODCALLTYPE ITfLangBarEventSink_OnSetFocus_Proxy(
  467. ITfLangBarEventSink * This,
  468. /* [in] */ DWORD dwThreadId);
  469. void __RPC_STUB ITfLangBarEventSink_OnSetFocus_Stub(
  470. IRpcStubBuffer *This,
  471. IRpcChannelBuffer *_pRpcChannelBuffer,
  472. PRPC_MESSAGE _pRpcMessage,
  473. DWORD *_pdwStubPhase);
  474. HRESULT STDMETHODCALLTYPE ITfLangBarEventSink_OnThreadTerminate_Proxy(
  475. ITfLangBarEventSink * This,
  476. /* [in] */ DWORD dwThreadId);
  477. void __RPC_STUB ITfLangBarEventSink_OnThreadTerminate_Stub(
  478. IRpcStubBuffer *This,
  479. IRpcChannelBuffer *_pRpcChannelBuffer,
  480. PRPC_MESSAGE _pRpcMessage,
  481. DWORD *_pdwStubPhase);
  482. HRESULT STDMETHODCALLTYPE ITfLangBarEventSink_OnThreadItemChange_Proxy(
  483. ITfLangBarEventSink * This,
  484. /* [in] */ DWORD dwThreadId);
  485. void __RPC_STUB ITfLangBarEventSink_OnThreadItemChange_Stub(
  486. IRpcStubBuffer *This,
  487. IRpcChannelBuffer *_pRpcChannelBuffer,
  488. PRPC_MESSAGE _pRpcMessage,
  489. DWORD *_pdwStubPhase);
  490. HRESULT STDMETHODCALLTYPE ITfLangBarEventSink_OnModalInput_Proxy(
  491. ITfLangBarEventSink * This,
  492. /* [in] */ DWORD dwThreadId,
  493. /* [in] */ UINT uMsg,
  494. /* [in] */ WPARAM wParam,
  495. /* [in] */ LPARAM lParam);
  496. void __RPC_STUB ITfLangBarEventSink_OnModalInput_Stub(
  497. IRpcStubBuffer *This,
  498. IRpcChannelBuffer *_pRpcChannelBuffer,
  499. PRPC_MESSAGE _pRpcMessage,
  500. DWORD *_pdwStubPhase);
  501. HRESULT STDMETHODCALLTYPE ITfLangBarEventSink_ShowFloating_Proxy(
  502. ITfLangBarEventSink * This,
  503. /* [in] */ DWORD dwFlags);
  504. void __RPC_STUB ITfLangBarEventSink_ShowFloating_Stub(
  505. IRpcStubBuffer *This,
  506. IRpcChannelBuffer *_pRpcChannelBuffer,
  507. PRPC_MESSAGE _pRpcMessage,
  508. DWORD *_pdwStubPhase);
  509. HRESULT STDMETHODCALLTYPE ITfLangBarEventSink_GetItemFloatingRect_Proxy(
  510. ITfLangBarEventSink * This,
  511. /* [in] */ DWORD dwThreadId,
  512. /* [in] */ REFGUID rguid,
  513. /* [out] */ RECT *prc);
  514. void __RPC_STUB ITfLangBarEventSink_GetItemFloatingRect_Stub(
  515. IRpcStubBuffer *This,
  516. IRpcChannelBuffer *_pRpcChannelBuffer,
  517. PRPC_MESSAGE _pRpcMessage,
  518. DWORD *_pdwStubPhase);
  519. #endif /* __ITfLangBarEventSink_INTERFACE_DEFINED__ */
  520. #ifndef __ITfLangBarItemSink_INTERFACE_DEFINED__
  521. #define __ITfLangBarItemSink_INTERFACE_DEFINED__
  522. /* interface ITfLangBarItemSink */
  523. /* [unique][uuid][object] */
  524. EXTERN_C const IID IID_ITfLangBarItemSink;
  525. #if defined(__cplusplus) && !defined(CINTERFACE)
  526. MIDL_INTERFACE("57dbe1a0-de25-11d2-afdd-00105a2799b5")
  527. ITfLangBarItemSink : public IUnknown
  528. {
  529. public:
  530. virtual HRESULT STDMETHODCALLTYPE OnUpdate(
  531. /* [in] */ DWORD dwFlags) = 0;
  532. };
  533. #else /* C style interface */
  534. typedef struct ITfLangBarItemSinkVtbl
  535. {
  536. BEGIN_INTERFACE
  537. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  538. ITfLangBarItemSink * This,
  539. /* [in] */ REFIID riid,
  540. /* [iid_is][out] */ void **ppvObject);
  541. ULONG ( STDMETHODCALLTYPE *AddRef )(
  542. ITfLangBarItemSink * This);
  543. ULONG ( STDMETHODCALLTYPE *Release )(
  544. ITfLangBarItemSink * This);
  545. HRESULT ( STDMETHODCALLTYPE *OnUpdate )(
  546. ITfLangBarItemSink * This,
  547. /* [in] */ DWORD dwFlags);
  548. END_INTERFACE
  549. } ITfLangBarItemSinkVtbl;
  550. interface ITfLangBarItemSink
  551. {
  552. CONST_VTBL struct ITfLangBarItemSinkVtbl *lpVtbl;
  553. };
  554. #ifdef COBJMACROS
  555. #define ITfLangBarItemSink_QueryInterface(This,riid,ppvObject) \
  556. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  557. #define ITfLangBarItemSink_AddRef(This) \
  558. (This)->lpVtbl -> AddRef(This)
  559. #define ITfLangBarItemSink_Release(This) \
  560. (This)->lpVtbl -> Release(This)
  561. #define ITfLangBarItemSink_OnUpdate(This,dwFlags) \
  562. (This)->lpVtbl -> OnUpdate(This,dwFlags)
  563. #endif /* COBJMACROS */
  564. #endif /* C style interface */
  565. HRESULT STDMETHODCALLTYPE ITfLangBarItemSink_OnUpdate_Proxy(
  566. ITfLangBarItemSink * This,
  567. /* [in] */ DWORD dwFlags);
  568. void __RPC_STUB ITfLangBarItemSink_OnUpdate_Stub(
  569. IRpcStubBuffer *This,
  570. IRpcChannelBuffer *_pRpcChannelBuffer,
  571. PRPC_MESSAGE _pRpcMessage,
  572. DWORD *_pdwStubPhase);
  573. #endif /* __ITfLangBarItemSink_INTERFACE_DEFINED__ */
  574. #ifndef __IEnumTfLangBarItems_INTERFACE_DEFINED__
  575. #define __IEnumTfLangBarItems_INTERFACE_DEFINED__
  576. /* interface IEnumTfLangBarItems */
  577. /* [unique][uuid][object] */
  578. EXTERN_C const IID IID_IEnumTfLangBarItems;
  579. #if defined(__cplusplus) && !defined(CINTERFACE)
  580. MIDL_INTERFACE("583f34d0-de25-11d2-afdd-00105a2799b5")
  581. IEnumTfLangBarItems : public IUnknown
  582. {
  583. public:
  584. virtual HRESULT STDMETHODCALLTYPE Clone(
  585. /* [out] */ IEnumTfLangBarItems **ppEnum) = 0;
  586. virtual HRESULT STDMETHODCALLTYPE Next(
  587. /* [in] */ ULONG ulCount,
  588. /* [size_is][out] */ ITfLangBarItem **ppItem,
  589. /* [unique][out][in] */ ULONG *pcFetched) = 0;
  590. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  591. virtual HRESULT STDMETHODCALLTYPE Skip(
  592. /* [in] */ ULONG ulCount) = 0;
  593. };
  594. #else /* C style interface */
  595. typedef struct IEnumTfLangBarItemsVtbl
  596. {
  597. BEGIN_INTERFACE
  598. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  599. IEnumTfLangBarItems * This,
  600. /* [in] */ REFIID riid,
  601. /* [iid_is][out] */ void **ppvObject);
  602. ULONG ( STDMETHODCALLTYPE *AddRef )(
  603. IEnumTfLangBarItems * This);
  604. ULONG ( STDMETHODCALLTYPE *Release )(
  605. IEnumTfLangBarItems * This);
  606. HRESULT ( STDMETHODCALLTYPE *Clone )(
  607. IEnumTfLangBarItems * This,
  608. /* [out] */ IEnumTfLangBarItems **ppEnum);
  609. HRESULT ( STDMETHODCALLTYPE *Next )(
  610. IEnumTfLangBarItems * This,
  611. /* [in] */ ULONG ulCount,
  612. /* [size_is][out] */ ITfLangBarItem **ppItem,
  613. /* [unique][out][in] */ ULONG *pcFetched);
  614. HRESULT ( STDMETHODCALLTYPE *Reset )(
  615. IEnumTfLangBarItems * This);
  616. HRESULT ( STDMETHODCALLTYPE *Skip )(
  617. IEnumTfLangBarItems * This,
  618. /* [in] */ ULONG ulCount);
  619. END_INTERFACE
  620. } IEnumTfLangBarItemsVtbl;
  621. interface IEnumTfLangBarItems
  622. {
  623. CONST_VTBL struct IEnumTfLangBarItemsVtbl *lpVtbl;
  624. };
  625. #ifdef COBJMACROS
  626. #define IEnumTfLangBarItems_QueryInterface(This,riid,ppvObject) \
  627. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  628. #define IEnumTfLangBarItems_AddRef(This) \
  629. (This)->lpVtbl -> AddRef(This)
  630. #define IEnumTfLangBarItems_Release(This) \
  631. (This)->lpVtbl -> Release(This)
  632. #define IEnumTfLangBarItems_Clone(This,ppEnum) \
  633. (This)->lpVtbl -> Clone(This,ppEnum)
  634. #define IEnumTfLangBarItems_Next(This,ulCount,ppItem,pcFetched) \
  635. (This)->lpVtbl -> Next(This,ulCount,ppItem,pcFetched)
  636. #define IEnumTfLangBarItems_Reset(This) \
  637. (This)->lpVtbl -> Reset(This)
  638. #define IEnumTfLangBarItems_Skip(This,ulCount) \
  639. (This)->lpVtbl -> Skip(This,ulCount)
  640. #endif /* COBJMACROS */
  641. #endif /* C style interface */
  642. HRESULT STDMETHODCALLTYPE IEnumTfLangBarItems_Clone_Proxy(
  643. IEnumTfLangBarItems * This,
  644. /* [out] */ IEnumTfLangBarItems **ppEnum);
  645. void __RPC_STUB IEnumTfLangBarItems_Clone_Stub(
  646. IRpcStubBuffer *This,
  647. IRpcChannelBuffer *_pRpcChannelBuffer,
  648. PRPC_MESSAGE _pRpcMessage,
  649. DWORD *_pdwStubPhase);
  650. HRESULT STDMETHODCALLTYPE IEnumTfLangBarItems_Next_Proxy(
  651. IEnumTfLangBarItems * This,
  652. /* [in] */ ULONG ulCount,
  653. /* [size_is][out] */ ITfLangBarItem **ppItem,
  654. /* [unique][out][in] */ ULONG *pcFetched);
  655. void __RPC_STUB IEnumTfLangBarItems_Next_Stub(
  656. IRpcStubBuffer *This,
  657. IRpcChannelBuffer *_pRpcChannelBuffer,
  658. PRPC_MESSAGE _pRpcMessage,
  659. DWORD *_pdwStubPhase);
  660. HRESULT STDMETHODCALLTYPE IEnumTfLangBarItems_Reset_Proxy(
  661. IEnumTfLangBarItems * This);
  662. void __RPC_STUB IEnumTfLangBarItems_Reset_Stub(
  663. IRpcStubBuffer *This,
  664. IRpcChannelBuffer *_pRpcChannelBuffer,
  665. PRPC_MESSAGE _pRpcMessage,
  666. DWORD *_pdwStubPhase);
  667. HRESULT STDMETHODCALLTYPE IEnumTfLangBarItems_Skip_Proxy(
  668. IEnumTfLangBarItems * This,
  669. /* [in] */ ULONG ulCount);
  670. void __RPC_STUB IEnumTfLangBarItems_Skip_Stub(
  671. IRpcStubBuffer *This,
  672. IRpcChannelBuffer *_pRpcChannelBuffer,
  673. PRPC_MESSAGE _pRpcMessage,
  674. DWORD *_pdwStubPhase);
  675. #endif /* __IEnumTfLangBarItems_INTERFACE_DEFINED__ */
  676. /* interface __MIDL_itf_ctfutb_0206 */
  677. /* [local] */
  678. #define TF_LBI_DESC_MAXLEN ( 32 )
  679. typedef /* [uuid] */ DECLSPEC_UUID("12a1d29f-a065-440c-9746-eb2002c8bd19") struct TF_LANGBARITEMINFO
  680. {
  681. CLSID clsidService;
  682. GUID guidItem;
  683. DWORD dwStyle;
  684. ULONG ulSort;
  685. WCHAR szDescription[ 32 ];
  686. } TF_LANGBARITEMINFO;
  687. extern RPC_IF_HANDLE __MIDL_itf_ctfutb_0206_v0_0_c_ifspec;
  688. extern RPC_IF_HANDLE __MIDL_itf_ctfutb_0206_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] */ TF_LANGBARITEMINFO *pInfo,
  728. /* [size_is][out] */ 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] */ TF_LANGBARITEMINFO *pInfo,
  790. /* [size_is][out] */ 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] */ TF_LANGBARITEMINFO *pInfo,
  925. /* [size_is][out] */ 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_0211 */
  1263. /* [local] */
  1264. typedef /* [public][public][public][public][public][uuid] */ DECLSPEC_UUID("8fb5f0ce-dfdd-4f0a-85b9-8988d8dd8ff2")
  1265. enum __MIDL___MIDL_itf_ctfutb_0211_0001
  1266. { TF_LBI_CLK_RIGHT = 1,
  1267. TF_LBI_CLK_LEFT = 2
  1268. } TfLBIClick;
  1269. extern RPC_IF_HANDLE __MIDL_itf_ctfutb_0211_v0_0_c_ifspec;
  1270. extern RPC_IF_HANDLE __MIDL_itf_ctfutb_0211_v0_0_s_ifspec;
  1271. #ifndef __ITfLangBarItemButton_INTERFACE_DEFINED__
  1272. #define __ITfLangBarItemButton_INTERFACE_DEFINED__
  1273. /* interface ITfLangBarItemButton */
  1274. /* [unique][uuid][object] */
  1275. EXTERN_C const IID IID_ITfLangBarItemButton;
  1276. #if defined(__cplusplus) && !defined(CINTERFACE)
  1277. MIDL_INTERFACE("28c7f1d0-de25-11d2-afdd-00105a2799b5")
  1278. ITfLangBarItemButton : public ITfLangBarItem
  1279. {
  1280. public:
  1281. virtual HRESULT STDMETHODCALLTYPE OnClick(
  1282. /* [in] */ TfLBIClick click,
  1283. /* [in] */ POINT pt,
  1284. /* [in] */ const RECT *prcArea) = 0;
  1285. virtual HRESULT STDMETHODCALLTYPE InitMenu(
  1286. /* [in] */ ITfMenu *pMenu) = 0;
  1287. virtual HRESULT STDMETHODCALLTYPE OnMenuSelect(
  1288. /* [in] */ UINT wID) = 0;
  1289. virtual HRESULT STDMETHODCALLTYPE GetIcon(
  1290. /* [out] */ HICON *phIcon) = 0;
  1291. virtual HRESULT STDMETHODCALLTYPE GetText(
  1292. /* [out] */ BSTR *pbstrText) = 0;
  1293. };
  1294. #else /* C style interface */
  1295. typedef struct ITfLangBarItemButtonVtbl
  1296. {
  1297. BEGIN_INTERFACE
  1298. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1299. ITfLangBarItemButton * This,
  1300. /* [in] */ REFIID riid,
  1301. /* [iid_is][out] */ void **ppvObject);
  1302. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1303. ITfLangBarItemButton * This);
  1304. ULONG ( STDMETHODCALLTYPE *Release )(
  1305. ITfLangBarItemButton * This);
  1306. HRESULT ( STDMETHODCALLTYPE *GetInfo )(
  1307. ITfLangBarItemButton * This,
  1308. /* [out] */ TF_LANGBARITEMINFO *pInfo);
  1309. HRESULT ( STDMETHODCALLTYPE *GetStatus )(
  1310. ITfLangBarItemButton * This,
  1311. /* [out] */ DWORD *pdwStatus);
  1312. HRESULT ( STDMETHODCALLTYPE *Show )(
  1313. ITfLangBarItemButton * This,
  1314. /* [in] */ BOOL fShow);
  1315. HRESULT ( STDMETHODCALLTYPE *GetTooltipString )(
  1316. ITfLangBarItemButton * This,
  1317. /* [out] */ BSTR *pbstrToolTip);
  1318. HRESULT ( STDMETHODCALLTYPE *OnClick )(
  1319. ITfLangBarItemButton * This,
  1320. /* [in] */ TfLBIClick click,
  1321. /* [in] */ POINT pt,
  1322. /* [in] */ const RECT *prcArea);
  1323. HRESULT ( STDMETHODCALLTYPE *InitMenu )(
  1324. ITfLangBarItemButton * This,
  1325. /* [in] */ ITfMenu *pMenu);
  1326. HRESULT ( STDMETHODCALLTYPE *OnMenuSelect )(
  1327. ITfLangBarItemButton * This,
  1328. /* [in] */ UINT wID);
  1329. HRESULT ( STDMETHODCALLTYPE *GetIcon )(
  1330. ITfLangBarItemButton * This,
  1331. /* [out] */ HICON *phIcon);
  1332. HRESULT ( STDMETHODCALLTYPE *GetText )(
  1333. ITfLangBarItemButton * This,
  1334. /* [out] */ BSTR *pbstrText);
  1335. END_INTERFACE
  1336. } ITfLangBarItemButtonVtbl;
  1337. interface ITfLangBarItemButton
  1338. {
  1339. CONST_VTBL struct ITfLangBarItemButtonVtbl *lpVtbl;
  1340. };
  1341. #ifdef COBJMACROS
  1342. #define ITfLangBarItemButton_QueryInterface(This,riid,ppvObject) \
  1343. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1344. #define ITfLangBarItemButton_AddRef(This) \
  1345. (This)->lpVtbl -> AddRef(This)
  1346. #define ITfLangBarItemButton_Release(This) \
  1347. (This)->lpVtbl -> Release(This)
  1348. #define ITfLangBarItemButton_GetInfo(This,pInfo) \
  1349. (This)->lpVtbl -> GetInfo(This,pInfo)
  1350. #define ITfLangBarItemButton_GetStatus(This,pdwStatus) \
  1351. (This)->lpVtbl -> GetStatus(This,pdwStatus)
  1352. #define ITfLangBarItemButton_Show(This,fShow) \
  1353. (This)->lpVtbl -> Show(This,fShow)
  1354. #define ITfLangBarItemButton_GetTooltipString(This,pbstrToolTip) \
  1355. (This)->lpVtbl -> GetTooltipString(This,pbstrToolTip)
  1356. #define ITfLangBarItemButton_OnClick(This,click,pt,prcArea) \
  1357. (This)->lpVtbl -> OnClick(This,click,pt,prcArea)
  1358. #define ITfLangBarItemButton_InitMenu(This,pMenu) \
  1359. (This)->lpVtbl -> InitMenu(This,pMenu)
  1360. #define ITfLangBarItemButton_OnMenuSelect(This,wID) \
  1361. (This)->lpVtbl -> OnMenuSelect(This,wID)
  1362. #define ITfLangBarItemButton_GetIcon(This,phIcon) \
  1363. (This)->lpVtbl -> GetIcon(This,phIcon)
  1364. #define ITfLangBarItemButton_GetText(This,pbstrText) \
  1365. (This)->lpVtbl -> GetText(This,pbstrText)
  1366. #endif /* COBJMACROS */
  1367. #endif /* C style interface */
  1368. HRESULT STDMETHODCALLTYPE ITfLangBarItemButton_OnClick_Proxy(
  1369. ITfLangBarItemButton * This,
  1370. /* [in] */ TfLBIClick click,
  1371. /* [in] */ POINT pt,
  1372. /* [in] */ const RECT *prcArea);
  1373. void __RPC_STUB ITfLangBarItemButton_OnClick_Stub(
  1374. IRpcStubBuffer *This,
  1375. IRpcChannelBuffer *_pRpcChannelBuffer,
  1376. PRPC_MESSAGE _pRpcMessage,
  1377. DWORD *_pdwStubPhase);
  1378. HRESULT STDMETHODCALLTYPE ITfLangBarItemButton_InitMenu_Proxy(
  1379. ITfLangBarItemButton * This,
  1380. /* [in] */ ITfMenu *pMenu);
  1381. void __RPC_STUB ITfLangBarItemButton_InitMenu_Stub(
  1382. IRpcStubBuffer *This,
  1383. IRpcChannelBuffer *_pRpcChannelBuffer,
  1384. PRPC_MESSAGE _pRpcMessage,
  1385. DWORD *_pdwStubPhase);
  1386. HRESULT STDMETHODCALLTYPE ITfLangBarItemButton_OnMenuSelect_Proxy(
  1387. ITfLangBarItemButton * This,
  1388. /* [in] */ UINT wID);
  1389. void __RPC_STUB ITfLangBarItemButton_OnMenuSelect_Stub(
  1390. IRpcStubBuffer *This,
  1391. IRpcChannelBuffer *_pRpcChannelBuffer,
  1392. PRPC_MESSAGE _pRpcMessage,
  1393. DWORD *_pdwStubPhase);
  1394. HRESULT STDMETHODCALLTYPE ITfLangBarItemButton_GetIcon_Proxy(
  1395. ITfLangBarItemButton * This,
  1396. /* [out] */ HICON *phIcon);
  1397. void __RPC_STUB ITfLangBarItemButton_GetIcon_Stub(
  1398. IRpcStubBuffer *This,
  1399. IRpcChannelBuffer *_pRpcChannelBuffer,
  1400. PRPC_MESSAGE _pRpcMessage,
  1401. DWORD *_pdwStubPhase);
  1402. HRESULT STDMETHODCALLTYPE ITfLangBarItemButton_GetText_Proxy(
  1403. ITfLangBarItemButton * This,
  1404. /* [out] */ BSTR *pbstrText);
  1405. void __RPC_STUB ITfLangBarItemButton_GetText_Stub(
  1406. IRpcStubBuffer *This,
  1407. IRpcChannelBuffer *_pRpcChannelBuffer,
  1408. PRPC_MESSAGE _pRpcMessage,
  1409. DWORD *_pdwStubPhase);
  1410. #endif /* __ITfLangBarItemButton_INTERFACE_DEFINED__ */
  1411. #ifndef __ITfLangBarItemBitmapButton_INTERFACE_DEFINED__
  1412. #define __ITfLangBarItemBitmapButton_INTERFACE_DEFINED__
  1413. /* interface ITfLangBarItemBitmapButton */
  1414. /* [unique][uuid][object] */
  1415. EXTERN_C const IID IID_ITfLangBarItemBitmapButton;
  1416. #if defined(__cplusplus) && !defined(CINTERFACE)
  1417. MIDL_INTERFACE("a26a0525-3fae-4fa0-89ee-88a964f9f1b5")
  1418. ITfLangBarItemBitmapButton : public ITfLangBarItem
  1419. {
  1420. public:
  1421. virtual HRESULT STDMETHODCALLTYPE OnClick(
  1422. /* [in] */ TfLBIClick click,
  1423. /* [in] */ POINT pt,
  1424. /* [in] */ const RECT *prcArea) = 0;
  1425. virtual HRESULT STDMETHODCALLTYPE InitMenu(
  1426. /* [in] */ ITfMenu *pMenu) = 0;
  1427. virtual HRESULT STDMETHODCALLTYPE OnMenuSelect(
  1428. /* [in] */ UINT wID) = 0;
  1429. virtual HRESULT STDMETHODCALLTYPE GetPreferredSize(
  1430. /* [in] */ const SIZE *pszDefault,
  1431. /* [out] */ SIZE *psz) = 0;
  1432. virtual HRESULT STDMETHODCALLTYPE DrawBitmap(
  1433. /* [in] */ LONG bmWidth,
  1434. /* [in] */ LONG bmHeight,
  1435. /* [in] */ DWORD dwFlags,
  1436. /* [out] */ HBITMAP *phbmp,
  1437. /* [out] */ HBITMAP *phbmpMask) = 0;
  1438. virtual HRESULT STDMETHODCALLTYPE GetText(
  1439. /* [out] */ BSTR *pbstrText) = 0;
  1440. };
  1441. #else /* C style interface */
  1442. typedef struct ITfLangBarItemBitmapButtonVtbl
  1443. {
  1444. BEGIN_INTERFACE
  1445. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1446. ITfLangBarItemBitmapButton * This,
  1447. /* [in] */ REFIID riid,
  1448. /* [iid_is][out] */ void **ppvObject);
  1449. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1450. ITfLangBarItemBitmapButton * This);
  1451. ULONG ( STDMETHODCALLTYPE *Release )(
  1452. ITfLangBarItemBitmapButton * This);
  1453. HRESULT ( STDMETHODCALLTYPE *GetInfo )(
  1454. ITfLangBarItemBitmapButton * This,
  1455. /* [out] */ TF_LANGBARITEMINFO *pInfo);
  1456. HRESULT ( STDMETHODCALLTYPE *GetStatus )(
  1457. ITfLangBarItemBitmapButton * This,
  1458. /* [out] */ DWORD *pdwStatus);
  1459. HRESULT ( STDMETHODCALLTYPE *Show )(
  1460. ITfLangBarItemBitmapButton * This,
  1461. /* [in] */ BOOL fShow);
  1462. HRESULT ( STDMETHODCALLTYPE *GetTooltipString )(
  1463. ITfLangBarItemBitmapButton * This,
  1464. /* [out] */ BSTR *pbstrToolTip);
  1465. HRESULT ( STDMETHODCALLTYPE *OnClick )(
  1466. ITfLangBarItemBitmapButton * This,
  1467. /* [in] */ TfLBIClick click,
  1468. /* [in] */ POINT pt,
  1469. /* [in] */ const RECT *prcArea);
  1470. HRESULT ( STDMETHODCALLTYPE *InitMenu )(
  1471. ITfLangBarItemBitmapButton * This,
  1472. /* [in] */ ITfMenu *pMenu);
  1473. HRESULT ( STDMETHODCALLTYPE *OnMenuSelect )(
  1474. ITfLangBarItemBitmapButton * This,
  1475. /* [in] */ UINT wID);
  1476. HRESULT ( STDMETHODCALLTYPE *GetPreferredSize )(
  1477. ITfLangBarItemBitmapButton * This,
  1478. /* [in] */ const SIZE *pszDefault,
  1479. /* [out] */ SIZE *psz);
  1480. HRESULT ( STDMETHODCALLTYPE *DrawBitmap )(
  1481. ITfLangBarItemBitmapButton * This,
  1482. /* [in] */ LONG bmWidth,
  1483. /* [in] */ LONG bmHeight,
  1484. /* [in] */ DWORD dwFlags,
  1485. /* [out] */ HBITMAP *phbmp,
  1486. /* [out] */ HBITMAP *phbmpMask);
  1487. HRESULT ( STDMETHODCALLTYPE *GetText )(
  1488. ITfLangBarItemBitmapButton * This,
  1489. /* [out] */ BSTR *pbstrText);
  1490. END_INTERFACE
  1491. } ITfLangBarItemBitmapButtonVtbl;
  1492. interface ITfLangBarItemBitmapButton
  1493. {
  1494. CONST_VTBL struct ITfLangBarItemBitmapButtonVtbl *lpVtbl;
  1495. };
  1496. #ifdef COBJMACROS
  1497. #define ITfLangBarItemBitmapButton_QueryInterface(This,riid,ppvObject) \
  1498. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1499. #define ITfLangBarItemBitmapButton_AddRef(This) \
  1500. (This)->lpVtbl -> AddRef(This)
  1501. #define ITfLangBarItemBitmapButton_Release(This) \
  1502. (This)->lpVtbl -> Release(This)
  1503. #define ITfLangBarItemBitmapButton_GetInfo(This,pInfo) \
  1504. (This)->lpVtbl -> GetInfo(This,pInfo)
  1505. #define ITfLangBarItemBitmapButton_GetStatus(This,pdwStatus) \
  1506. (This)->lpVtbl -> GetStatus(This,pdwStatus)
  1507. #define ITfLangBarItemBitmapButton_Show(This,fShow) \
  1508. (This)->lpVtbl -> Show(This,fShow)
  1509. #define ITfLangBarItemBitmapButton_GetTooltipString(This,pbstrToolTip) \
  1510. (This)->lpVtbl -> GetTooltipString(This,pbstrToolTip)
  1511. #define ITfLangBarItemBitmapButton_OnClick(This,click,pt,prcArea) \
  1512. (This)->lpVtbl -> OnClick(This,click,pt,prcArea)
  1513. #define ITfLangBarItemBitmapButton_InitMenu(This,pMenu) \
  1514. (This)->lpVtbl -> InitMenu(This,pMenu)
  1515. #define ITfLangBarItemBitmapButton_OnMenuSelect(This,wID) \
  1516. (This)->lpVtbl -> OnMenuSelect(This,wID)
  1517. #define ITfLangBarItemBitmapButton_GetPreferredSize(This,pszDefault,psz) \
  1518. (This)->lpVtbl -> GetPreferredSize(This,pszDefault,psz)
  1519. #define ITfLangBarItemBitmapButton_DrawBitmap(This,bmWidth,bmHeight,dwFlags,phbmp,phbmpMask) \
  1520. (This)->lpVtbl -> DrawBitmap(This,bmWidth,bmHeight,dwFlags,phbmp,phbmpMask)
  1521. #define ITfLangBarItemBitmapButton_GetText(This,pbstrText) \
  1522. (This)->lpVtbl -> GetText(This,pbstrText)
  1523. #endif /* COBJMACROS */
  1524. #endif /* C style interface */
  1525. HRESULT STDMETHODCALLTYPE ITfLangBarItemBitmapButton_OnClick_Proxy(
  1526. ITfLangBarItemBitmapButton * This,
  1527. /* [in] */ TfLBIClick click,
  1528. /* [in] */ POINT pt,
  1529. /* [in] */ const RECT *prcArea);
  1530. void __RPC_STUB ITfLangBarItemBitmapButton_OnClick_Stub(
  1531. IRpcStubBuffer *This,
  1532. IRpcChannelBuffer *_pRpcChannelBuffer,
  1533. PRPC_MESSAGE _pRpcMessage,
  1534. DWORD *_pdwStubPhase);
  1535. HRESULT STDMETHODCALLTYPE ITfLangBarItemBitmapButton_InitMenu_Proxy(
  1536. ITfLangBarItemBitmapButton * This,
  1537. /* [in] */ ITfMenu *pMenu);
  1538. void __RPC_STUB ITfLangBarItemBitmapButton_InitMenu_Stub(
  1539. IRpcStubBuffer *This,
  1540. IRpcChannelBuffer *_pRpcChannelBuffer,
  1541. PRPC_MESSAGE _pRpcMessage,
  1542. DWORD *_pdwStubPhase);
  1543. HRESULT STDMETHODCALLTYPE ITfLangBarItemBitmapButton_OnMenuSelect_Proxy(
  1544. ITfLangBarItemBitmapButton * This,
  1545. /* [in] */ UINT wID);
  1546. void __RPC_STUB ITfLangBarItemBitmapButton_OnMenuSelect_Stub(
  1547. IRpcStubBuffer *This,
  1548. IRpcChannelBuffer *_pRpcChannelBuffer,
  1549. PRPC_MESSAGE _pRpcMessage,
  1550. DWORD *_pdwStubPhase);
  1551. HRESULT STDMETHODCALLTYPE ITfLangBarItemBitmapButton_GetPreferredSize_Proxy(
  1552. ITfLangBarItemBitmapButton * This,
  1553. /* [in] */ const SIZE *pszDefault,
  1554. /* [out] */ SIZE *psz);
  1555. void __RPC_STUB ITfLangBarItemBitmapButton_GetPreferredSize_Stub(
  1556. IRpcStubBuffer *This,
  1557. IRpcChannelBuffer *_pRpcChannelBuffer,
  1558. PRPC_MESSAGE _pRpcMessage,
  1559. DWORD *_pdwStubPhase);
  1560. HRESULT STDMETHODCALLTYPE ITfLangBarItemBitmapButton_DrawBitmap_Proxy(
  1561. ITfLangBarItemBitmapButton * This,
  1562. /* [in] */ LONG bmWidth,
  1563. /* [in] */ LONG bmHeight,
  1564. /* [in] */ DWORD dwFlags,
  1565. /* [out] */ HBITMAP *phbmp,
  1566. /* [out] */ HBITMAP *phbmpMask);
  1567. void __RPC_STUB ITfLangBarItemBitmapButton_DrawBitmap_Stub(
  1568. IRpcStubBuffer *This,
  1569. IRpcChannelBuffer *_pRpcChannelBuffer,
  1570. PRPC_MESSAGE _pRpcMessage,
  1571. DWORD *_pdwStubPhase);
  1572. HRESULT STDMETHODCALLTYPE ITfLangBarItemBitmapButton_GetText_Proxy(
  1573. ITfLangBarItemBitmapButton * This,
  1574. /* [out] */ BSTR *pbstrText);
  1575. void __RPC_STUB ITfLangBarItemBitmapButton_GetText_Stub(
  1576. IRpcStubBuffer *This,
  1577. IRpcChannelBuffer *_pRpcChannelBuffer,
  1578. PRPC_MESSAGE _pRpcMessage,
  1579. DWORD *_pdwStubPhase);
  1580. #endif /* __ITfLangBarItemBitmapButton_INTERFACE_DEFINED__ */
  1581. #ifndef __ITfLangBarItemBitmap_INTERFACE_DEFINED__
  1582. #define __ITfLangBarItemBitmap_INTERFACE_DEFINED__
  1583. /* interface ITfLangBarItemBitmap */
  1584. /* [unique][uuid][object] */
  1585. EXTERN_C const IID IID_ITfLangBarItemBitmap;
  1586. #if defined(__cplusplus) && !defined(CINTERFACE)
  1587. MIDL_INTERFACE("73830352-d722-4179-ada5-f045c98df355")
  1588. ITfLangBarItemBitmap : public ITfLangBarItem
  1589. {
  1590. public:
  1591. virtual HRESULT STDMETHODCALLTYPE OnClick(
  1592. /* [in] */ TfLBIClick click,
  1593. /* [in] */ POINT pt,
  1594. /* [in] */ const RECT *prcArea) = 0;
  1595. virtual HRESULT STDMETHODCALLTYPE GetPreferredSize(
  1596. /* [in] */ const SIZE *pszDefault,
  1597. /* [out] */ SIZE *psz) = 0;
  1598. virtual HRESULT STDMETHODCALLTYPE DrawBitmap(
  1599. /* [in] */ LONG bmWidth,
  1600. /* [in] */ LONG bmHeight,
  1601. /* [in] */ DWORD dwFlags,
  1602. /* [out] */ HBITMAP *phbmp,
  1603. /* [out] */ HBITMAP *phbmpMask) = 0;
  1604. };
  1605. #else /* C style interface */
  1606. typedef struct ITfLangBarItemBitmapVtbl
  1607. {
  1608. BEGIN_INTERFACE
  1609. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1610. ITfLangBarItemBitmap * This,
  1611. /* [in] */ REFIID riid,
  1612. /* [iid_is][out] */ void **ppvObject);
  1613. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1614. ITfLangBarItemBitmap * This);
  1615. ULONG ( STDMETHODCALLTYPE *Release )(
  1616. ITfLangBarItemBitmap * This);
  1617. HRESULT ( STDMETHODCALLTYPE *GetInfo )(
  1618. ITfLangBarItemBitmap * This,
  1619. /* [out] */ TF_LANGBARITEMINFO *pInfo);
  1620. HRESULT ( STDMETHODCALLTYPE *GetStatus )(
  1621. ITfLangBarItemBitmap * This,
  1622. /* [out] */ DWORD *pdwStatus);
  1623. HRESULT ( STDMETHODCALLTYPE *Show )(
  1624. ITfLangBarItemBitmap * This,
  1625. /* [in] */ BOOL fShow);
  1626. HRESULT ( STDMETHODCALLTYPE *GetTooltipString )(
  1627. ITfLangBarItemBitmap * This,
  1628. /* [out] */ BSTR *pbstrToolTip);
  1629. HRESULT ( STDMETHODCALLTYPE *OnClick )(
  1630. ITfLangBarItemBitmap * This,
  1631. /* [in] */ TfLBIClick click,
  1632. /* [in] */ POINT pt,
  1633. /* [in] */ const RECT *prcArea);
  1634. HRESULT ( STDMETHODCALLTYPE *GetPreferredSize )(
  1635. ITfLangBarItemBitmap * This,
  1636. /* [in] */ const SIZE *pszDefault,
  1637. /* [out] */ SIZE *psz);
  1638. HRESULT ( STDMETHODCALLTYPE *DrawBitmap )(
  1639. ITfLangBarItemBitmap * This,
  1640. /* [in] */ LONG bmWidth,
  1641. /* [in] */ LONG bmHeight,
  1642. /* [in] */ DWORD dwFlags,
  1643. /* [out] */ HBITMAP *phbmp,
  1644. /* [out] */ HBITMAP *phbmpMask);
  1645. END_INTERFACE
  1646. } ITfLangBarItemBitmapVtbl;
  1647. interface ITfLangBarItemBitmap
  1648. {
  1649. CONST_VTBL struct ITfLangBarItemBitmapVtbl *lpVtbl;
  1650. };
  1651. #ifdef COBJMACROS
  1652. #define ITfLangBarItemBitmap_QueryInterface(This,riid,ppvObject) \
  1653. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1654. #define ITfLangBarItemBitmap_AddRef(This) \
  1655. (This)->lpVtbl -> AddRef(This)
  1656. #define ITfLangBarItemBitmap_Release(This) \
  1657. (This)->lpVtbl -> Release(This)
  1658. #define ITfLangBarItemBitmap_GetInfo(This,pInfo) \
  1659. (This)->lpVtbl -> GetInfo(This,pInfo)
  1660. #define ITfLangBarItemBitmap_GetStatus(This,pdwStatus) \
  1661. (This)->lpVtbl -> GetStatus(This,pdwStatus)
  1662. #define ITfLangBarItemBitmap_Show(This,fShow) \
  1663. (This)->lpVtbl -> Show(This,fShow)
  1664. #define ITfLangBarItemBitmap_GetTooltipString(This,pbstrToolTip) \
  1665. (This)->lpVtbl -> GetTooltipString(This,pbstrToolTip)
  1666. #define ITfLangBarItemBitmap_OnClick(This,click,pt,prcArea) \
  1667. (This)->lpVtbl -> OnClick(This,click,pt,prcArea)
  1668. #define ITfLangBarItemBitmap_GetPreferredSize(This,pszDefault,psz) \
  1669. (This)->lpVtbl -> GetPreferredSize(This,pszDefault,psz)
  1670. #define ITfLangBarItemBitmap_DrawBitmap(This,bmWidth,bmHeight,dwFlags,phbmp,phbmpMask) \
  1671. (This)->lpVtbl -> DrawBitmap(This,bmWidth,bmHeight,dwFlags,phbmp,phbmpMask)
  1672. #endif /* COBJMACROS */
  1673. #endif /* C style interface */
  1674. HRESULT STDMETHODCALLTYPE ITfLangBarItemBitmap_OnClick_Proxy(
  1675. ITfLangBarItemBitmap * This,
  1676. /* [in] */ TfLBIClick click,
  1677. /* [in] */ POINT pt,
  1678. /* [in] */ const RECT *prcArea);
  1679. void __RPC_STUB ITfLangBarItemBitmap_OnClick_Stub(
  1680. IRpcStubBuffer *This,
  1681. IRpcChannelBuffer *_pRpcChannelBuffer,
  1682. PRPC_MESSAGE _pRpcMessage,
  1683. DWORD *_pdwStubPhase);
  1684. HRESULT STDMETHODCALLTYPE ITfLangBarItemBitmap_GetPreferredSize_Proxy(
  1685. ITfLangBarItemBitmap * This,
  1686. /* [in] */ const SIZE *pszDefault,
  1687. /* [out] */ SIZE *psz);
  1688. void __RPC_STUB ITfLangBarItemBitmap_GetPreferredSize_Stub(
  1689. IRpcStubBuffer *This,
  1690. IRpcChannelBuffer *_pRpcChannelBuffer,
  1691. PRPC_MESSAGE _pRpcMessage,
  1692. DWORD *_pdwStubPhase);
  1693. HRESULT STDMETHODCALLTYPE ITfLangBarItemBitmap_DrawBitmap_Proxy(
  1694. ITfLangBarItemBitmap * This,
  1695. /* [in] */ LONG bmWidth,
  1696. /* [in] */ LONG bmHeight,
  1697. /* [in] */ DWORD dwFlags,
  1698. /* [out] */ HBITMAP *phbmp,
  1699. /* [out] */ HBITMAP *phbmpMask);
  1700. void __RPC_STUB ITfLangBarItemBitmap_DrawBitmap_Stub(
  1701. IRpcStubBuffer *This,
  1702. IRpcChannelBuffer *_pRpcChannelBuffer,
  1703. PRPC_MESSAGE _pRpcMessage,
  1704. DWORD *_pdwStubPhase);
  1705. #endif /* __ITfLangBarItemBitmap_INTERFACE_DEFINED__ */
  1706. #ifndef __ITfLangBarItemBalloon_INTERFACE_DEFINED__
  1707. #define __ITfLangBarItemBalloon_INTERFACE_DEFINED__
  1708. /* interface ITfLangBarItemBalloon */
  1709. /* [unique][uuid][object] */
  1710. typedef /* [public][public][public][uuid] */ DECLSPEC_UUID("f399a969-9e97-4ddd-b974-2bfb934cfbc9")
  1711. enum __MIDL_ITfLangBarItemBalloon_0001
  1712. { TF_LB_BALLOON_RECO = 0,
  1713. TF_LB_BALLOON_SHOW = 1,
  1714. TF_LB_BALLOON_MISS = 2
  1715. } TfLBBalloonStyle;
  1716. typedef /* [uuid] */ DECLSPEC_UUID("37574483-5c50-4092-a55c-922e3a67e5b8") struct TF_LBBALLOONINFO
  1717. {
  1718. TfLBBalloonStyle style;
  1719. BSTR bstrText;
  1720. } TF_LBBALLOONINFO;
  1721. EXTERN_C const IID IID_ITfLangBarItemBalloon;
  1722. #if defined(__cplusplus) && !defined(CINTERFACE)
  1723. MIDL_INTERFACE("01C2D285-D3C7-4B7B-B5B5-D97411D0C283")
  1724. ITfLangBarItemBalloon : public ITfLangBarItem
  1725. {
  1726. public:
  1727. virtual HRESULT STDMETHODCALLTYPE OnClick(
  1728. /* [in] */ TfLBIClick click,
  1729. /* [in] */ POINT pt,
  1730. /* [in] */ const RECT *prcArea) = 0;
  1731. virtual HRESULT STDMETHODCALLTYPE GetPreferredSize(
  1732. /* [in] */ const SIZE *pszDefault,
  1733. /* [out] */ SIZE *psz) = 0;
  1734. virtual HRESULT STDMETHODCALLTYPE GetBalloonInfo(
  1735. /* [out] */ TF_LBBALLOONINFO *pInfo) = 0;
  1736. };
  1737. #else /* C style interface */
  1738. typedef struct ITfLangBarItemBalloonVtbl
  1739. {
  1740. BEGIN_INTERFACE
  1741. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1742. ITfLangBarItemBalloon * This,
  1743. /* [in] */ REFIID riid,
  1744. /* [iid_is][out] */ void **ppvObject);
  1745. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1746. ITfLangBarItemBalloon * This);
  1747. ULONG ( STDMETHODCALLTYPE *Release )(
  1748. ITfLangBarItemBalloon * This);
  1749. HRESULT ( STDMETHODCALLTYPE *GetInfo )(
  1750. ITfLangBarItemBalloon * This,
  1751. /* [out] */ TF_LANGBARITEMINFO *pInfo);
  1752. HRESULT ( STDMETHODCALLTYPE *GetStatus )(
  1753. ITfLangBarItemBalloon * This,
  1754. /* [out] */ DWORD *pdwStatus);
  1755. HRESULT ( STDMETHODCALLTYPE *Show )(
  1756. ITfLangBarItemBalloon * This,
  1757. /* [in] */ BOOL fShow);
  1758. HRESULT ( STDMETHODCALLTYPE *GetTooltipString )(
  1759. ITfLangBarItemBalloon * This,
  1760. /* [out] */ BSTR *pbstrToolTip);
  1761. HRESULT ( STDMETHODCALLTYPE *OnClick )(
  1762. ITfLangBarItemBalloon * This,
  1763. /* [in] */ TfLBIClick click,
  1764. /* [in] */ POINT pt,
  1765. /* [in] */ const RECT *prcArea);
  1766. HRESULT ( STDMETHODCALLTYPE *GetPreferredSize )(
  1767. ITfLangBarItemBalloon * This,
  1768. /* [in] */ const SIZE *pszDefault,
  1769. /* [out] */ SIZE *psz);
  1770. HRESULT ( STDMETHODCALLTYPE *GetBalloonInfo )(
  1771. ITfLangBarItemBalloon * This,
  1772. /* [out] */ TF_LBBALLOONINFO *pInfo);
  1773. END_INTERFACE
  1774. } ITfLangBarItemBalloonVtbl;
  1775. interface ITfLangBarItemBalloon
  1776. {
  1777. CONST_VTBL struct ITfLangBarItemBalloonVtbl *lpVtbl;
  1778. };
  1779. #ifdef COBJMACROS
  1780. #define ITfLangBarItemBalloon_QueryInterface(This,riid,ppvObject) \
  1781. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1782. #define ITfLangBarItemBalloon_AddRef(This) \
  1783. (This)->lpVtbl -> AddRef(This)
  1784. #define ITfLangBarItemBalloon_Release(This) \
  1785. (This)->lpVtbl -> Release(This)
  1786. #define ITfLangBarItemBalloon_GetInfo(This,pInfo) \
  1787. (This)->lpVtbl -> GetInfo(This,pInfo)
  1788. #define ITfLangBarItemBalloon_GetStatus(This,pdwStatus) \
  1789. (This)->lpVtbl -> GetStatus(This,pdwStatus)
  1790. #define ITfLangBarItemBalloon_Show(This,fShow) \
  1791. (This)->lpVtbl -> Show(This,fShow)
  1792. #define ITfLangBarItemBalloon_GetTooltipString(This,pbstrToolTip) \
  1793. (This)->lpVtbl -> GetTooltipString(This,pbstrToolTip)
  1794. #define ITfLangBarItemBalloon_OnClick(This,click,pt,prcArea) \
  1795. (This)->lpVtbl -> OnClick(This,click,pt,prcArea)
  1796. #define ITfLangBarItemBalloon_GetPreferredSize(This,pszDefault,psz) \
  1797. (This)->lpVtbl -> GetPreferredSize(This,pszDefault,psz)
  1798. #define ITfLangBarItemBalloon_GetBalloonInfo(This,pInfo) \
  1799. (This)->lpVtbl -> GetBalloonInfo(This,pInfo)
  1800. #endif /* COBJMACROS */
  1801. #endif /* C style interface */
  1802. HRESULT STDMETHODCALLTYPE ITfLangBarItemBalloon_OnClick_Proxy(
  1803. ITfLangBarItemBalloon * This,
  1804. /* [in] */ TfLBIClick click,
  1805. /* [in] */ POINT pt,
  1806. /* [in] */ const RECT *prcArea);
  1807. void __RPC_STUB ITfLangBarItemBalloon_OnClick_Stub(
  1808. IRpcStubBuffer *This,
  1809. IRpcChannelBuffer *_pRpcChannelBuffer,
  1810. PRPC_MESSAGE _pRpcMessage,
  1811. DWORD *_pdwStubPhase);
  1812. HRESULT STDMETHODCALLTYPE ITfLangBarItemBalloon_GetPreferredSize_Proxy(
  1813. ITfLangBarItemBalloon * This,
  1814. /* [in] */ const SIZE *pszDefault,
  1815. /* [out] */ SIZE *psz);
  1816. void __RPC_STUB ITfLangBarItemBalloon_GetPreferredSize_Stub(
  1817. IRpcStubBuffer *This,
  1818. IRpcChannelBuffer *_pRpcChannelBuffer,
  1819. PRPC_MESSAGE _pRpcMessage,
  1820. DWORD *_pdwStubPhase);
  1821. HRESULT STDMETHODCALLTYPE ITfLangBarItemBalloon_GetBalloonInfo_Proxy(
  1822. ITfLangBarItemBalloon * This,
  1823. /* [out] */ TF_LBBALLOONINFO *pInfo);
  1824. void __RPC_STUB ITfLangBarItemBalloon_GetBalloonInfo_Stub(
  1825. IRpcStubBuffer *This,
  1826. IRpcChannelBuffer *_pRpcChannelBuffer,
  1827. PRPC_MESSAGE _pRpcMessage,
  1828. DWORD *_pdwStubPhase);
  1829. #endif /* __ITfLangBarItemBalloon_INTERFACE_DEFINED__ */
  1830. #ifndef __ITfMenu_INTERFACE_DEFINED__
  1831. #define __ITfMenu_INTERFACE_DEFINED__
  1832. /* interface ITfMenu */
  1833. /* [unique][uuid][object] */
  1834. #define TF_LBMENUF_CHECKED ( 0x1 )
  1835. #define TF_LBMENUF_SUBMENU ( 0x2 )
  1836. #define TF_LBMENUF_SEPARATOR ( 0x4 )
  1837. #define TF_LBMENUF_RADIOCHECKED ( 0x8 )
  1838. #define TF_LBMENUF_GRAYED ( 0x10 )
  1839. EXTERN_C const IID IID_ITfMenu;
  1840. #if defined(__cplusplus) && !defined(CINTERFACE)
  1841. MIDL_INTERFACE("6F8A98E4-AAA0-4F15-8C5B-07E0DF0A3DD8")
  1842. ITfMenu : public IUnknown
  1843. {
  1844. public:
  1845. virtual HRESULT STDMETHODCALLTYPE AddMenuItem(
  1846. /* [in] */ UINT uId,
  1847. /* [in] */ DWORD dwFlags,
  1848. /* [in] */ HBITMAP hbmp,
  1849. /* [in] */ HBITMAP hbmpMask,
  1850. /* [size_is][unique][in] */ const WCHAR *pch,
  1851. /* [in] */ ULONG cch,
  1852. /* [unique][out][in] */ ITfMenu **ppMenu) = 0;
  1853. };
  1854. #else /* C style interface */
  1855. typedef struct ITfMenuVtbl
  1856. {
  1857. BEGIN_INTERFACE
  1858. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1859. ITfMenu * This,
  1860. /* [in] */ REFIID riid,
  1861. /* [iid_is][out] */ void **ppvObject);
  1862. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1863. ITfMenu * This);
  1864. ULONG ( STDMETHODCALLTYPE *Release )(
  1865. ITfMenu * This);
  1866. HRESULT ( STDMETHODCALLTYPE *AddMenuItem )(
  1867. ITfMenu * This,
  1868. /* [in] */ UINT uId,
  1869. /* [in] */ DWORD dwFlags,
  1870. /* [in] */ HBITMAP hbmp,
  1871. /* [in] */ HBITMAP hbmpMask,
  1872. /* [size_is][unique][in] */ const WCHAR *pch,
  1873. /* [in] */ ULONG cch,
  1874. /* [unique][out][in] */ ITfMenu **ppMenu);
  1875. END_INTERFACE
  1876. } ITfMenuVtbl;
  1877. interface ITfMenu
  1878. {
  1879. CONST_VTBL struct ITfMenuVtbl *lpVtbl;
  1880. };
  1881. #ifdef COBJMACROS
  1882. #define ITfMenu_QueryInterface(This,riid,ppvObject) \
  1883. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1884. #define ITfMenu_AddRef(This) \
  1885. (This)->lpVtbl -> AddRef(This)
  1886. #define ITfMenu_Release(This) \
  1887. (This)->lpVtbl -> Release(This)
  1888. #define ITfMenu_AddMenuItem(This,uId,dwFlags,hbmp,hbmpMask,pch,cch,ppMenu) \
  1889. (This)->lpVtbl -> AddMenuItem(This,uId,dwFlags,hbmp,hbmpMask,pch,cch,ppMenu)
  1890. #endif /* COBJMACROS */
  1891. #endif /* C style interface */
  1892. HRESULT STDMETHODCALLTYPE ITfMenu_AddMenuItem_Proxy(
  1893. ITfMenu * This,
  1894. /* [in] */ UINT uId,
  1895. /* [in] */ DWORD dwFlags,
  1896. /* [in] */ HBITMAP hbmp,
  1897. /* [in] */ HBITMAP hbmpMask,
  1898. /* [size_is][unique][in] */ const WCHAR *pch,
  1899. /* [in] */ ULONG cch,
  1900. /* [unique][out][in] */ ITfMenu **ppMenu);
  1901. void __RPC_STUB ITfMenu_AddMenuItem_Stub(
  1902. IRpcStubBuffer *This,
  1903. IRpcChannelBuffer *_pRpcChannelBuffer,
  1904. PRPC_MESSAGE _pRpcMessage,
  1905. DWORD *_pdwStubPhase);
  1906. #endif /* __ITfMenu_INTERFACE_DEFINED__ */
  1907. /* interface __MIDL_itf_ctfutb_0216 */
  1908. /* [local] */
  1909. #endif // CTFUTB_DEFINED
  1910. extern RPC_IF_HANDLE __MIDL_itf_ctfutb_0216_v0_0_c_ifspec;
  1911. extern RPC_IF_HANDLE __MIDL_itf_ctfutb_0216_v0_0_s_ifspec;
  1912. /* Additional Prototypes for ALL interfaces */
  1913. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  1914. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  1915. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  1916. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  1917. unsigned long __RPC_USER HBITMAP_UserSize( unsigned long *, unsigned long , HBITMAP * );
  1918. unsigned char * __RPC_USER HBITMAP_UserMarshal( unsigned long *, unsigned char *, HBITMAP * );
  1919. unsigned char * __RPC_USER HBITMAP_UserUnmarshal(unsigned long *, unsigned char *, HBITMAP * );
  1920. void __RPC_USER HBITMAP_UserFree( unsigned long *, HBITMAP * );
  1921. unsigned long __RPC_USER HICON_UserSize( unsigned long *, unsigned long , HICON * );
  1922. unsigned char * __RPC_USER HICON_UserMarshal( unsigned long *, unsigned char *, HICON * );
  1923. unsigned char * __RPC_USER HICON_UserUnmarshal(unsigned long *, unsigned char *, HICON * );
  1924. void __RPC_USER HICON_UserFree( unsigned long *, HICON * );
  1925. /* end of Additional Prototypes */
  1926. #ifdef __cplusplus
  1927. }
  1928. #endif
  1929. #endif