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.

3329 lines
99 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.0347 */
  4. /* Compiler settings for msctfp.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, robust
  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__ 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 __msctfp_h__
  27. #define __msctfp_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ITfThreadMgr_P_FWD_DEFINED__
  33. #define __ITfThreadMgr_P_FWD_DEFINED__
  34. typedef interface ITfThreadMgr_P ITfThreadMgr_P;
  35. #endif /* __ITfThreadMgr_P_FWD_DEFINED__ */
  36. #ifndef __ITfSysHookSink_FWD_DEFINED__
  37. #define __ITfSysHookSink_FWD_DEFINED__
  38. typedef interface ITfSysHookSink ITfSysHookSink;
  39. #endif /* __ITfSysHookSink_FWD_DEFINED__ */
  40. #ifndef __ITfStartReconversionNotifySink_FWD_DEFINED__
  41. #define __ITfStartReconversionNotifySink_FWD_DEFINED__
  42. typedef interface ITfStartReconversionNotifySink ITfStartReconversionNotifySink;
  43. #endif /* __ITfStartReconversionNotifySink_FWD_DEFINED__ */
  44. #ifndef __ITfLangBarEventSink_P_FWD_DEFINED__
  45. #define __ITfLangBarEventSink_P_FWD_DEFINED__
  46. typedef interface ITfLangBarEventSink_P ITfLangBarEventSink_P;
  47. #endif /* __ITfLangBarEventSink_P_FWD_DEFINED__ */
  48. #ifndef __ITfLangBarMgr_P_FWD_DEFINED__
  49. #define __ITfLangBarMgr_P_FWD_DEFINED__
  50. typedef interface ITfLangBarMgr_P ITfLangBarMgr_P;
  51. #endif /* __ITfLangBarMgr_P_FWD_DEFINED__ */
  52. #ifndef __ITfContext_P_FWD_DEFINED__
  53. #define __ITfContext_P_FWD_DEFINED__
  54. typedef interface ITfContext_P ITfContext_P;
  55. #endif /* __ITfContext_P_FWD_DEFINED__ */
  56. #ifndef __ITfRangeChangeSink_FWD_DEFINED__
  57. #define __ITfRangeChangeSink_FWD_DEFINED__
  58. typedef interface ITfRangeChangeSink ITfRangeChangeSink;
  59. #endif /* __ITfRangeChangeSink_FWD_DEFINED__ */
  60. #ifndef __ITfFnAbort_FWD_DEFINED__
  61. #define __ITfFnAbort_FWD_DEFINED__
  62. typedef interface ITfFnAbort ITfFnAbort;
  63. #endif /* __ITfFnAbort_FWD_DEFINED__ */
  64. #ifndef __ITfMouseTrackerAnchor_FWD_DEFINED__
  65. #define __ITfMouseTrackerAnchor_FWD_DEFINED__
  66. typedef interface ITfMouseTrackerAnchor ITfMouseTrackerAnchor;
  67. #endif /* __ITfMouseTrackerAnchor_FWD_DEFINED__ */
  68. #ifndef __ITfRangeAnchor_FWD_DEFINED__
  69. #define __ITfRangeAnchor_FWD_DEFINED__
  70. typedef interface ITfRangeAnchor ITfRangeAnchor;
  71. #endif /* __ITfRangeAnchor_FWD_DEFINED__ */
  72. #ifndef __ITfPersistentPropertyLoaderAnchor_FWD_DEFINED__
  73. #define __ITfPersistentPropertyLoaderAnchor_FWD_DEFINED__
  74. typedef interface ITfPersistentPropertyLoaderAnchor ITfPersistentPropertyLoaderAnchor;
  75. #endif /* __ITfPersistentPropertyLoaderAnchor_FWD_DEFINED__ */
  76. #ifndef __ITextStoreAnchorServices_FWD_DEFINED__
  77. #define __ITextStoreAnchorServices_FWD_DEFINED__
  78. typedef interface ITextStoreAnchorServices ITextStoreAnchorServices;
  79. #endif /* __ITextStoreAnchorServices_FWD_DEFINED__ */
  80. #ifndef __ITfProperty2_FWD_DEFINED__
  81. #define __ITfProperty2_FWD_DEFINED__
  82. typedef interface ITfProperty2 ITfProperty2;
  83. #endif /* __ITfProperty2_FWD_DEFINED__ */
  84. #ifndef __IEnumTfCollection_FWD_DEFINED__
  85. #define __IEnumTfCollection_FWD_DEFINED__
  86. typedef interface IEnumTfCollection IEnumTfCollection;
  87. #endif /* __IEnumTfCollection_FWD_DEFINED__ */
  88. #ifndef __ITfDisplayAttributeCollectionMgr_FWD_DEFINED__
  89. #define __ITfDisplayAttributeCollectionMgr_FWD_DEFINED__
  90. typedef interface ITfDisplayAttributeCollectionMgr ITfDisplayAttributeCollectionMgr;
  91. #endif /* __ITfDisplayAttributeCollectionMgr_FWD_DEFINED__ */
  92. #ifndef __ITfDisplayAttributeCollectionProvider_FWD_DEFINED__
  93. #define __ITfDisplayAttributeCollectionProvider_FWD_DEFINED__
  94. typedef interface ITfDisplayAttributeCollectionProvider ITfDisplayAttributeCollectionProvider;
  95. #endif /* __ITfDisplayAttributeCollectionProvider_FWD_DEFINED__ */
  96. #ifndef __IEnumTfRenderingMarkup_FWD_DEFINED__
  97. #define __IEnumTfRenderingMarkup_FWD_DEFINED__
  98. typedef interface IEnumTfRenderingMarkup IEnumTfRenderingMarkup;
  99. #endif /* __IEnumTfRenderingMarkup_FWD_DEFINED__ */
  100. #ifndef __ITfContextRenderingMarkup_FWD_DEFINED__
  101. #define __ITfContextRenderingMarkup_FWD_DEFINED__
  102. typedef interface ITfContextRenderingMarkup ITfContextRenderingMarkup;
  103. #endif /* __ITfContextRenderingMarkup_FWD_DEFINED__ */
  104. #ifndef __ITfBackgroundThreadMgr_FWD_DEFINED__
  105. #define __ITfBackgroundThreadMgr_FWD_DEFINED__
  106. typedef interface ITfBackgroundThreadMgr ITfBackgroundThreadMgr;
  107. #endif /* __ITfBackgroundThreadMgr_FWD_DEFINED__ */
  108. #ifndef __ITfEnableService_FWD_DEFINED__
  109. #define __ITfEnableService_FWD_DEFINED__
  110. typedef interface ITfEnableService ITfEnableService;
  111. #endif /* __ITfEnableService_FWD_DEFINED__ */
  112. /* header files for imported files */
  113. #include "oaidl.h"
  114. #include "msctf.h"
  115. #ifdef __cplusplus
  116. extern "C"{
  117. #endif
  118. void * __RPC_USER MIDL_user_allocate(size_t);
  119. void __RPC_USER MIDL_user_free( void * );
  120. /* interface __MIDL_itf_msctfp_0000 */
  121. /* [local] */
  122. //=--------------------------------------------------------------------------=
  123. // msctfp.h
  124. //=--------------------------------------------------------------------------=
  125. // (C) Copyright 1995-2000 Microsoft Corporation. All Rights Reserved.
  126. //
  127. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  128. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  129. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  130. // PARTICULAR PURPOSE.
  131. //=--------------------------------------------------------------------------=
  132. #pragma comment(lib,"uuid.lib")
  133. //--------------------------------------------------------------------------
  134. // MSCTF Private Interfaces.
  135. #ifndef MSCTFP_DEFINED
  136. #define MSCTFP_DEFINED
  137. #include <windows.h>
  138. EXTERN_C const GUID GUID_TFCAT_TIP_REFERENCE;
  139. EXTERN_C const GUID GUID_TFCAT_TIP_PROOFING;
  140. EXTERN_C const GUID GUID_TFCAT_TIP_SMARTTAG;
  141. EXTERN_C const GUID GUID_TFCAT_PROPSTYLE_CUSTOM_COMPACT;
  142. EXTERN_C const GUID GUID_SERVICE_TEXTSTORE;
  143. EXTERN_C const GUID GUID_SERVICE_TF;
  144. #define TF_LBU_CAPSKANAKEY 1
  145. #define TF_LBU_NTCONSOLELANGCHANGE 2
  146. #define TF_LBUF_CAPS 0x0001
  147. #define TF_LBUF_KANA 0x0002
  148. #define TF_ES_READ_PROPERTY_WRITE ( 0x12 )
  149. extern RPC_IF_HANDLE __MIDL_itf_msctfp_0000_v0_0_c_ifspec;
  150. extern RPC_IF_HANDLE __MIDL_itf_msctfp_0000_v0_0_s_ifspec;
  151. #ifndef __ITfThreadMgr_P_INTERFACE_DEFINED__
  152. #define __ITfThreadMgr_P_INTERFACE_DEFINED__
  153. /* interface ITfThreadMgr_P */
  154. /* [unique][uuid][object] */
  155. EXTERN_C const IID IID_ITfThreadMgr_P;
  156. #if defined(__cplusplus) && !defined(CINTERFACE)
  157. MIDL_INTERFACE("f65567a7-34a1-46f4-b5dd-8804aeb06ff7")
  158. ITfThreadMgr_P : public ITfThreadMgr
  159. {
  160. public:
  161. virtual HRESULT STDMETHODCALLTYPE GetAssociated(
  162. /* [in] */ HWND hWnd,
  163. /* [out] */ ITfDocumentMgr **ppdim) = 0;
  164. virtual HRESULT STDMETHODCALLTYPE SetSysHookSink(
  165. /* [in] */ ITfSysHookSink *pSink) = 0;
  166. virtual HRESULT STDMETHODCALLTYPE RequestPostponedLock(
  167. /* [in] */ ITfContext *pic) = 0;
  168. virtual HRESULT STDMETHODCALLTYPE IsKeystrokeFeedEnabled(
  169. /* [out] */ BOOL *pfEnabled) = 0;
  170. };
  171. #else /* C style interface */
  172. typedef struct ITfThreadMgr_PVtbl
  173. {
  174. BEGIN_INTERFACE
  175. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  176. ITfThreadMgr_P * This,
  177. /* [in] */ REFIID riid,
  178. /* [iid_is][out] */ void **ppvObject);
  179. ULONG ( STDMETHODCALLTYPE *AddRef )(
  180. ITfThreadMgr_P * This);
  181. ULONG ( STDMETHODCALLTYPE *Release )(
  182. ITfThreadMgr_P * This);
  183. HRESULT ( STDMETHODCALLTYPE *Activate )(
  184. ITfThreadMgr_P * This,
  185. /* [out] */ TfClientId *ptid);
  186. HRESULT ( STDMETHODCALLTYPE *Deactivate )(
  187. ITfThreadMgr_P * This);
  188. HRESULT ( STDMETHODCALLTYPE *CreateDocumentMgr )(
  189. ITfThreadMgr_P * This,
  190. /* [out] */ ITfDocumentMgr **ppdim);
  191. HRESULT ( STDMETHODCALLTYPE *EnumDocumentMgrs )(
  192. ITfThreadMgr_P * This,
  193. /* [out] */ IEnumTfDocumentMgrs **ppEnum);
  194. HRESULT ( STDMETHODCALLTYPE *GetFocus )(
  195. ITfThreadMgr_P * This,
  196. /* [out] */ ITfDocumentMgr **ppdimFocus);
  197. HRESULT ( STDMETHODCALLTYPE *SetFocus )(
  198. ITfThreadMgr_P * This,
  199. /* [in] */ ITfDocumentMgr *pdimFocus);
  200. HRESULT ( STDMETHODCALLTYPE *AssociateFocus )(
  201. ITfThreadMgr_P * This,
  202. /* [in] */ HWND hwnd,
  203. /* [unique][in] */ ITfDocumentMgr *pdimNew,
  204. /* [out] */ ITfDocumentMgr **ppdimPrev);
  205. HRESULT ( STDMETHODCALLTYPE *IsThreadFocus )(
  206. ITfThreadMgr_P * This,
  207. /* [out] */ BOOL *pfThreadFocus);
  208. HRESULT ( STDMETHODCALLTYPE *GetFunctionProvider )(
  209. ITfThreadMgr_P * This,
  210. /* [in] */ REFCLSID clsid,
  211. /* [out] */ ITfFunctionProvider **ppFuncProv);
  212. HRESULT ( STDMETHODCALLTYPE *EnumFunctionProviders )(
  213. ITfThreadMgr_P * This,
  214. /* [out] */ IEnumTfFunctionProviders **ppEnum);
  215. HRESULT ( STDMETHODCALLTYPE *GetGlobalCompartment )(
  216. ITfThreadMgr_P * This,
  217. /* [out] */ ITfCompartmentMgr **ppCompMgr);
  218. HRESULT ( STDMETHODCALLTYPE *GetAssociated )(
  219. ITfThreadMgr_P * This,
  220. /* [in] */ HWND hWnd,
  221. /* [out] */ ITfDocumentMgr **ppdim);
  222. HRESULT ( STDMETHODCALLTYPE *SetSysHookSink )(
  223. ITfThreadMgr_P * This,
  224. /* [in] */ ITfSysHookSink *pSink);
  225. HRESULT ( STDMETHODCALLTYPE *RequestPostponedLock )(
  226. ITfThreadMgr_P * This,
  227. /* [in] */ ITfContext *pic);
  228. HRESULT ( STDMETHODCALLTYPE *IsKeystrokeFeedEnabled )(
  229. ITfThreadMgr_P * This,
  230. /* [out] */ BOOL *pfEnabled);
  231. END_INTERFACE
  232. } ITfThreadMgr_PVtbl;
  233. interface ITfThreadMgr_P
  234. {
  235. CONST_VTBL struct ITfThreadMgr_PVtbl *lpVtbl;
  236. };
  237. #ifdef COBJMACROS
  238. #define ITfThreadMgr_P_QueryInterface(This,riid,ppvObject) \
  239. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  240. #define ITfThreadMgr_P_AddRef(This) \
  241. (This)->lpVtbl -> AddRef(This)
  242. #define ITfThreadMgr_P_Release(This) \
  243. (This)->lpVtbl -> Release(This)
  244. #define ITfThreadMgr_P_Activate(This,ptid) \
  245. (This)->lpVtbl -> Activate(This,ptid)
  246. #define ITfThreadMgr_P_Deactivate(This) \
  247. (This)->lpVtbl -> Deactivate(This)
  248. #define ITfThreadMgr_P_CreateDocumentMgr(This,ppdim) \
  249. (This)->lpVtbl -> CreateDocumentMgr(This,ppdim)
  250. #define ITfThreadMgr_P_EnumDocumentMgrs(This,ppEnum) \
  251. (This)->lpVtbl -> EnumDocumentMgrs(This,ppEnum)
  252. #define ITfThreadMgr_P_GetFocus(This,ppdimFocus) \
  253. (This)->lpVtbl -> GetFocus(This,ppdimFocus)
  254. #define ITfThreadMgr_P_SetFocus(This,pdimFocus) \
  255. (This)->lpVtbl -> SetFocus(This,pdimFocus)
  256. #define ITfThreadMgr_P_AssociateFocus(This,hwnd,pdimNew,ppdimPrev) \
  257. (This)->lpVtbl -> AssociateFocus(This,hwnd,pdimNew,ppdimPrev)
  258. #define ITfThreadMgr_P_IsThreadFocus(This,pfThreadFocus) \
  259. (This)->lpVtbl -> IsThreadFocus(This,pfThreadFocus)
  260. #define ITfThreadMgr_P_GetFunctionProvider(This,clsid,ppFuncProv) \
  261. (This)->lpVtbl -> GetFunctionProvider(This,clsid,ppFuncProv)
  262. #define ITfThreadMgr_P_EnumFunctionProviders(This,ppEnum) \
  263. (This)->lpVtbl -> EnumFunctionProviders(This,ppEnum)
  264. #define ITfThreadMgr_P_GetGlobalCompartment(This,ppCompMgr) \
  265. (This)->lpVtbl -> GetGlobalCompartment(This,ppCompMgr)
  266. #define ITfThreadMgr_P_GetAssociated(This,hWnd,ppdim) \
  267. (This)->lpVtbl -> GetAssociated(This,hWnd,ppdim)
  268. #define ITfThreadMgr_P_SetSysHookSink(This,pSink) \
  269. (This)->lpVtbl -> SetSysHookSink(This,pSink)
  270. #define ITfThreadMgr_P_RequestPostponedLock(This,pic) \
  271. (This)->lpVtbl -> RequestPostponedLock(This,pic)
  272. #define ITfThreadMgr_P_IsKeystrokeFeedEnabled(This,pfEnabled) \
  273. (This)->lpVtbl -> IsKeystrokeFeedEnabled(This,pfEnabled)
  274. #endif /* COBJMACROS */
  275. #endif /* C style interface */
  276. HRESULT STDMETHODCALLTYPE ITfThreadMgr_P_GetAssociated_Proxy(
  277. ITfThreadMgr_P * This,
  278. /* [in] */ HWND hWnd,
  279. /* [out] */ ITfDocumentMgr **ppdim);
  280. void __RPC_STUB ITfThreadMgr_P_GetAssociated_Stub(
  281. IRpcStubBuffer *This,
  282. IRpcChannelBuffer *_pRpcChannelBuffer,
  283. PRPC_MESSAGE _pRpcMessage,
  284. DWORD *_pdwStubPhase);
  285. HRESULT STDMETHODCALLTYPE ITfThreadMgr_P_SetSysHookSink_Proxy(
  286. ITfThreadMgr_P * This,
  287. /* [in] */ ITfSysHookSink *pSink);
  288. void __RPC_STUB ITfThreadMgr_P_SetSysHookSink_Stub(
  289. IRpcStubBuffer *This,
  290. IRpcChannelBuffer *_pRpcChannelBuffer,
  291. PRPC_MESSAGE _pRpcMessage,
  292. DWORD *_pdwStubPhase);
  293. HRESULT STDMETHODCALLTYPE ITfThreadMgr_P_RequestPostponedLock_Proxy(
  294. ITfThreadMgr_P * This,
  295. /* [in] */ ITfContext *pic);
  296. void __RPC_STUB ITfThreadMgr_P_RequestPostponedLock_Stub(
  297. IRpcStubBuffer *This,
  298. IRpcChannelBuffer *_pRpcChannelBuffer,
  299. PRPC_MESSAGE _pRpcMessage,
  300. DWORD *_pdwStubPhase);
  301. HRESULT STDMETHODCALLTYPE ITfThreadMgr_P_IsKeystrokeFeedEnabled_Proxy(
  302. ITfThreadMgr_P * This,
  303. /* [out] */ BOOL *pfEnabled);
  304. void __RPC_STUB ITfThreadMgr_P_IsKeystrokeFeedEnabled_Stub(
  305. IRpcStubBuffer *This,
  306. IRpcChannelBuffer *_pRpcChannelBuffer,
  307. PRPC_MESSAGE _pRpcMessage,
  308. DWORD *_pdwStubPhase);
  309. #endif /* __ITfThreadMgr_P_INTERFACE_DEFINED__ */
  310. #ifndef __ITfSysHookSink_INTERFACE_DEFINED__
  311. #define __ITfSysHookSink_INTERFACE_DEFINED__
  312. /* interface ITfSysHookSink */
  313. /* [unique][uuid][object] */
  314. EXTERN_C const IID IID_ITfSysHookSink;
  315. #if defined(__cplusplus) && !defined(CINTERFACE)
  316. MIDL_INTERFACE("495388DA-21A5-4852-8BB1-ED2F29DA8D60")
  317. ITfSysHookSink : public IUnknown
  318. {
  319. public:
  320. virtual HRESULT STDMETHODCALLTYPE OnPreFocusDIM(
  321. /* [in] */ HWND hWnd) = 0;
  322. virtual HRESULT STDMETHODCALLTYPE OnSysKeyboardProc(
  323. /* [in] */ WPARAM wParam,
  324. /* [in] */ LPARAM lParam) = 0;
  325. virtual HRESULT STDMETHODCALLTYPE OnSysShellProc(
  326. /* [in] */ int nCode,
  327. /* [in] */ WPARAM wParam,
  328. /* [in] */ LPARAM lParam) = 0;
  329. };
  330. #else /* C style interface */
  331. typedef struct ITfSysHookSinkVtbl
  332. {
  333. BEGIN_INTERFACE
  334. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  335. ITfSysHookSink * This,
  336. /* [in] */ REFIID riid,
  337. /* [iid_is][out] */ void **ppvObject);
  338. ULONG ( STDMETHODCALLTYPE *AddRef )(
  339. ITfSysHookSink * This);
  340. ULONG ( STDMETHODCALLTYPE *Release )(
  341. ITfSysHookSink * This);
  342. HRESULT ( STDMETHODCALLTYPE *OnPreFocusDIM )(
  343. ITfSysHookSink * This,
  344. /* [in] */ HWND hWnd);
  345. HRESULT ( STDMETHODCALLTYPE *OnSysKeyboardProc )(
  346. ITfSysHookSink * This,
  347. /* [in] */ WPARAM wParam,
  348. /* [in] */ LPARAM lParam);
  349. HRESULT ( STDMETHODCALLTYPE *OnSysShellProc )(
  350. ITfSysHookSink * This,
  351. /* [in] */ int nCode,
  352. /* [in] */ WPARAM wParam,
  353. /* [in] */ LPARAM lParam);
  354. END_INTERFACE
  355. } ITfSysHookSinkVtbl;
  356. interface ITfSysHookSink
  357. {
  358. CONST_VTBL struct ITfSysHookSinkVtbl *lpVtbl;
  359. };
  360. #ifdef COBJMACROS
  361. #define ITfSysHookSink_QueryInterface(This,riid,ppvObject) \
  362. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  363. #define ITfSysHookSink_AddRef(This) \
  364. (This)->lpVtbl -> AddRef(This)
  365. #define ITfSysHookSink_Release(This) \
  366. (This)->lpVtbl -> Release(This)
  367. #define ITfSysHookSink_OnPreFocusDIM(This,hWnd) \
  368. (This)->lpVtbl -> OnPreFocusDIM(This,hWnd)
  369. #define ITfSysHookSink_OnSysKeyboardProc(This,wParam,lParam) \
  370. (This)->lpVtbl -> OnSysKeyboardProc(This,wParam,lParam)
  371. #define ITfSysHookSink_OnSysShellProc(This,nCode,wParam,lParam) \
  372. (This)->lpVtbl -> OnSysShellProc(This,nCode,wParam,lParam)
  373. #endif /* COBJMACROS */
  374. #endif /* C style interface */
  375. HRESULT STDMETHODCALLTYPE ITfSysHookSink_OnPreFocusDIM_Proxy(
  376. ITfSysHookSink * This,
  377. /* [in] */ HWND hWnd);
  378. void __RPC_STUB ITfSysHookSink_OnPreFocusDIM_Stub(
  379. IRpcStubBuffer *This,
  380. IRpcChannelBuffer *_pRpcChannelBuffer,
  381. PRPC_MESSAGE _pRpcMessage,
  382. DWORD *_pdwStubPhase);
  383. HRESULT STDMETHODCALLTYPE ITfSysHookSink_OnSysKeyboardProc_Proxy(
  384. ITfSysHookSink * This,
  385. /* [in] */ WPARAM wParam,
  386. /* [in] */ LPARAM lParam);
  387. void __RPC_STUB ITfSysHookSink_OnSysKeyboardProc_Stub(
  388. IRpcStubBuffer *This,
  389. IRpcChannelBuffer *_pRpcChannelBuffer,
  390. PRPC_MESSAGE _pRpcMessage,
  391. DWORD *_pdwStubPhase);
  392. HRESULT STDMETHODCALLTYPE ITfSysHookSink_OnSysShellProc_Proxy(
  393. ITfSysHookSink * This,
  394. /* [in] */ int nCode,
  395. /* [in] */ WPARAM wParam,
  396. /* [in] */ LPARAM lParam);
  397. void __RPC_STUB ITfSysHookSink_OnSysShellProc_Stub(
  398. IRpcStubBuffer *This,
  399. IRpcChannelBuffer *_pRpcChannelBuffer,
  400. PRPC_MESSAGE _pRpcMessage,
  401. DWORD *_pdwStubPhase);
  402. #endif /* __ITfSysHookSink_INTERFACE_DEFINED__ */
  403. #ifndef __ITfStartReconversionNotifySink_INTERFACE_DEFINED__
  404. #define __ITfStartReconversionNotifySink_INTERFACE_DEFINED__
  405. /* interface ITfStartReconversionNotifySink */
  406. /* [unique][uuid][object] */
  407. EXTERN_C const IID IID_ITfStartReconversionNotifySink;
  408. #if defined(__cplusplus) && !defined(CINTERFACE)
  409. MIDL_INTERFACE("b9cd19cb-2919-4935-8768-ef30bae9a0cc")
  410. ITfStartReconversionNotifySink : public IUnknown
  411. {
  412. public:
  413. virtual HRESULT STDMETHODCALLTYPE StartReconversion( void) = 0;
  414. virtual HRESULT STDMETHODCALLTYPE EndReconversion( void) = 0;
  415. };
  416. #else /* C style interface */
  417. typedef struct ITfStartReconversionNotifySinkVtbl
  418. {
  419. BEGIN_INTERFACE
  420. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  421. ITfStartReconversionNotifySink * This,
  422. /* [in] */ REFIID riid,
  423. /* [iid_is][out] */ void **ppvObject);
  424. ULONG ( STDMETHODCALLTYPE *AddRef )(
  425. ITfStartReconversionNotifySink * This);
  426. ULONG ( STDMETHODCALLTYPE *Release )(
  427. ITfStartReconversionNotifySink * This);
  428. HRESULT ( STDMETHODCALLTYPE *StartReconversion )(
  429. ITfStartReconversionNotifySink * This);
  430. HRESULT ( STDMETHODCALLTYPE *EndReconversion )(
  431. ITfStartReconversionNotifySink * This);
  432. END_INTERFACE
  433. } ITfStartReconversionNotifySinkVtbl;
  434. interface ITfStartReconversionNotifySink
  435. {
  436. CONST_VTBL struct ITfStartReconversionNotifySinkVtbl *lpVtbl;
  437. };
  438. #ifdef COBJMACROS
  439. #define ITfStartReconversionNotifySink_QueryInterface(This,riid,ppvObject) \
  440. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  441. #define ITfStartReconversionNotifySink_AddRef(This) \
  442. (This)->lpVtbl -> AddRef(This)
  443. #define ITfStartReconversionNotifySink_Release(This) \
  444. (This)->lpVtbl -> Release(This)
  445. #define ITfStartReconversionNotifySink_StartReconversion(This) \
  446. (This)->lpVtbl -> StartReconversion(This)
  447. #define ITfStartReconversionNotifySink_EndReconversion(This) \
  448. (This)->lpVtbl -> EndReconversion(This)
  449. #endif /* COBJMACROS */
  450. #endif /* C style interface */
  451. HRESULT STDMETHODCALLTYPE ITfStartReconversionNotifySink_StartReconversion_Proxy(
  452. ITfStartReconversionNotifySink * This);
  453. void __RPC_STUB ITfStartReconversionNotifySink_StartReconversion_Stub(
  454. IRpcStubBuffer *This,
  455. IRpcChannelBuffer *_pRpcChannelBuffer,
  456. PRPC_MESSAGE _pRpcMessage,
  457. DWORD *_pdwStubPhase);
  458. HRESULT STDMETHODCALLTYPE ITfStartReconversionNotifySink_EndReconversion_Proxy(
  459. ITfStartReconversionNotifySink * This);
  460. void __RPC_STUB ITfStartReconversionNotifySink_EndReconversion_Stub(
  461. IRpcStubBuffer *This,
  462. IRpcChannelBuffer *_pRpcChannelBuffer,
  463. PRPC_MESSAGE _pRpcMessage,
  464. DWORD *_pdwStubPhase);
  465. #endif /* __ITfStartReconversionNotifySink_INTERFACE_DEFINED__ */
  466. #ifndef __ITfLangBarEventSink_P_INTERFACE_DEFINED__
  467. #define __ITfLangBarEventSink_P_INTERFACE_DEFINED__
  468. /* interface ITfLangBarEventSink_P */
  469. /* [unique][uuid][object] */
  470. EXTERN_C const IID IID_ITfLangBarEventSink_P;
  471. #if defined(__cplusplus) && !defined(CINTERFACE)
  472. MIDL_INTERFACE("7a460360-da21-4b09-a8a0-8a69e728d893")
  473. ITfLangBarEventSink_P : public IUnknown
  474. {
  475. public:
  476. virtual HRESULT STDMETHODCALLTYPE OnLangBarUpdate(
  477. /* [in] */ UINT uPdate,
  478. /* [in] */ LPARAM lParam) = 0;
  479. };
  480. #else /* C style interface */
  481. typedef struct ITfLangBarEventSink_PVtbl
  482. {
  483. BEGIN_INTERFACE
  484. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  485. ITfLangBarEventSink_P * This,
  486. /* [in] */ REFIID riid,
  487. /* [iid_is][out] */ void **ppvObject);
  488. ULONG ( STDMETHODCALLTYPE *AddRef )(
  489. ITfLangBarEventSink_P * This);
  490. ULONG ( STDMETHODCALLTYPE *Release )(
  491. ITfLangBarEventSink_P * This);
  492. HRESULT ( STDMETHODCALLTYPE *OnLangBarUpdate )(
  493. ITfLangBarEventSink_P * This,
  494. /* [in] */ UINT uPdate,
  495. /* [in] */ LPARAM lParam);
  496. END_INTERFACE
  497. } ITfLangBarEventSink_PVtbl;
  498. interface ITfLangBarEventSink_P
  499. {
  500. CONST_VTBL struct ITfLangBarEventSink_PVtbl *lpVtbl;
  501. };
  502. #ifdef COBJMACROS
  503. #define ITfLangBarEventSink_P_QueryInterface(This,riid,ppvObject) \
  504. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  505. #define ITfLangBarEventSink_P_AddRef(This) \
  506. (This)->lpVtbl -> AddRef(This)
  507. #define ITfLangBarEventSink_P_Release(This) \
  508. (This)->lpVtbl -> Release(This)
  509. #define ITfLangBarEventSink_P_OnLangBarUpdate(This,uPdate,lParam) \
  510. (This)->lpVtbl -> OnLangBarUpdate(This,uPdate,lParam)
  511. #endif /* COBJMACROS */
  512. #endif /* C style interface */
  513. HRESULT STDMETHODCALLTYPE ITfLangBarEventSink_P_OnLangBarUpdate_Proxy(
  514. ITfLangBarEventSink_P * This,
  515. /* [in] */ UINT uPdate,
  516. /* [in] */ LPARAM lParam);
  517. void __RPC_STUB ITfLangBarEventSink_P_OnLangBarUpdate_Stub(
  518. IRpcStubBuffer *This,
  519. IRpcChannelBuffer *_pRpcChannelBuffer,
  520. PRPC_MESSAGE _pRpcMessage,
  521. DWORD *_pdwStubPhase);
  522. #endif /* __ITfLangBarEventSink_P_INTERFACE_DEFINED__ */
  523. #ifndef __ITfLangBarMgr_P_INTERFACE_DEFINED__
  524. #define __ITfLangBarMgr_P_INTERFACE_DEFINED__
  525. /* interface ITfLangBarMgr_P */
  526. /* [unique][uuid][object] */
  527. EXTERN_C const IID IID_ITfLangBarMgr_P;
  528. #if defined(__cplusplus) && !defined(CINTERFACE)
  529. MIDL_INTERFACE("d72c0fa9-add5-4af0-8706-4fa9ae3e2eff")
  530. ITfLangBarMgr_P : public ITfLangBarMgr
  531. {
  532. public:
  533. virtual HRESULT STDMETHODCALLTYPE GetPrevShowFloatingStatus(
  534. /* [out] */ DWORD *pdwFlags) = 0;
  535. };
  536. #else /* C style interface */
  537. typedef struct ITfLangBarMgr_PVtbl
  538. {
  539. BEGIN_INTERFACE
  540. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  541. ITfLangBarMgr_P * This,
  542. /* [in] */ REFIID riid,
  543. /* [iid_is][out] */ void **ppvObject);
  544. ULONG ( STDMETHODCALLTYPE *AddRef )(
  545. ITfLangBarMgr_P * This);
  546. ULONG ( STDMETHODCALLTYPE *Release )(
  547. ITfLangBarMgr_P * This);
  548. HRESULT ( STDMETHODCALLTYPE *AdviseEventSink )(
  549. ITfLangBarMgr_P * This,
  550. /* [in] */ ITfLangBarEventSink *pSink,
  551. /* [in] */ HWND hwnd,
  552. /* [in] */ DWORD dwFlags,
  553. /* [in] */ DWORD *pdwCookie);
  554. HRESULT ( STDMETHODCALLTYPE *UnadviseEventSink )(
  555. ITfLangBarMgr_P * This,
  556. /* [in] */ DWORD dwCookie);
  557. HRESULT ( STDMETHODCALLTYPE *GetThreadMarshalInterface )(
  558. ITfLangBarMgr_P * This,
  559. /* [in] */ DWORD dwThreadId,
  560. /* [in] */ DWORD dwType,
  561. /* [in] */ REFIID riid,
  562. /* [iid_is][out] */ IUnknown **ppunk);
  563. HRESULT ( STDMETHODCALLTYPE *GetThreadLangBarItemMgr )(
  564. ITfLangBarMgr_P * This,
  565. /* [in] */ DWORD dwThreadId,
  566. /* [out] */ ITfLangBarItemMgr **pplbi,
  567. /* [out] */ DWORD *pdwThreadid);
  568. HRESULT ( STDMETHODCALLTYPE *GetInputProcessorProfiles )(
  569. ITfLangBarMgr_P * This,
  570. /* [in] */ DWORD dwThreadId,
  571. /* [out] */ ITfInputProcessorProfiles **ppaip,
  572. /* [out] */ DWORD *pdwThreadid);
  573. HRESULT ( STDMETHODCALLTYPE *RestoreLastFocus )(
  574. ITfLangBarMgr_P * This,
  575. /* [out] */ DWORD *pdwThreadId,
  576. /* [in] */ BOOL fPrev);
  577. HRESULT ( STDMETHODCALLTYPE *SetModalInput )(
  578. ITfLangBarMgr_P * This,
  579. /* [in] */ ITfLangBarEventSink *pSink,
  580. /* [in] */ DWORD dwThreadId,
  581. /* [in] */ DWORD dwFlags);
  582. HRESULT ( STDMETHODCALLTYPE *ShowFloating )(
  583. ITfLangBarMgr_P * This,
  584. /* [in] */ DWORD dwFlags);
  585. HRESULT ( STDMETHODCALLTYPE *GetShowFloatingStatus )(
  586. ITfLangBarMgr_P * This,
  587. /* [out] */ DWORD *pdwFlags);
  588. HRESULT ( STDMETHODCALLTYPE *GetPrevShowFloatingStatus )(
  589. ITfLangBarMgr_P * This,
  590. /* [out] */ DWORD *pdwFlags);
  591. END_INTERFACE
  592. } ITfLangBarMgr_PVtbl;
  593. interface ITfLangBarMgr_P
  594. {
  595. CONST_VTBL struct ITfLangBarMgr_PVtbl *lpVtbl;
  596. };
  597. #ifdef COBJMACROS
  598. #define ITfLangBarMgr_P_QueryInterface(This,riid,ppvObject) \
  599. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  600. #define ITfLangBarMgr_P_AddRef(This) \
  601. (This)->lpVtbl -> AddRef(This)
  602. #define ITfLangBarMgr_P_Release(This) \
  603. (This)->lpVtbl -> Release(This)
  604. #define ITfLangBarMgr_P_AdviseEventSink(This,pSink,hwnd,dwFlags,pdwCookie) \
  605. (This)->lpVtbl -> AdviseEventSink(This,pSink,hwnd,dwFlags,pdwCookie)
  606. #define ITfLangBarMgr_P_UnadviseEventSink(This,dwCookie) \
  607. (This)->lpVtbl -> UnadviseEventSink(This,dwCookie)
  608. #define ITfLangBarMgr_P_GetThreadMarshalInterface(This,dwThreadId,dwType,riid,ppunk) \
  609. (This)->lpVtbl -> GetThreadMarshalInterface(This,dwThreadId,dwType,riid,ppunk)
  610. #define ITfLangBarMgr_P_GetThreadLangBarItemMgr(This,dwThreadId,pplbi,pdwThreadid) \
  611. (This)->lpVtbl -> GetThreadLangBarItemMgr(This,dwThreadId,pplbi,pdwThreadid)
  612. #define ITfLangBarMgr_P_GetInputProcessorProfiles(This,dwThreadId,ppaip,pdwThreadid) \
  613. (This)->lpVtbl -> GetInputProcessorProfiles(This,dwThreadId,ppaip,pdwThreadid)
  614. #define ITfLangBarMgr_P_RestoreLastFocus(This,pdwThreadId,fPrev) \
  615. (This)->lpVtbl -> RestoreLastFocus(This,pdwThreadId,fPrev)
  616. #define ITfLangBarMgr_P_SetModalInput(This,pSink,dwThreadId,dwFlags) \
  617. (This)->lpVtbl -> SetModalInput(This,pSink,dwThreadId,dwFlags)
  618. #define ITfLangBarMgr_P_ShowFloating(This,dwFlags) \
  619. (This)->lpVtbl -> ShowFloating(This,dwFlags)
  620. #define ITfLangBarMgr_P_GetShowFloatingStatus(This,pdwFlags) \
  621. (This)->lpVtbl -> GetShowFloatingStatus(This,pdwFlags)
  622. #define ITfLangBarMgr_P_GetPrevShowFloatingStatus(This,pdwFlags) \
  623. (This)->lpVtbl -> GetPrevShowFloatingStatus(This,pdwFlags)
  624. #endif /* COBJMACROS */
  625. #endif /* C style interface */
  626. HRESULT STDMETHODCALLTYPE ITfLangBarMgr_P_GetPrevShowFloatingStatus_Proxy(
  627. ITfLangBarMgr_P * This,
  628. /* [out] */ DWORD *pdwFlags);
  629. void __RPC_STUB ITfLangBarMgr_P_GetPrevShowFloatingStatus_Stub(
  630. IRpcStubBuffer *This,
  631. IRpcChannelBuffer *_pRpcChannelBuffer,
  632. PRPC_MESSAGE _pRpcMessage,
  633. DWORD *_pdwStubPhase);
  634. #endif /* __ITfLangBarMgr_P_INTERFACE_DEFINED__ */
  635. #ifndef __ITfContext_P_INTERFACE_DEFINED__
  636. #define __ITfContext_P_INTERFACE_DEFINED__
  637. /* interface ITfContext_P */
  638. /* [unique][uuid][object] */
  639. EXTERN_C const IID IID_ITfContext_P;
  640. #if defined(__cplusplus) && !defined(CINTERFACE)
  641. MIDL_INTERFACE("2dee47c8-704d-42a0-9983-ffeed659b64d")
  642. ITfContext_P : public ITfContext
  643. {
  644. public:
  645. virtual HRESULT STDMETHODCALLTYPE MapAppProperty(
  646. /* [in] */ REFGUID guidAppProp,
  647. /* [in] */ REFGUID guidProp) = 0;
  648. };
  649. #else /* C style interface */
  650. typedef struct ITfContext_PVtbl
  651. {
  652. BEGIN_INTERFACE
  653. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  654. ITfContext_P * This,
  655. /* [in] */ REFIID riid,
  656. /* [iid_is][out] */ void **ppvObject);
  657. ULONG ( STDMETHODCALLTYPE *AddRef )(
  658. ITfContext_P * This);
  659. ULONG ( STDMETHODCALLTYPE *Release )(
  660. ITfContext_P * This);
  661. HRESULT ( STDMETHODCALLTYPE *RequestEditSession )(
  662. ITfContext_P * This,
  663. /* [in] */ TfClientId tid,
  664. /* [in] */ ITfEditSession *pes,
  665. /* [in] */ DWORD dwFlags,
  666. /* [out] */ HRESULT *phrSession);
  667. HRESULT ( STDMETHODCALLTYPE *InWriteSession )(
  668. ITfContext_P * This,
  669. /* [in] */ TfClientId tid,
  670. /* [out] */ BOOL *pfWriteSession);
  671. HRESULT ( STDMETHODCALLTYPE *GetSelection )(
  672. ITfContext_P * This,
  673. /* [in] */ TfEditCookie ec,
  674. /* [in] */ ULONG ulIndex,
  675. /* [in] */ ULONG ulCount,
  676. /* [length_is][size_is][out] */ TF_SELECTION *pSelection,
  677. /* [out] */ ULONG *pcFetched);
  678. HRESULT ( STDMETHODCALLTYPE *SetSelection )(
  679. ITfContext_P * This,
  680. /* [in] */ TfEditCookie ec,
  681. /* [in] */ ULONG ulCount,
  682. /* [size_is][in] */ const TF_SELECTION *pSelection);
  683. HRESULT ( STDMETHODCALLTYPE *GetStart )(
  684. ITfContext_P * This,
  685. /* [in] */ TfEditCookie ec,
  686. /* [out] */ ITfRange **ppStart);
  687. HRESULT ( STDMETHODCALLTYPE *GetEnd )(
  688. ITfContext_P * This,
  689. /* [in] */ TfEditCookie ec,
  690. /* [out] */ ITfRange **ppEnd);
  691. HRESULT ( STDMETHODCALLTYPE *GetActiveView )(
  692. ITfContext_P * This,
  693. /* [out] */ ITfContextView **ppView);
  694. HRESULT ( STDMETHODCALLTYPE *EnumViews )(
  695. ITfContext_P * This,
  696. /* [out] */ IEnumTfContextViews **ppEnum);
  697. HRESULT ( STDMETHODCALLTYPE *GetStatus )(
  698. ITfContext_P * This,
  699. /* [out] */ TF_STATUS *pdcs);
  700. HRESULT ( STDMETHODCALLTYPE *GetProperty )(
  701. ITfContext_P * This,
  702. /* [in] */ REFGUID guidProp,
  703. /* [out] */ ITfProperty **ppProp);
  704. HRESULT ( STDMETHODCALLTYPE *GetAppProperty )(
  705. ITfContext_P * This,
  706. /* [in] */ REFGUID guidProp,
  707. /* [out] */ ITfReadOnlyProperty **ppProp);
  708. HRESULT ( STDMETHODCALLTYPE *TrackProperties )(
  709. ITfContext_P * This,
  710. /* [size_is][in] */ const GUID **prgProp,
  711. /* [in] */ ULONG cProp,
  712. /* [size_is][in] */ const GUID **prgAppProp,
  713. /* [in] */ ULONG cAppProp,
  714. /* [out] */ ITfReadOnlyProperty **ppProperty);
  715. HRESULT ( STDMETHODCALLTYPE *EnumProperties )(
  716. ITfContext_P * This,
  717. /* [out] */ IEnumTfProperties **ppEnum);
  718. HRESULT ( STDMETHODCALLTYPE *GetDocumentMgr )(
  719. ITfContext_P * This,
  720. /* [out] */ ITfDocumentMgr **ppDm);
  721. HRESULT ( STDMETHODCALLTYPE *CreateRangeBackup )(
  722. ITfContext_P * This,
  723. /* [in] */ TfEditCookie ec,
  724. /* [in] */ ITfRange *pRange,
  725. /* [out] */ ITfRangeBackup **ppBackup);
  726. HRESULT ( STDMETHODCALLTYPE *MapAppProperty )(
  727. ITfContext_P * This,
  728. /* [in] */ REFGUID guidAppProp,
  729. /* [in] */ REFGUID guidProp);
  730. END_INTERFACE
  731. } ITfContext_PVtbl;
  732. interface ITfContext_P
  733. {
  734. CONST_VTBL struct ITfContext_PVtbl *lpVtbl;
  735. };
  736. #ifdef COBJMACROS
  737. #define ITfContext_P_QueryInterface(This,riid,ppvObject) \
  738. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  739. #define ITfContext_P_AddRef(This) \
  740. (This)->lpVtbl -> AddRef(This)
  741. #define ITfContext_P_Release(This) \
  742. (This)->lpVtbl -> Release(This)
  743. #define ITfContext_P_RequestEditSession(This,tid,pes,dwFlags,phrSession) \
  744. (This)->lpVtbl -> RequestEditSession(This,tid,pes,dwFlags,phrSession)
  745. #define ITfContext_P_InWriteSession(This,tid,pfWriteSession) \
  746. (This)->lpVtbl -> InWriteSession(This,tid,pfWriteSession)
  747. #define ITfContext_P_GetSelection(This,ec,ulIndex,ulCount,pSelection,pcFetched) \
  748. (This)->lpVtbl -> GetSelection(This,ec,ulIndex,ulCount,pSelection,pcFetched)
  749. #define ITfContext_P_SetSelection(This,ec,ulCount,pSelection) \
  750. (This)->lpVtbl -> SetSelection(This,ec,ulCount,pSelection)
  751. #define ITfContext_P_GetStart(This,ec,ppStart) \
  752. (This)->lpVtbl -> GetStart(This,ec,ppStart)
  753. #define ITfContext_P_GetEnd(This,ec,ppEnd) \
  754. (This)->lpVtbl -> GetEnd(This,ec,ppEnd)
  755. #define ITfContext_P_GetActiveView(This,ppView) \
  756. (This)->lpVtbl -> GetActiveView(This,ppView)
  757. #define ITfContext_P_EnumViews(This,ppEnum) \
  758. (This)->lpVtbl -> EnumViews(This,ppEnum)
  759. #define ITfContext_P_GetStatus(This,pdcs) \
  760. (This)->lpVtbl -> GetStatus(This,pdcs)
  761. #define ITfContext_P_GetProperty(This,guidProp,ppProp) \
  762. (This)->lpVtbl -> GetProperty(This,guidProp,ppProp)
  763. #define ITfContext_P_GetAppProperty(This,guidProp,ppProp) \
  764. (This)->lpVtbl -> GetAppProperty(This,guidProp,ppProp)
  765. #define ITfContext_P_TrackProperties(This,prgProp,cProp,prgAppProp,cAppProp,ppProperty) \
  766. (This)->lpVtbl -> TrackProperties(This,prgProp,cProp,prgAppProp,cAppProp,ppProperty)
  767. #define ITfContext_P_EnumProperties(This,ppEnum) \
  768. (This)->lpVtbl -> EnumProperties(This,ppEnum)
  769. #define ITfContext_P_GetDocumentMgr(This,ppDm) \
  770. (This)->lpVtbl -> GetDocumentMgr(This,ppDm)
  771. #define ITfContext_P_CreateRangeBackup(This,ec,pRange,ppBackup) \
  772. (This)->lpVtbl -> CreateRangeBackup(This,ec,pRange,ppBackup)
  773. #define ITfContext_P_MapAppProperty(This,guidAppProp,guidProp) \
  774. (This)->lpVtbl -> MapAppProperty(This,guidAppProp,guidProp)
  775. #endif /* COBJMACROS */
  776. #endif /* C style interface */
  777. HRESULT STDMETHODCALLTYPE ITfContext_P_MapAppProperty_Proxy(
  778. ITfContext_P * This,
  779. /* [in] */ REFGUID guidAppProp,
  780. /* [in] */ REFGUID guidProp);
  781. void __RPC_STUB ITfContext_P_MapAppProperty_Stub(
  782. IRpcStubBuffer *This,
  783. IRpcChannelBuffer *_pRpcChannelBuffer,
  784. PRPC_MESSAGE _pRpcMessage,
  785. DWORD *_pdwStubPhase);
  786. #endif /* __ITfContext_P_INTERFACE_DEFINED__ */
  787. #ifndef __ITfRangeChangeSink_INTERFACE_DEFINED__
  788. #define __ITfRangeChangeSink_INTERFACE_DEFINED__
  789. /* interface ITfRangeChangeSink */
  790. /* [unique][uuid][object] */
  791. EXTERN_C const IID IID_ITfRangeChangeSink;
  792. #if defined(__cplusplus) && !defined(CINTERFACE)
  793. MIDL_INTERFACE("c1a0e6af-0d60-4800-9796-1fe8e85c0cca")
  794. ITfRangeChangeSink : public IUnknown
  795. {
  796. public:
  797. virtual HRESULT STDMETHODCALLTYPE OnChange(
  798. /* [in] */ ITfRange *pRange) = 0;
  799. };
  800. #else /* C style interface */
  801. typedef struct ITfRangeChangeSinkVtbl
  802. {
  803. BEGIN_INTERFACE
  804. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  805. ITfRangeChangeSink * This,
  806. /* [in] */ REFIID riid,
  807. /* [iid_is][out] */ void **ppvObject);
  808. ULONG ( STDMETHODCALLTYPE *AddRef )(
  809. ITfRangeChangeSink * This);
  810. ULONG ( STDMETHODCALLTYPE *Release )(
  811. ITfRangeChangeSink * This);
  812. HRESULT ( STDMETHODCALLTYPE *OnChange )(
  813. ITfRangeChangeSink * This,
  814. /* [in] */ ITfRange *pRange);
  815. END_INTERFACE
  816. } ITfRangeChangeSinkVtbl;
  817. interface ITfRangeChangeSink
  818. {
  819. CONST_VTBL struct ITfRangeChangeSinkVtbl *lpVtbl;
  820. };
  821. #ifdef COBJMACROS
  822. #define ITfRangeChangeSink_QueryInterface(This,riid,ppvObject) \
  823. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  824. #define ITfRangeChangeSink_AddRef(This) \
  825. (This)->lpVtbl -> AddRef(This)
  826. #define ITfRangeChangeSink_Release(This) \
  827. (This)->lpVtbl -> Release(This)
  828. #define ITfRangeChangeSink_OnChange(This,pRange) \
  829. (This)->lpVtbl -> OnChange(This,pRange)
  830. #endif /* COBJMACROS */
  831. #endif /* C style interface */
  832. HRESULT STDMETHODCALLTYPE ITfRangeChangeSink_OnChange_Proxy(
  833. ITfRangeChangeSink * This,
  834. /* [in] */ ITfRange *pRange);
  835. void __RPC_STUB ITfRangeChangeSink_OnChange_Stub(
  836. IRpcStubBuffer *This,
  837. IRpcChannelBuffer *_pRpcChannelBuffer,
  838. PRPC_MESSAGE _pRpcMessage,
  839. DWORD *_pdwStubPhase);
  840. #endif /* __ITfRangeChangeSink_INTERFACE_DEFINED__ */
  841. #ifndef __ITfFnAbort_INTERFACE_DEFINED__
  842. #define __ITfFnAbort_INTERFACE_DEFINED__
  843. /* interface ITfFnAbort */
  844. /* [unique][uuid][object] */
  845. EXTERN_C const IID IID_ITfFnAbort;
  846. #if defined(__cplusplus) && !defined(CINTERFACE)
  847. MIDL_INTERFACE("17f2317f-addb-49df-870e-66227bc51d1a")
  848. ITfFnAbort : public ITfFunction
  849. {
  850. public:
  851. virtual HRESULT STDMETHODCALLTYPE Abort(
  852. /* [in] */ ITfContext *pic) = 0;
  853. };
  854. #else /* C style interface */
  855. typedef struct ITfFnAbortVtbl
  856. {
  857. BEGIN_INTERFACE
  858. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  859. ITfFnAbort * This,
  860. /* [in] */ REFIID riid,
  861. /* [iid_is][out] */ void **ppvObject);
  862. ULONG ( STDMETHODCALLTYPE *AddRef )(
  863. ITfFnAbort * This);
  864. ULONG ( STDMETHODCALLTYPE *Release )(
  865. ITfFnAbort * This);
  866. HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
  867. ITfFnAbort * This,
  868. /* [out] */ BSTR *pbstrName);
  869. HRESULT ( STDMETHODCALLTYPE *Abort )(
  870. ITfFnAbort * This,
  871. /* [in] */ ITfContext *pic);
  872. END_INTERFACE
  873. } ITfFnAbortVtbl;
  874. interface ITfFnAbort
  875. {
  876. CONST_VTBL struct ITfFnAbortVtbl *lpVtbl;
  877. };
  878. #ifdef COBJMACROS
  879. #define ITfFnAbort_QueryInterface(This,riid,ppvObject) \
  880. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  881. #define ITfFnAbort_AddRef(This) \
  882. (This)->lpVtbl -> AddRef(This)
  883. #define ITfFnAbort_Release(This) \
  884. (This)->lpVtbl -> Release(This)
  885. #define ITfFnAbort_GetDisplayName(This,pbstrName) \
  886. (This)->lpVtbl -> GetDisplayName(This,pbstrName)
  887. #define ITfFnAbort_Abort(This,pic) \
  888. (This)->lpVtbl -> Abort(This,pic)
  889. #endif /* COBJMACROS */
  890. #endif /* C style interface */
  891. HRESULT STDMETHODCALLTYPE ITfFnAbort_Abort_Proxy(
  892. ITfFnAbort * This,
  893. /* [in] */ ITfContext *pic);
  894. void __RPC_STUB ITfFnAbort_Abort_Stub(
  895. IRpcStubBuffer *This,
  896. IRpcChannelBuffer *_pRpcChannelBuffer,
  897. PRPC_MESSAGE _pRpcMessage,
  898. DWORD *_pdwStubPhase);
  899. #endif /* __ITfFnAbort_INTERFACE_DEFINED__ */
  900. #ifndef __ITfMouseTrackerAnchor_INTERFACE_DEFINED__
  901. #define __ITfMouseTrackerAnchor_INTERFACE_DEFINED__
  902. /* interface ITfMouseTrackerAnchor */
  903. /* [unique][uuid][object] */
  904. EXTERN_C const IID IID_ITfMouseTrackerAnchor;
  905. #if defined(__cplusplus) && !defined(CINTERFACE)
  906. MIDL_INTERFACE("f9f4e0f2-d600-4a4c-b144-77e201ebd1b0")
  907. ITfMouseTrackerAnchor : public IUnknown
  908. {
  909. public:
  910. virtual HRESULT STDMETHODCALLTYPE AdviseMouseSink(
  911. /* [in] */ IAnchor *paStart,
  912. /* [in] */ IAnchor *paEnd,
  913. /* [in] */ ITfMouseSink *pSink,
  914. /* [out] */ DWORD *pdwCookie) = 0;
  915. virtual HRESULT STDMETHODCALLTYPE UnadviseMouseSink(
  916. /* [in] */ DWORD dwCookie) = 0;
  917. };
  918. #else /* C style interface */
  919. typedef struct ITfMouseTrackerAnchorVtbl
  920. {
  921. BEGIN_INTERFACE
  922. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  923. ITfMouseTrackerAnchor * This,
  924. /* [in] */ REFIID riid,
  925. /* [iid_is][out] */ void **ppvObject);
  926. ULONG ( STDMETHODCALLTYPE *AddRef )(
  927. ITfMouseTrackerAnchor * This);
  928. ULONG ( STDMETHODCALLTYPE *Release )(
  929. ITfMouseTrackerAnchor * This);
  930. HRESULT ( STDMETHODCALLTYPE *AdviseMouseSink )(
  931. ITfMouseTrackerAnchor * This,
  932. /* [in] */ IAnchor *paStart,
  933. /* [in] */ IAnchor *paEnd,
  934. /* [in] */ ITfMouseSink *pSink,
  935. /* [out] */ DWORD *pdwCookie);
  936. HRESULT ( STDMETHODCALLTYPE *UnadviseMouseSink )(
  937. ITfMouseTrackerAnchor * This,
  938. /* [in] */ DWORD dwCookie);
  939. END_INTERFACE
  940. } ITfMouseTrackerAnchorVtbl;
  941. interface ITfMouseTrackerAnchor
  942. {
  943. CONST_VTBL struct ITfMouseTrackerAnchorVtbl *lpVtbl;
  944. };
  945. #ifdef COBJMACROS
  946. #define ITfMouseTrackerAnchor_QueryInterface(This,riid,ppvObject) \
  947. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  948. #define ITfMouseTrackerAnchor_AddRef(This) \
  949. (This)->lpVtbl -> AddRef(This)
  950. #define ITfMouseTrackerAnchor_Release(This) \
  951. (This)->lpVtbl -> Release(This)
  952. #define ITfMouseTrackerAnchor_AdviseMouseSink(This,paStart,paEnd,pSink,pdwCookie) \
  953. (This)->lpVtbl -> AdviseMouseSink(This,paStart,paEnd,pSink,pdwCookie)
  954. #define ITfMouseTrackerAnchor_UnadviseMouseSink(This,dwCookie) \
  955. (This)->lpVtbl -> UnadviseMouseSink(This,dwCookie)
  956. #endif /* COBJMACROS */
  957. #endif /* C style interface */
  958. HRESULT STDMETHODCALLTYPE ITfMouseTrackerAnchor_AdviseMouseSink_Proxy(
  959. ITfMouseTrackerAnchor * This,
  960. /* [in] */ IAnchor *paStart,
  961. /* [in] */ IAnchor *paEnd,
  962. /* [in] */ ITfMouseSink *pSink,
  963. /* [out] */ DWORD *pdwCookie);
  964. void __RPC_STUB ITfMouseTrackerAnchor_AdviseMouseSink_Stub(
  965. IRpcStubBuffer *This,
  966. IRpcChannelBuffer *_pRpcChannelBuffer,
  967. PRPC_MESSAGE _pRpcMessage,
  968. DWORD *_pdwStubPhase);
  969. HRESULT STDMETHODCALLTYPE ITfMouseTrackerAnchor_UnadviseMouseSink_Proxy(
  970. ITfMouseTrackerAnchor * This,
  971. /* [in] */ DWORD dwCookie);
  972. void __RPC_STUB ITfMouseTrackerAnchor_UnadviseMouseSink_Stub(
  973. IRpcStubBuffer *This,
  974. IRpcChannelBuffer *_pRpcChannelBuffer,
  975. PRPC_MESSAGE _pRpcMessage,
  976. DWORD *_pdwStubPhase);
  977. #endif /* __ITfMouseTrackerAnchor_INTERFACE_DEFINED__ */
  978. #ifndef __ITfRangeAnchor_INTERFACE_DEFINED__
  979. #define __ITfRangeAnchor_INTERFACE_DEFINED__
  980. /* interface ITfRangeAnchor */
  981. /* [unique][uuid][object] */
  982. EXTERN_C const IID IID_ITfRangeAnchor;
  983. #if defined(__cplusplus) && !defined(CINTERFACE)
  984. MIDL_INTERFACE("8b99712b-5815-4bcc-b9a9-53db1c8d6755")
  985. ITfRangeAnchor : public ITfRange
  986. {
  987. public:
  988. virtual HRESULT STDMETHODCALLTYPE GetExtent(
  989. /* [out] */ IAnchor **ppaStart,
  990. /* [out] */ IAnchor **ppaEnd) = 0;
  991. virtual HRESULT STDMETHODCALLTYPE SetExtent(
  992. /* [in] */ IAnchor *paStart,
  993. /* [in] */ IAnchor *paEnd) = 0;
  994. };
  995. #else /* C style interface */
  996. typedef struct ITfRangeAnchorVtbl
  997. {
  998. BEGIN_INTERFACE
  999. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1000. ITfRangeAnchor * This,
  1001. /* [in] */ REFIID riid,
  1002. /* [iid_is][out] */ void **ppvObject);
  1003. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1004. ITfRangeAnchor * This);
  1005. ULONG ( STDMETHODCALLTYPE *Release )(
  1006. ITfRangeAnchor * This);
  1007. HRESULT ( STDMETHODCALLTYPE *GetText )(
  1008. ITfRangeAnchor * This,
  1009. /* [in] */ TfEditCookie ec,
  1010. /* [in] */ DWORD dwFlags,
  1011. /* [length_is][size_is][out] */ WCHAR *pchText,
  1012. /* [in] */ ULONG cchMax,
  1013. /* [out] */ ULONG *pcch);
  1014. HRESULT ( STDMETHODCALLTYPE *SetText )(
  1015. ITfRangeAnchor * This,
  1016. /* [in] */ TfEditCookie ec,
  1017. /* [in] */ DWORD dwFlags,
  1018. /* [unique][size_is][in] */ const WCHAR *pchText,
  1019. /* [in] */ LONG cch);
  1020. HRESULT ( STDMETHODCALLTYPE *GetFormattedText )(
  1021. ITfRangeAnchor * This,
  1022. /* [in] */ TfEditCookie ec,
  1023. /* [out] */ IDataObject **ppDataObject);
  1024. HRESULT ( STDMETHODCALLTYPE *GetEmbedded )(
  1025. ITfRangeAnchor * This,
  1026. /* [in] */ TfEditCookie ec,
  1027. /* [in] */ REFGUID rguidService,
  1028. /* [in] */ REFIID riid,
  1029. /* [iid_is][out] */ IUnknown **ppunk);
  1030. HRESULT ( STDMETHODCALLTYPE *InsertEmbedded )(
  1031. ITfRangeAnchor * This,
  1032. /* [in] */ TfEditCookie ec,
  1033. /* [in] */ DWORD dwFlags,
  1034. /* [in] */ IDataObject *pDataObject);
  1035. HRESULT ( STDMETHODCALLTYPE *ShiftStart )(
  1036. ITfRangeAnchor * This,
  1037. /* [in] */ TfEditCookie ec,
  1038. /* [in] */ LONG cchReq,
  1039. /* [out] */ LONG *pcch,
  1040. /* [unique][in] */ const TF_HALTCOND *pHalt);
  1041. HRESULT ( STDMETHODCALLTYPE *ShiftEnd )(
  1042. ITfRangeAnchor * This,
  1043. /* [in] */ TfEditCookie ec,
  1044. /* [in] */ LONG cchReq,
  1045. /* [out] */ LONG *pcch,
  1046. /* [unique][in] */ const TF_HALTCOND *pHalt);
  1047. HRESULT ( STDMETHODCALLTYPE *ShiftStartToRange )(
  1048. ITfRangeAnchor * This,
  1049. /* [in] */ TfEditCookie ec,
  1050. /* [in] */ ITfRange *pRange,
  1051. /* [in] */ TfAnchor aPos);
  1052. HRESULT ( STDMETHODCALLTYPE *ShiftEndToRange )(
  1053. ITfRangeAnchor * This,
  1054. /* [in] */ TfEditCookie ec,
  1055. /* [in] */ ITfRange *pRange,
  1056. /* [in] */ TfAnchor aPos);
  1057. HRESULT ( STDMETHODCALLTYPE *ShiftStartRegion )(
  1058. ITfRangeAnchor * This,
  1059. /* [in] */ TfEditCookie ec,
  1060. /* [in] */ TfShiftDir dir,
  1061. /* [out] */ BOOL *pfNoRegion);
  1062. HRESULT ( STDMETHODCALLTYPE *ShiftEndRegion )(
  1063. ITfRangeAnchor * This,
  1064. /* [in] */ TfEditCookie ec,
  1065. /* [in] */ TfShiftDir dir,
  1066. /* [out] */ BOOL *pfNoRegion);
  1067. HRESULT ( STDMETHODCALLTYPE *IsEmpty )(
  1068. ITfRangeAnchor * This,
  1069. /* [in] */ TfEditCookie ec,
  1070. /* [out] */ BOOL *pfEmpty);
  1071. HRESULT ( STDMETHODCALLTYPE *Collapse )(
  1072. ITfRangeAnchor * This,
  1073. /* [in] */ TfEditCookie ec,
  1074. /* [in] */ TfAnchor aPos);
  1075. HRESULT ( STDMETHODCALLTYPE *IsEqualStart )(
  1076. ITfRangeAnchor * This,
  1077. /* [in] */ TfEditCookie ec,
  1078. /* [in] */ ITfRange *pWith,
  1079. /* [in] */ TfAnchor aPos,
  1080. /* [out] */ BOOL *pfEqual);
  1081. HRESULT ( STDMETHODCALLTYPE *IsEqualEnd )(
  1082. ITfRangeAnchor * This,
  1083. /* [in] */ TfEditCookie ec,
  1084. /* [in] */ ITfRange *pWith,
  1085. /* [in] */ TfAnchor aPos,
  1086. /* [out] */ BOOL *pfEqual);
  1087. HRESULT ( STDMETHODCALLTYPE *CompareStart )(
  1088. ITfRangeAnchor * This,
  1089. /* [in] */ TfEditCookie ec,
  1090. /* [in] */ ITfRange *pWith,
  1091. /* [in] */ TfAnchor aPos,
  1092. /* [out] */ LONG *plResult);
  1093. HRESULT ( STDMETHODCALLTYPE *CompareEnd )(
  1094. ITfRangeAnchor * This,
  1095. /* [in] */ TfEditCookie ec,
  1096. /* [in] */ ITfRange *pWith,
  1097. /* [in] */ TfAnchor aPos,
  1098. /* [out] */ LONG *plResult);
  1099. HRESULT ( STDMETHODCALLTYPE *AdjustForInsert )(
  1100. ITfRangeAnchor * This,
  1101. /* [in] */ TfEditCookie ec,
  1102. /* [in] */ ULONG cchInsert,
  1103. /* [out] */ BOOL *pfInsertOk);
  1104. HRESULT ( STDMETHODCALLTYPE *GetGravity )(
  1105. ITfRangeAnchor * This,
  1106. /* [out] */ TfGravity *pgStart,
  1107. /* [out] */ TfGravity *pgEnd);
  1108. HRESULT ( STDMETHODCALLTYPE *SetGravity )(
  1109. ITfRangeAnchor * This,
  1110. /* [in] */ TfEditCookie ec,
  1111. /* [in] */ TfGravity gStart,
  1112. /* [in] */ TfGravity gEnd);
  1113. HRESULT ( STDMETHODCALLTYPE *Clone )(
  1114. ITfRangeAnchor * This,
  1115. /* [out] */ ITfRange **ppClone);
  1116. HRESULT ( STDMETHODCALLTYPE *GetContext )(
  1117. ITfRangeAnchor * This,
  1118. /* [out] */ ITfContext **ppContext);
  1119. HRESULT ( STDMETHODCALLTYPE *GetExtent )(
  1120. ITfRangeAnchor * This,
  1121. /* [out] */ IAnchor **ppaStart,
  1122. /* [out] */ IAnchor **ppaEnd);
  1123. HRESULT ( STDMETHODCALLTYPE *SetExtent )(
  1124. ITfRangeAnchor * This,
  1125. /* [in] */ IAnchor *paStart,
  1126. /* [in] */ IAnchor *paEnd);
  1127. END_INTERFACE
  1128. } ITfRangeAnchorVtbl;
  1129. interface ITfRangeAnchor
  1130. {
  1131. CONST_VTBL struct ITfRangeAnchorVtbl *lpVtbl;
  1132. };
  1133. #ifdef COBJMACROS
  1134. #define ITfRangeAnchor_QueryInterface(This,riid,ppvObject) \
  1135. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1136. #define ITfRangeAnchor_AddRef(This) \
  1137. (This)->lpVtbl -> AddRef(This)
  1138. #define ITfRangeAnchor_Release(This) \
  1139. (This)->lpVtbl -> Release(This)
  1140. #define ITfRangeAnchor_GetText(This,ec,dwFlags,pchText,cchMax,pcch) \
  1141. (This)->lpVtbl -> GetText(This,ec,dwFlags,pchText,cchMax,pcch)
  1142. #define ITfRangeAnchor_SetText(This,ec,dwFlags,pchText,cch) \
  1143. (This)->lpVtbl -> SetText(This,ec,dwFlags,pchText,cch)
  1144. #define ITfRangeAnchor_GetFormattedText(This,ec,ppDataObject) \
  1145. (This)->lpVtbl -> GetFormattedText(This,ec,ppDataObject)
  1146. #define ITfRangeAnchor_GetEmbedded(This,ec,rguidService,riid,ppunk) \
  1147. (This)->lpVtbl -> GetEmbedded(This,ec,rguidService,riid,ppunk)
  1148. #define ITfRangeAnchor_InsertEmbedded(This,ec,dwFlags,pDataObject) \
  1149. (This)->lpVtbl -> InsertEmbedded(This,ec,dwFlags,pDataObject)
  1150. #define ITfRangeAnchor_ShiftStart(This,ec,cchReq,pcch,pHalt) \
  1151. (This)->lpVtbl -> ShiftStart(This,ec,cchReq,pcch,pHalt)
  1152. #define ITfRangeAnchor_ShiftEnd(This,ec,cchReq,pcch,pHalt) \
  1153. (This)->lpVtbl -> ShiftEnd(This,ec,cchReq,pcch,pHalt)
  1154. #define ITfRangeAnchor_ShiftStartToRange(This,ec,pRange,aPos) \
  1155. (This)->lpVtbl -> ShiftStartToRange(This,ec,pRange,aPos)
  1156. #define ITfRangeAnchor_ShiftEndToRange(This,ec,pRange,aPos) \
  1157. (This)->lpVtbl -> ShiftEndToRange(This,ec,pRange,aPos)
  1158. #define ITfRangeAnchor_ShiftStartRegion(This,ec,dir,pfNoRegion) \
  1159. (This)->lpVtbl -> ShiftStartRegion(This,ec,dir,pfNoRegion)
  1160. #define ITfRangeAnchor_ShiftEndRegion(This,ec,dir,pfNoRegion) \
  1161. (This)->lpVtbl -> ShiftEndRegion(This,ec,dir,pfNoRegion)
  1162. #define ITfRangeAnchor_IsEmpty(This,ec,pfEmpty) \
  1163. (This)->lpVtbl -> IsEmpty(This,ec,pfEmpty)
  1164. #define ITfRangeAnchor_Collapse(This,ec,aPos) \
  1165. (This)->lpVtbl -> Collapse(This,ec,aPos)
  1166. #define ITfRangeAnchor_IsEqualStart(This,ec,pWith,aPos,pfEqual) \
  1167. (This)->lpVtbl -> IsEqualStart(This,ec,pWith,aPos,pfEqual)
  1168. #define ITfRangeAnchor_IsEqualEnd(This,ec,pWith,aPos,pfEqual) \
  1169. (This)->lpVtbl -> IsEqualEnd(This,ec,pWith,aPos,pfEqual)
  1170. #define ITfRangeAnchor_CompareStart(This,ec,pWith,aPos,plResult) \
  1171. (This)->lpVtbl -> CompareStart(This,ec,pWith,aPos,plResult)
  1172. #define ITfRangeAnchor_CompareEnd(This,ec,pWith,aPos,plResult) \
  1173. (This)->lpVtbl -> CompareEnd(This,ec,pWith,aPos,plResult)
  1174. #define ITfRangeAnchor_AdjustForInsert(This,ec,cchInsert,pfInsertOk) \
  1175. (This)->lpVtbl -> AdjustForInsert(This,ec,cchInsert,pfInsertOk)
  1176. #define ITfRangeAnchor_GetGravity(This,pgStart,pgEnd) \
  1177. (This)->lpVtbl -> GetGravity(This,pgStart,pgEnd)
  1178. #define ITfRangeAnchor_SetGravity(This,ec,gStart,gEnd) \
  1179. (This)->lpVtbl -> SetGravity(This,ec,gStart,gEnd)
  1180. #define ITfRangeAnchor_Clone(This,ppClone) \
  1181. (This)->lpVtbl -> Clone(This,ppClone)
  1182. #define ITfRangeAnchor_GetContext(This,ppContext) \
  1183. (This)->lpVtbl -> GetContext(This,ppContext)
  1184. #define ITfRangeAnchor_GetExtent(This,ppaStart,ppaEnd) \
  1185. (This)->lpVtbl -> GetExtent(This,ppaStart,ppaEnd)
  1186. #define ITfRangeAnchor_SetExtent(This,paStart,paEnd) \
  1187. (This)->lpVtbl -> SetExtent(This,paStart,paEnd)
  1188. #endif /* COBJMACROS */
  1189. #endif /* C style interface */
  1190. HRESULT STDMETHODCALLTYPE ITfRangeAnchor_GetExtent_Proxy(
  1191. ITfRangeAnchor * This,
  1192. /* [out] */ IAnchor **ppaStart,
  1193. /* [out] */ IAnchor **ppaEnd);
  1194. void __RPC_STUB ITfRangeAnchor_GetExtent_Stub(
  1195. IRpcStubBuffer *This,
  1196. IRpcChannelBuffer *_pRpcChannelBuffer,
  1197. PRPC_MESSAGE _pRpcMessage,
  1198. DWORD *_pdwStubPhase);
  1199. HRESULT STDMETHODCALLTYPE ITfRangeAnchor_SetExtent_Proxy(
  1200. ITfRangeAnchor * This,
  1201. /* [in] */ IAnchor *paStart,
  1202. /* [in] */ IAnchor *paEnd);
  1203. void __RPC_STUB ITfRangeAnchor_SetExtent_Stub(
  1204. IRpcStubBuffer *This,
  1205. IRpcChannelBuffer *_pRpcChannelBuffer,
  1206. PRPC_MESSAGE _pRpcMessage,
  1207. DWORD *_pdwStubPhase);
  1208. /* interface __MIDL_itf_msctfp_0222 */
  1209. /* [local] */
  1210. typedef /* [uuid] */ DECLSPEC_UUID("af9f076f-4937-4285-8600-81dca5c31eb6") struct TF_PERSISTENT_PROPERTY_HEADER_ANCHOR
  1211. {
  1212. GUID guidType;
  1213. IAnchor *paStart;
  1214. IAnchor *paEnd;
  1215. ULONG cb;
  1216. DWORD dwPrivate;
  1217. CLSID clsidTIP;
  1218. } TF_PERSISTENT_PROPERTY_HEADER_ANCHOR;
  1219. #endif /* __ITfRangeAnchor_INTERFACE_DEFINED__ */
  1220. extern RPC_IF_HANDLE __MIDL_itf_msctfp_0222_v0_0_c_ifspec;
  1221. extern RPC_IF_HANDLE __MIDL_itf_msctfp_0222_v0_0_s_ifspec;
  1222. #ifndef __ITfPersistentPropertyLoaderAnchor_INTERFACE_DEFINED__
  1223. #define __ITfPersistentPropertyLoaderAnchor_INTERFACE_DEFINED__
  1224. /* interface ITfPersistentPropertyLoaderAnchor */
  1225. /* [unique][uuid][object] */
  1226. EXTERN_C const IID IID_ITfPersistentPropertyLoaderAnchor;
  1227. #if defined(__cplusplus) && !defined(CINTERFACE)
  1228. MIDL_INTERFACE("2133f790-34c2-11d3-a745-0050040ab407")
  1229. ITfPersistentPropertyLoaderAnchor : public IUnknown
  1230. {
  1231. public:
  1232. virtual HRESULT STDMETHODCALLTYPE LoadProperty(
  1233. /* [in] */ const TF_PERSISTENT_PROPERTY_HEADER_ANCHOR *pHdr,
  1234. /* [out] */ IStream **ppStream) = 0;
  1235. };
  1236. #else /* C style interface */
  1237. typedef struct ITfPersistentPropertyLoaderAnchorVtbl
  1238. {
  1239. BEGIN_INTERFACE
  1240. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1241. ITfPersistentPropertyLoaderAnchor * This,
  1242. /* [in] */ REFIID riid,
  1243. /* [iid_is][out] */ void **ppvObject);
  1244. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1245. ITfPersistentPropertyLoaderAnchor * This);
  1246. ULONG ( STDMETHODCALLTYPE *Release )(
  1247. ITfPersistentPropertyLoaderAnchor * This);
  1248. HRESULT ( STDMETHODCALLTYPE *LoadProperty )(
  1249. ITfPersistentPropertyLoaderAnchor * This,
  1250. /* [in] */ const TF_PERSISTENT_PROPERTY_HEADER_ANCHOR *pHdr,
  1251. /* [out] */ IStream **ppStream);
  1252. END_INTERFACE
  1253. } ITfPersistentPropertyLoaderAnchorVtbl;
  1254. interface ITfPersistentPropertyLoaderAnchor
  1255. {
  1256. CONST_VTBL struct ITfPersistentPropertyLoaderAnchorVtbl *lpVtbl;
  1257. };
  1258. #ifdef COBJMACROS
  1259. #define ITfPersistentPropertyLoaderAnchor_QueryInterface(This,riid,ppvObject) \
  1260. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1261. #define ITfPersistentPropertyLoaderAnchor_AddRef(This) \
  1262. (This)->lpVtbl -> AddRef(This)
  1263. #define ITfPersistentPropertyLoaderAnchor_Release(This) \
  1264. (This)->lpVtbl -> Release(This)
  1265. #define ITfPersistentPropertyLoaderAnchor_LoadProperty(This,pHdr,ppStream) \
  1266. (This)->lpVtbl -> LoadProperty(This,pHdr,ppStream)
  1267. #endif /* COBJMACROS */
  1268. #endif /* C style interface */
  1269. HRESULT STDMETHODCALLTYPE ITfPersistentPropertyLoaderAnchor_LoadProperty_Proxy(
  1270. ITfPersistentPropertyLoaderAnchor * This,
  1271. /* [in] */ const TF_PERSISTENT_PROPERTY_HEADER_ANCHOR *pHdr,
  1272. /* [out] */ IStream **ppStream);
  1273. void __RPC_STUB ITfPersistentPropertyLoaderAnchor_LoadProperty_Stub(
  1274. IRpcStubBuffer *This,
  1275. IRpcChannelBuffer *_pRpcChannelBuffer,
  1276. PRPC_MESSAGE _pRpcMessage,
  1277. DWORD *_pdwStubPhase);
  1278. #endif /* __ITfPersistentPropertyLoaderAnchor_INTERFACE_DEFINED__ */
  1279. #ifndef __ITextStoreAnchorServices_INTERFACE_DEFINED__
  1280. #define __ITextStoreAnchorServices_INTERFACE_DEFINED__
  1281. /* interface ITextStoreAnchorServices */
  1282. /* [unique][uuid][object] */
  1283. EXTERN_C const IID IID_ITextStoreAnchorServices;
  1284. #if defined(__cplusplus) && !defined(CINTERFACE)
  1285. MIDL_INTERFACE("aa80e9fe-2021-11d2-93e0-0060b067b86e")
  1286. ITextStoreAnchorServices : public IUnknown
  1287. {
  1288. public:
  1289. virtual HRESULT STDMETHODCALLTYPE Serialize(
  1290. /* [in] */ ITfProperty *pProp,
  1291. /* [in] */ ITfRange *pRange,
  1292. /* [out] */ TF_PERSISTENT_PROPERTY_HEADER_ANCHOR *pHdr,
  1293. /* [in] */ IStream *pStream) = 0;
  1294. virtual HRESULT STDMETHODCALLTYPE Unserialize(
  1295. /* [in] */ ITfProperty *pProp,
  1296. /* [in] */ const TF_PERSISTENT_PROPERTY_HEADER_ANCHOR *pHdr,
  1297. /* [in] */ IStream *pStream,
  1298. /* [in] */ ITfPersistentPropertyLoaderAnchor *pLoader) = 0;
  1299. virtual HRESULT STDMETHODCALLTYPE ForceLoadProperty(
  1300. /* [in] */ ITfProperty *pProp) = 0;
  1301. virtual HRESULT STDMETHODCALLTYPE CreateRange(
  1302. /* [in] */ IAnchor *paStart,
  1303. /* [in] */ IAnchor *paEnd,
  1304. /* [out] */ ITfRangeAnchor **ppRange) = 0;
  1305. };
  1306. #else /* C style interface */
  1307. typedef struct ITextStoreAnchorServicesVtbl
  1308. {
  1309. BEGIN_INTERFACE
  1310. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1311. ITextStoreAnchorServices * This,
  1312. /* [in] */ REFIID riid,
  1313. /* [iid_is][out] */ void **ppvObject);
  1314. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1315. ITextStoreAnchorServices * This);
  1316. ULONG ( STDMETHODCALLTYPE *Release )(
  1317. ITextStoreAnchorServices * This);
  1318. HRESULT ( STDMETHODCALLTYPE *Serialize )(
  1319. ITextStoreAnchorServices * This,
  1320. /* [in] */ ITfProperty *pProp,
  1321. /* [in] */ ITfRange *pRange,
  1322. /* [out] */ TF_PERSISTENT_PROPERTY_HEADER_ANCHOR *pHdr,
  1323. /* [in] */ IStream *pStream);
  1324. HRESULT ( STDMETHODCALLTYPE *Unserialize )(
  1325. ITextStoreAnchorServices * This,
  1326. /* [in] */ ITfProperty *pProp,
  1327. /* [in] */ const TF_PERSISTENT_PROPERTY_HEADER_ANCHOR *pHdr,
  1328. /* [in] */ IStream *pStream,
  1329. /* [in] */ ITfPersistentPropertyLoaderAnchor *pLoader);
  1330. HRESULT ( STDMETHODCALLTYPE *ForceLoadProperty )(
  1331. ITextStoreAnchorServices * This,
  1332. /* [in] */ ITfProperty *pProp);
  1333. HRESULT ( STDMETHODCALLTYPE *CreateRange )(
  1334. ITextStoreAnchorServices * This,
  1335. /* [in] */ IAnchor *paStart,
  1336. /* [in] */ IAnchor *paEnd,
  1337. /* [out] */ ITfRangeAnchor **ppRange);
  1338. END_INTERFACE
  1339. } ITextStoreAnchorServicesVtbl;
  1340. interface ITextStoreAnchorServices
  1341. {
  1342. CONST_VTBL struct ITextStoreAnchorServicesVtbl *lpVtbl;
  1343. };
  1344. #ifdef COBJMACROS
  1345. #define ITextStoreAnchorServices_QueryInterface(This,riid,ppvObject) \
  1346. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1347. #define ITextStoreAnchorServices_AddRef(This) \
  1348. (This)->lpVtbl -> AddRef(This)
  1349. #define ITextStoreAnchorServices_Release(This) \
  1350. (This)->lpVtbl -> Release(This)
  1351. #define ITextStoreAnchorServices_Serialize(This,pProp,pRange,pHdr,pStream) \
  1352. (This)->lpVtbl -> Serialize(This,pProp,pRange,pHdr,pStream)
  1353. #define ITextStoreAnchorServices_Unserialize(This,pProp,pHdr,pStream,pLoader) \
  1354. (This)->lpVtbl -> Unserialize(This,pProp,pHdr,pStream,pLoader)
  1355. #define ITextStoreAnchorServices_ForceLoadProperty(This,pProp) \
  1356. (This)->lpVtbl -> ForceLoadProperty(This,pProp)
  1357. #define ITextStoreAnchorServices_CreateRange(This,paStart,paEnd,ppRange) \
  1358. (This)->lpVtbl -> CreateRange(This,paStart,paEnd,ppRange)
  1359. #endif /* COBJMACROS */
  1360. #endif /* C style interface */
  1361. HRESULT STDMETHODCALLTYPE ITextStoreAnchorServices_Serialize_Proxy(
  1362. ITextStoreAnchorServices * This,
  1363. /* [in] */ ITfProperty *pProp,
  1364. /* [in] */ ITfRange *pRange,
  1365. /* [out] */ TF_PERSISTENT_PROPERTY_HEADER_ANCHOR *pHdr,
  1366. /* [in] */ IStream *pStream);
  1367. void __RPC_STUB ITextStoreAnchorServices_Serialize_Stub(
  1368. IRpcStubBuffer *This,
  1369. IRpcChannelBuffer *_pRpcChannelBuffer,
  1370. PRPC_MESSAGE _pRpcMessage,
  1371. DWORD *_pdwStubPhase);
  1372. HRESULT STDMETHODCALLTYPE ITextStoreAnchorServices_Unserialize_Proxy(
  1373. ITextStoreAnchorServices * This,
  1374. /* [in] */ ITfProperty *pProp,
  1375. /* [in] */ const TF_PERSISTENT_PROPERTY_HEADER_ANCHOR *pHdr,
  1376. /* [in] */ IStream *pStream,
  1377. /* [in] */ ITfPersistentPropertyLoaderAnchor *pLoader);
  1378. void __RPC_STUB ITextStoreAnchorServices_Unserialize_Stub(
  1379. IRpcStubBuffer *This,
  1380. IRpcChannelBuffer *_pRpcChannelBuffer,
  1381. PRPC_MESSAGE _pRpcMessage,
  1382. DWORD *_pdwStubPhase);
  1383. HRESULT STDMETHODCALLTYPE ITextStoreAnchorServices_ForceLoadProperty_Proxy(
  1384. ITextStoreAnchorServices * This,
  1385. /* [in] */ ITfProperty *pProp);
  1386. void __RPC_STUB ITextStoreAnchorServices_ForceLoadProperty_Stub(
  1387. IRpcStubBuffer *This,
  1388. IRpcChannelBuffer *_pRpcChannelBuffer,
  1389. PRPC_MESSAGE _pRpcMessage,
  1390. DWORD *_pdwStubPhase);
  1391. HRESULT STDMETHODCALLTYPE ITextStoreAnchorServices_CreateRange_Proxy(
  1392. ITextStoreAnchorServices * This,
  1393. /* [in] */ IAnchor *paStart,
  1394. /* [in] */ IAnchor *paEnd,
  1395. /* [out] */ ITfRangeAnchor **ppRange);
  1396. void __RPC_STUB ITextStoreAnchorServices_CreateRange_Stub(
  1397. IRpcStubBuffer *This,
  1398. IRpcChannelBuffer *_pRpcChannelBuffer,
  1399. PRPC_MESSAGE _pRpcMessage,
  1400. DWORD *_pdwStubPhase);
  1401. #endif /* __ITextStoreAnchorServices_INTERFACE_DEFINED__ */
  1402. #ifndef __ITfProperty2_INTERFACE_DEFINED__
  1403. #define __ITfProperty2_INTERFACE_DEFINED__
  1404. /* interface ITfProperty2 */
  1405. /* [unique][uuid][object] */
  1406. #define TF_FNV_BACKWARD ( 0x1 )
  1407. #define TF_FNV_NO_CONTAINED ( 0x2 )
  1408. EXTERN_C const IID IID_ITfProperty2;
  1409. #if defined(__cplusplus) && !defined(CINTERFACE)
  1410. MIDL_INTERFACE("db261faa-2142-486a-b5c6-d2101bc03d2e")
  1411. ITfProperty2 : public ITfProperty
  1412. {
  1413. public:
  1414. virtual HRESULT STDMETHODCALLTYPE FindNextValue(
  1415. /* [in] */ TfEditCookie ec,
  1416. /* [in] */ ITfRange *pRangeQuery,
  1417. /* [in] */ TfAnchor tfAnchorQuery,
  1418. /* [in] */ DWORD dwFlags,
  1419. /* [out] */ BOOL *pfContained,
  1420. /* [out] */ ITfRange **ppRangeNextValue) = 0;
  1421. };
  1422. #else /* C style interface */
  1423. typedef struct ITfProperty2Vtbl
  1424. {
  1425. BEGIN_INTERFACE
  1426. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1427. ITfProperty2 * This,
  1428. /* [in] */ REFIID riid,
  1429. /* [iid_is][out] */ void **ppvObject);
  1430. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1431. ITfProperty2 * This);
  1432. ULONG ( STDMETHODCALLTYPE *Release )(
  1433. ITfProperty2 * This);
  1434. HRESULT ( STDMETHODCALLTYPE *GetType )(
  1435. ITfProperty2 * This,
  1436. /* [out] */ GUID *pguid);
  1437. HRESULT ( STDMETHODCALLTYPE *EnumRanges )(
  1438. ITfProperty2 * This,
  1439. /* [in] */ TfEditCookie ec,
  1440. /* [out] */ IEnumTfRanges **ppEnum,
  1441. /* [in] */ ITfRange *pTargetRange);
  1442. HRESULT ( STDMETHODCALLTYPE *GetValue )(
  1443. ITfProperty2 * This,
  1444. /* [in] */ TfEditCookie ec,
  1445. /* [in] */ ITfRange *pRange,
  1446. /* [out] */ VARIANT *pvarValue);
  1447. HRESULT ( STDMETHODCALLTYPE *GetContext )(
  1448. ITfProperty2 * This,
  1449. /* [out] */ ITfContext **ppContext);
  1450. HRESULT ( STDMETHODCALLTYPE *FindRange )(
  1451. ITfProperty2 * This,
  1452. /* [in] */ TfEditCookie ec,
  1453. /* [in] */ ITfRange *pRange,
  1454. /* [out] */ ITfRange **ppRange,
  1455. /* [in] */ TfAnchor aPos);
  1456. HRESULT ( STDMETHODCALLTYPE *SetValueStore )(
  1457. ITfProperty2 * This,
  1458. /* [in] */ TfEditCookie ec,
  1459. /* [in] */ ITfRange *pRange,
  1460. /* [in] */ ITfPropertyStore *pPropStore);
  1461. HRESULT ( STDMETHODCALLTYPE *SetValue )(
  1462. ITfProperty2 * This,
  1463. /* [in] */ TfEditCookie ec,
  1464. /* [in] */ ITfRange *pRange,
  1465. /* [in] */ const VARIANT *pvarValue);
  1466. HRESULT ( STDMETHODCALLTYPE *Clear )(
  1467. ITfProperty2 * This,
  1468. /* [in] */ TfEditCookie ec,
  1469. /* [in] */ ITfRange *pRange);
  1470. HRESULT ( STDMETHODCALLTYPE *FindNextValue )(
  1471. ITfProperty2 * This,
  1472. /* [in] */ TfEditCookie ec,
  1473. /* [in] */ ITfRange *pRangeQuery,
  1474. /* [in] */ TfAnchor tfAnchorQuery,
  1475. /* [in] */ DWORD dwFlags,
  1476. /* [out] */ BOOL *pfContained,
  1477. /* [out] */ ITfRange **ppRangeNextValue);
  1478. END_INTERFACE
  1479. } ITfProperty2Vtbl;
  1480. interface ITfProperty2
  1481. {
  1482. CONST_VTBL struct ITfProperty2Vtbl *lpVtbl;
  1483. };
  1484. #ifdef COBJMACROS
  1485. #define ITfProperty2_QueryInterface(This,riid,ppvObject) \
  1486. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1487. #define ITfProperty2_AddRef(This) \
  1488. (This)->lpVtbl -> AddRef(This)
  1489. #define ITfProperty2_Release(This) \
  1490. (This)->lpVtbl -> Release(This)
  1491. #define ITfProperty2_GetType(This,pguid) \
  1492. (This)->lpVtbl -> GetType(This,pguid)
  1493. #define ITfProperty2_EnumRanges(This,ec,ppEnum,pTargetRange) \
  1494. (This)->lpVtbl -> EnumRanges(This,ec,ppEnum,pTargetRange)
  1495. #define ITfProperty2_GetValue(This,ec,pRange,pvarValue) \
  1496. (This)->lpVtbl -> GetValue(This,ec,pRange,pvarValue)
  1497. #define ITfProperty2_GetContext(This,ppContext) \
  1498. (This)->lpVtbl -> GetContext(This,ppContext)
  1499. #define ITfProperty2_FindRange(This,ec,pRange,ppRange,aPos) \
  1500. (This)->lpVtbl -> FindRange(This,ec,pRange,ppRange,aPos)
  1501. #define ITfProperty2_SetValueStore(This,ec,pRange,pPropStore) \
  1502. (This)->lpVtbl -> SetValueStore(This,ec,pRange,pPropStore)
  1503. #define ITfProperty2_SetValue(This,ec,pRange,pvarValue) \
  1504. (This)->lpVtbl -> SetValue(This,ec,pRange,pvarValue)
  1505. #define ITfProperty2_Clear(This,ec,pRange) \
  1506. (This)->lpVtbl -> Clear(This,ec,pRange)
  1507. #define ITfProperty2_FindNextValue(This,ec,pRangeQuery,tfAnchorQuery,dwFlags,pfContained,ppRangeNextValue) \
  1508. (This)->lpVtbl -> FindNextValue(This,ec,pRangeQuery,tfAnchorQuery,dwFlags,pfContained,ppRangeNextValue)
  1509. #endif /* COBJMACROS */
  1510. #endif /* C style interface */
  1511. HRESULT STDMETHODCALLTYPE ITfProperty2_FindNextValue_Proxy(
  1512. ITfProperty2 * This,
  1513. /* [in] */ TfEditCookie ec,
  1514. /* [in] */ ITfRange *pRangeQuery,
  1515. /* [in] */ TfAnchor tfAnchorQuery,
  1516. /* [in] */ DWORD dwFlags,
  1517. /* [out] */ BOOL *pfContained,
  1518. /* [out] */ ITfRange **ppRangeNextValue);
  1519. void __RPC_STUB ITfProperty2_FindNextValue_Stub(
  1520. IRpcStubBuffer *This,
  1521. IRpcChannelBuffer *_pRpcChannelBuffer,
  1522. PRPC_MESSAGE _pRpcMessage,
  1523. DWORD *_pdwStubPhase);
  1524. #endif /* __ITfProperty2_INTERFACE_DEFINED__ */
  1525. /* interface __MIDL_itf_msctfp_0225 */
  1526. /* [local] */
  1527. #define TF_DA_PRIORITY_HIGHEST ( 0 )
  1528. #define TF_DA_PRIORITY_DEFAULT_SPELLING ( 8 )
  1529. #define TF_DA_PRIORITY_DEFAULT_GRAMMAR ( 16 )
  1530. #define TF_DA_PRIORITY_DEFAULT ( 24 )
  1531. #define TF_DA_PRIORITY_LOWEST ( 31 )
  1532. typedef /* [public][public][public] */ struct __MIDL___MIDL_itf_msctfp_0225_0001
  1533. {
  1534. ULONG uPriority;
  1535. GUID guidProperty;
  1536. } TF_DA_PROPERTY;
  1537. extern RPC_IF_HANDLE __MIDL_itf_msctfp_0225_v0_0_c_ifspec;
  1538. extern RPC_IF_HANDLE __MIDL_itf_msctfp_0225_v0_0_s_ifspec;
  1539. #ifndef __IEnumTfCollection_INTERFACE_DEFINED__
  1540. #define __IEnumTfCollection_INTERFACE_DEFINED__
  1541. /* interface IEnumTfCollection */
  1542. /* [unique][uuid][object] */
  1543. EXTERN_C const IID IID_IEnumTfCollection;
  1544. #if defined(__cplusplus) && !defined(CINTERFACE)
  1545. MIDL_INTERFACE("1c760b20-ed66-4dbd-9ff1-68fc21c02922")
  1546. IEnumTfCollection : public IUnknown
  1547. {
  1548. public:
  1549. virtual HRESULT STDMETHODCALLTYPE Clone(
  1550. /* [out] */ IEnumTfCollection **ppClone) = 0;
  1551. virtual HRESULT STDMETHODCALLTYPE Next(
  1552. /* [in] */ ULONG ulCount,
  1553. /* [length_is][size_is][out] */ TF_DA_PROPERTY *rgCollection,
  1554. /* [out] */ ULONG *pcFetched) = 0;
  1555. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1556. virtual HRESULT STDMETHODCALLTYPE Skip(
  1557. /* [in] */ ULONG ulCount) = 0;
  1558. };
  1559. #else /* C style interface */
  1560. typedef struct IEnumTfCollectionVtbl
  1561. {
  1562. BEGIN_INTERFACE
  1563. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1564. IEnumTfCollection * This,
  1565. /* [in] */ REFIID riid,
  1566. /* [iid_is][out] */ void **ppvObject);
  1567. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1568. IEnumTfCollection * This);
  1569. ULONG ( STDMETHODCALLTYPE *Release )(
  1570. IEnumTfCollection * This);
  1571. HRESULT ( STDMETHODCALLTYPE *Clone )(
  1572. IEnumTfCollection * This,
  1573. /* [out] */ IEnumTfCollection **ppClone);
  1574. HRESULT ( STDMETHODCALLTYPE *Next )(
  1575. IEnumTfCollection * This,
  1576. /* [in] */ ULONG ulCount,
  1577. /* [length_is][size_is][out] */ TF_DA_PROPERTY *rgCollection,
  1578. /* [out] */ ULONG *pcFetched);
  1579. HRESULT ( STDMETHODCALLTYPE *Reset )(
  1580. IEnumTfCollection * This);
  1581. HRESULT ( STDMETHODCALLTYPE *Skip )(
  1582. IEnumTfCollection * This,
  1583. /* [in] */ ULONG ulCount);
  1584. END_INTERFACE
  1585. } IEnumTfCollectionVtbl;
  1586. interface IEnumTfCollection
  1587. {
  1588. CONST_VTBL struct IEnumTfCollectionVtbl *lpVtbl;
  1589. };
  1590. #ifdef COBJMACROS
  1591. #define IEnumTfCollection_QueryInterface(This,riid,ppvObject) \
  1592. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1593. #define IEnumTfCollection_AddRef(This) \
  1594. (This)->lpVtbl -> AddRef(This)
  1595. #define IEnumTfCollection_Release(This) \
  1596. (This)->lpVtbl -> Release(This)
  1597. #define IEnumTfCollection_Clone(This,ppClone) \
  1598. (This)->lpVtbl -> Clone(This,ppClone)
  1599. #define IEnumTfCollection_Next(This,ulCount,rgCollection,pcFetched) \
  1600. (This)->lpVtbl -> Next(This,ulCount,rgCollection,pcFetched)
  1601. #define IEnumTfCollection_Reset(This) \
  1602. (This)->lpVtbl -> Reset(This)
  1603. #define IEnumTfCollection_Skip(This,ulCount) \
  1604. (This)->lpVtbl -> Skip(This,ulCount)
  1605. #endif /* COBJMACROS */
  1606. #endif /* C style interface */
  1607. HRESULT STDMETHODCALLTYPE IEnumTfCollection_Clone_Proxy(
  1608. IEnumTfCollection * This,
  1609. /* [out] */ IEnumTfCollection **ppClone);
  1610. void __RPC_STUB IEnumTfCollection_Clone_Stub(
  1611. IRpcStubBuffer *This,
  1612. IRpcChannelBuffer *_pRpcChannelBuffer,
  1613. PRPC_MESSAGE _pRpcMessage,
  1614. DWORD *_pdwStubPhase);
  1615. HRESULT STDMETHODCALLTYPE IEnumTfCollection_Next_Proxy(
  1616. IEnumTfCollection * This,
  1617. /* [in] */ ULONG ulCount,
  1618. /* [length_is][size_is][out] */ TF_DA_PROPERTY *rgCollection,
  1619. /* [out] */ ULONG *pcFetched);
  1620. void __RPC_STUB IEnumTfCollection_Next_Stub(
  1621. IRpcStubBuffer *This,
  1622. IRpcChannelBuffer *_pRpcChannelBuffer,
  1623. PRPC_MESSAGE _pRpcMessage,
  1624. DWORD *_pdwStubPhase);
  1625. HRESULT STDMETHODCALLTYPE IEnumTfCollection_Reset_Proxy(
  1626. IEnumTfCollection * This);
  1627. void __RPC_STUB IEnumTfCollection_Reset_Stub(
  1628. IRpcStubBuffer *This,
  1629. IRpcChannelBuffer *_pRpcChannelBuffer,
  1630. PRPC_MESSAGE _pRpcMessage,
  1631. DWORD *_pdwStubPhase);
  1632. HRESULT STDMETHODCALLTYPE IEnumTfCollection_Skip_Proxy(
  1633. IEnumTfCollection * This,
  1634. /* [in] */ ULONG ulCount);
  1635. void __RPC_STUB IEnumTfCollection_Skip_Stub(
  1636. IRpcStubBuffer *This,
  1637. IRpcChannelBuffer *_pRpcChannelBuffer,
  1638. PRPC_MESSAGE _pRpcMessage,
  1639. DWORD *_pdwStubPhase);
  1640. #endif /* __IEnumTfCollection_INTERFACE_DEFINED__ */
  1641. #ifndef __ITfDisplayAttributeCollectionMgr_INTERFACE_DEFINED__
  1642. #define __ITfDisplayAttributeCollectionMgr_INTERFACE_DEFINED__
  1643. /* interface ITfDisplayAttributeCollectionMgr */
  1644. /* [unique][uuid][object] */
  1645. EXTERN_C const IID IID_ITfDisplayAttributeCollectionMgr;
  1646. #if defined(__cplusplus) && !defined(CINTERFACE)
  1647. MIDL_INTERFACE("4e3d2d48-3c17-457d-84a1-f209476de897")
  1648. ITfDisplayAttributeCollectionMgr : public IUnknown
  1649. {
  1650. public:
  1651. virtual HRESULT STDMETHODCALLTYPE EnumCollections(
  1652. /* [out] */ IEnumTfCollection **ppEnum) = 0;
  1653. };
  1654. #else /* C style interface */
  1655. typedef struct ITfDisplayAttributeCollectionMgrVtbl
  1656. {
  1657. BEGIN_INTERFACE
  1658. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1659. ITfDisplayAttributeCollectionMgr * This,
  1660. /* [in] */ REFIID riid,
  1661. /* [iid_is][out] */ void **ppvObject);
  1662. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1663. ITfDisplayAttributeCollectionMgr * This);
  1664. ULONG ( STDMETHODCALLTYPE *Release )(
  1665. ITfDisplayAttributeCollectionMgr * This);
  1666. HRESULT ( STDMETHODCALLTYPE *EnumCollections )(
  1667. ITfDisplayAttributeCollectionMgr * This,
  1668. /* [out] */ IEnumTfCollection **ppEnum);
  1669. END_INTERFACE
  1670. } ITfDisplayAttributeCollectionMgrVtbl;
  1671. interface ITfDisplayAttributeCollectionMgr
  1672. {
  1673. CONST_VTBL struct ITfDisplayAttributeCollectionMgrVtbl *lpVtbl;
  1674. };
  1675. #ifdef COBJMACROS
  1676. #define ITfDisplayAttributeCollectionMgr_QueryInterface(This,riid,ppvObject) \
  1677. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1678. #define ITfDisplayAttributeCollectionMgr_AddRef(This) \
  1679. (This)->lpVtbl -> AddRef(This)
  1680. #define ITfDisplayAttributeCollectionMgr_Release(This) \
  1681. (This)->lpVtbl -> Release(This)
  1682. #define ITfDisplayAttributeCollectionMgr_EnumCollections(This,ppEnum) \
  1683. (This)->lpVtbl -> EnumCollections(This,ppEnum)
  1684. #endif /* COBJMACROS */
  1685. #endif /* C style interface */
  1686. HRESULT STDMETHODCALLTYPE ITfDisplayAttributeCollectionMgr_EnumCollections_Proxy(
  1687. ITfDisplayAttributeCollectionMgr * This,
  1688. /* [out] */ IEnumTfCollection **ppEnum);
  1689. void __RPC_STUB ITfDisplayAttributeCollectionMgr_EnumCollections_Stub(
  1690. IRpcStubBuffer *This,
  1691. IRpcChannelBuffer *_pRpcChannelBuffer,
  1692. PRPC_MESSAGE _pRpcMessage,
  1693. DWORD *_pdwStubPhase);
  1694. #endif /* __ITfDisplayAttributeCollectionMgr_INTERFACE_DEFINED__ */
  1695. #ifndef __ITfDisplayAttributeCollectionProvider_INTERFACE_DEFINED__
  1696. #define __ITfDisplayAttributeCollectionProvider_INTERFACE_DEFINED__
  1697. /* interface ITfDisplayAttributeCollectionProvider */
  1698. /* [unique][uuid][object] */
  1699. EXTERN_C const IID IID_ITfDisplayAttributeCollectionProvider;
  1700. #if defined(__cplusplus) && !defined(CINTERFACE)
  1701. MIDL_INTERFACE("3977526d-1a0a-435a-8d06-ecc9516b484f")
  1702. ITfDisplayAttributeCollectionProvider : public IUnknown
  1703. {
  1704. public:
  1705. virtual HRESULT STDMETHODCALLTYPE GetCollectionCount(
  1706. /* [out] */ ULONG *puCount) = 0;
  1707. virtual HRESULT STDMETHODCALLTYPE GetCollection(
  1708. /* [in] */ ULONG uCount,
  1709. /* [length_is][size_is][out] */ TF_DA_PROPERTY *prgProperty,
  1710. /* [out] */ ULONG *pcGUIDsOut) = 0;
  1711. };
  1712. #else /* C style interface */
  1713. typedef struct ITfDisplayAttributeCollectionProviderVtbl
  1714. {
  1715. BEGIN_INTERFACE
  1716. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1717. ITfDisplayAttributeCollectionProvider * This,
  1718. /* [in] */ REFIID riid,
  1719. /* [iid_is][out] */ void **ppvObject);
  1720. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1721. ITfDisplayAttributeCollectionProvider * This);
  1722. ULONG ( STDMETHODCALLTYPE *Release )(
  1723. ITfDisplayAttributeCollectionProvider * This);
  1724. HRESULT ( STDMETHODCALLTYPE *GetCollectionCount )(
  1725. ITfDisplayAttributeCollectionProvider * This,
  1726. /* [out] */ ULONG *puCount);
  1727. HRESULT ( STDMETHODCALLTYPE *GetCollection )(
  1728. ITfDisplayAttributeCollectionProvider * This,
  1729. /* [in] */ ULONG uCount,
  1730. /* [length_is][size_is][out] */ TF_DA_PROPERTY *prgProperty,
  1731. /* [out] */ ULONG *pcGUIDsOut);
  1732. END_INTERFACE
  1733. } ITfDisplayAttributeCollectionProviderVtbl;
  1734. interface ITfDisplayAttributeCollectionProvider
  1735. {
  1736. CONST_VTBL struct ITfDisplayAttributeCollectionProviderVtbl *lpVtbl;
  1737. };
  1738. #ifdef COBJMACROS
  1739. #define ITfDisplayAttributeCollectionProvider_QueryInterface(This,riid,ppvObject) \
  1740. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1741. #define ITfDisplayAttributeCollectionProvider_AddRef(This) \
  1742. (This)->lpVtbl -> AddRef(This)
  1743. #define ITfDisplayAttributeCollectionProvider_Release(This) \
  1744. (This)->lpVtbl -> Release(This)
  1745. #define ITfDisplayAttributeCollectionProvider_GetCollectionCount(This,puCount) \
  1746. (This)->lpVtbl -> GetCollectionCount(This,puCount)
  1747. #define ITfDisplayAttributeCollectionProvider_GetCollection(This,uCount,prgProperty,pcGUIDsOut) \
  1748. (This)->lpVtbl -> GetCollection(This,uCount,prgProperty,pcGUIDsOut)
  1749. #endif /* COBJMACROS */
  1750. #endif /* C style interface */
  1751. HRESULT STDMETHODCALLTYPE ITfDisplayAttributeCollectionProvider_GetCollectionCount_Proxy(
  1752. ITfDisplayAttributeCollectionProvider * This,
  1753. /* [out] */ ULONG *puCount);
  1754. void __RPC_STUB ITfDisplayAttributeCollectionProvider_GetCollectionCount_Stub(
  1755. IRpcStubBuffer *This,
  1756. IRpcChannelBuffer *_pRpcChannelBuffer,
  1757. PRPC_MESSAGE _pRpcMessage,
  1758. DWORD *_pdwStubPhase);
  1759. HRESULT STDMETHODCALLTYPE ITfDisplayAttributeCollectionProvider_GetCollection_Proxy(
  1760. ITfDisplayAttributeCollectionProvider * This,
  1761. /* [in] */ ULONG uCount,
  1762. /* [length_is][size_is][out] */ TF_DA_PROPERTY *prgProperty,
  1763. /* [out] */ ULONG *pcGUIDsOut);
  1764. void __RPC_STUB ITfDisplayAttributeCollectionProvider_GetCollection_Stub(
  1765. IRpcStubBuffer *This,
  1766. IRpcChannelBuffer *_pRpcChannelBuffer,
  1767. PRPC_MESSAGE _pRpcMessage,
  1768. DWORD *_pdwStubPhase);
  1769. #endif /* __ITfDisplayAttributeCollectionProvider_INTERFACE_DEFINED__ */
  1770. /* interface __MIDL_itf_msctfp_0228 */
  1771. /* [local] */
  1772. typedef /* [public][public][public] */ struct __MIDL___MIDL_itf_msctfp_0228_0001
  1773. {
  1774. ITfRange *pRange;
  1775. TF_DISPLAYATTRIBUTE tfDisplayAttr;
  1776. } TF_RENDERINGMARKUP;
  1777. extern RPC_IF_HANDLE __MIDL_itf_msctfp_0228_v0_0_c_ifspec;
  1778. extern RPC_IF_HANDLE __MIDL_itf_msctfp_0228_v0_0_s_ifspec;
  1779. #ifndef __IEnumTfRenderingMarkup_INTERFACE_DEFINED__
  1780. #define __IEnumTfRenderingMarkup_INTERFACE_DEFINED__
  1781. /* interface IEnumTfRenderingMarkup */
  1782. /* [unique][uuid][object] */
  1783. EXTERN_C const IID IID_IEnumTfRenderingMarkup;
  1784. #if defined(__cplusplus) && !defined(CINTERFACE)
  1785. MIDL_INTERFACE("8c03d21b-95a7-4ba0-ae1b-7fce12a72930")
  1786. IEnumTfRenderingMarkup : public IUnknown
  1787. {
  1788. public:
  1789. virtual HRESULT STDMETHODCALLTYPE Clone(
  1790. /* [out] */ IEnumTfRenderingMarkup **ppClone) = 0;
  1791. virtual HRESULT STDMETHODCALLTYPE Next(
  1792. /* [in] */ ULONG ulCount,
  1793. /* [length_is][size_is][out] */ TF_RENDERINGMARKUP *rgMarkup,
  1794. /* [out] */ ULONG *pcFetched) = 0;
  1795. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1796. virtual HRESULT STDMETHODCALLTYPE Skip(
  1797. /* [in] */ ULONG ulCount) = 0;
  1798. };
  1799. #else /* C style interface */
  1800. typedef struct IEnumTfRenderingMarkupVtbl
  1801. {
  1802. BEGIN_INTERFACE
  1803. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1804. IEnumTfRenderingMarkup * This,
  1805. /* [in] */ REFIID riid,
  1806. /* [iid_is][out] */ void **ppvObject);
  1807. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1808. IEnumTfRenderingMarkup * This);
  1809. ULONG ( STDMETHODCALLTYPE *Release )(
  1810. IEnumTfRenderingMarkup * This);
  1811. HRESULT ( STDMETHODCALLTYPE *Clone )(
  1812. IEnumTfRenderingMarkup * This,
  1813. /* [out] */ IEnumTfRenderingMarkup **ppClone);
  1814. HRESULT ( STDMETHODCALLTYPE *Next )(
  1815. IEnumTfRenderingMarkup * This,
  1816. /* [in] */ ULONG ulCount,
  1817. /* [length_is][size_is][out] */ TF_RENDERINGMARKUP *rgMarkup,
  1818. /* [out] */ ULONG *pcFetched);
  1819. HRESULT ( STDMETHODCALLTYPE *Reset )(
  1820. IEnumTfRenderingMarkup * This);
  1821. HRESULT ( STDMETHODCALLTYPE *Skip )(
  1822. IEnumTfRenderingMarkup * This,
  1823. /* [in] */ ULONG ulCount);
  1824. END_INTERFACE
  1825. } IEnumTfRenderingMarkupVtbl;
  1826. interface IEnumTfRenderingMarkup
  1827. {
  1828. CONST_VTBL struct IEnumTfRenderingMarkupVtbl *lpVtbl;
  1829. };
  1830. #ifdef COBJMACROS
  1831. #define IEnumTfRenderingMarkup_QueryInterface(This,riid,ppvObject) \
  1832. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1833. #define IEnumTfRenderingMarkup_AddRef(This) \
  1834. (This)->lpVtbl -> AddRef(This)
  1835. #define IEnumTfRenderingMarkup_Release(This) \
  1836. (This)->lpVtbl -> Release(This)
  1837. #define IEnumTfRenderingMarkup_Clone(This,ppClone) \
  1838. (This)->lpVtbl -> Clone(This,ppClone)
  1839. #define IEnumTfRenderingMarkup_Next(This,ulCount,rgMarkup,pcFetched) \
  1840. (This)->lpVtbl -> Next(This,ulCount,rgMarkup,pcFetched)
  1841. #define IEnumTfRenderingMarkup_Reset(This) \
  1842. (This)->lpVtbl -> Reset(This)
  1843. #define IEnumTfRenderingMarkup_Skip(This,ulCount) \
  1844. (This)->lpVtbl -> Skip(This,ulCount)
  1845. #endif /* COBJMACROS */
  1846. #endif /* C style interface */
  1847. HRESULT STDMETHODCALLTYPE IEnumTfRenderingMarkup_Clone_Proxy(
  1848. IEnumTfRenderingMarkup * This,
  1849. /* [out] */ IEnumTfRenderingMarkup **ppClone);
  1850. void __RPC_STUB IEnumTfRenderingMarkup_Clone_Stub(
  1851. IRpcStubBuffer *This,
  1852. IRpcChannelBuffer *_pRpcChannelBuffer,
  1853. PRPC_MESSAGE _pRpcMessage,
  1854. DWORD *_pdwStubPhase);
  1855. HRESULT STDMETHODCALLTYPE IEnumTfRenderingMarkup_Next_Proxy(
  1856. IEnumTfRenderingMarkup * This,
  1857. /* [in] */ ULONG ulCount,
  1858. /* [length_is][size_is][out] */ TF_RENDERINGMARKUP *rgMarkup,
  1859. /* [out] */ ULONG *pcFetched);
  1860. void __RPC_STUB IEnumTfRenderingMarkup_Next_Stub(
  1861. IRpcStubBuffer *This,
  1862. IRpcChannelBuffer *_pRpcChannelBuffer,
  1863. PRPC_MESSAGE _pRpcMessage,
  1864. DWORD *_pdwStubPhase);
  1865. HRESULT STDMETHODCALLTYPE IEnumTfRenderingMarkup_Reset_Proxy(
  1866. IEnumTfRenderingMarkup * This);
  1867. void __RPC_STUB IEnumTfRenderingMarkup_Reset_Stub(
  1868. IRpcStubBuffer *This,
  1869. IRpcChannelBuffer *_pRpcChannelBuffer,
  1870. PRPC_MESSAGE _pRpcMessage,
  1871. DWORD *_pdwStubPhase);
  1872. HRESULT STDMETHODCALLTYPE IEnumTfRenderingMarkup_Skip_Proxy(
  1873. IEnumTfRenderingMarkup * This,
  1874. /* [in] */ ULONG ulCount);
  1875. void __RPC_STUB IEnumTfRenderingMarkup_Skip_Stub(
  1876. IRpcStubBuffer *This,
  1877. IRpcChannelBuffer *_pRpcChannelBuffer,
  1878. PRPC_MESSAGE _pRpcMessage,
  1879. DWORD *_pdwStubPhase);
  1880. #endif /* __IEnumTfRenderingMarkup_INTERFACE_DEFINED__ */
  1881. #ifndef __ITfContextRenderingMarkup_INTERFACE_DEFINED__
  1882. #define __ITfContextRenderingMarkup_INTERFACE_DEFINED__
  1883. /* interface ITfContextRenderingMarkup */
  1884. /* [unique][uuid][object] */
  1885. #define TF_GRM_INCLUDE_PROPERTY ( 0x1 )
  1886. #define TF_FRM_INCLUDE_PROPERTY ( 0x1 )
  1887. #define TF_FRM_BACKWARD ( 0x2 )
  1888. #define TF_FRM_NO_CONTAINED ( 0x4 )
  1889. #define TF_FRM_NO_RANGE ( 0x8 )
  1890. EXTERN_C const IID IID_ITfContextRenderingMarkup;
  1891. #if defined(__cplusplus) && !defined(CINTERFACE)
  1892. MIDL_INTERFACE("a305b1c0-c776-4523-bda0-7c5a2e0fef10")
  1893. ITfContextRenderingMarkup : public IUnknown
  1894. {
  1895. public:
  1896. virtual HRESULT STDMETHODCALLTYPE GetRenderingMarkup(
  1897. /* [in] */ TfEditCookie ec,
  1898. /* [in] */ DWORD dwFlags,
  1899. /* [in] */ ITfRange *pRangeCover,
  1900. /* [out] */ IEnumTfRenderingMarkup **ppEnum) = 0;
  1901. virtual HRESULT STDMETHODCALLTYPE FindNextRenderingMarkup(
  1902. /* [in] */ TfEditCookie ec,
  1903. /* [in] */ DWORD dwFlags,
  1904. /* [in] */ ITfRange *pRangeQuery,
  1905. /* [in] */ TfAnchor tfAnchorQuery,
  1906. /* [out] */ ITfRange **ppRangeFound,
  1907. /* [out] */ TF_RENDERINGMARKUP *ptfRenderingMarkup) = 0;
  1908. };
  1909. #else /* C style interface */
  1910. typedef struct ITfContextRenderingMarkupVtbl
  1911. {
  1912. BEGIN_INTERFACE
  1913. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1914. ITfContextRenderingMarkup * This,
  1915. /* [in] */ REFIID riid,
  1916. /* [iid_is][out] */ void **ppvObject);
  1917. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1918. ITfContextRenderingMarkup * This);
  1919. ULONG ( STDMETHODCALLTYPE *Release )(
  1920. ITfContextRenderingMarkup * This);
  1921. HRESULT ( STDMETHODCALLTYPE *GetRenderingMarkup )(
  1922. ITfContextRenderingMarkup * This,
  1923. /* [in] */ TfEditCookie ec,
  1924. /* [in] */ DWORD dwFlags,
  1925. /* [in] */ ITfRange *pRangeCover,
  1926. /* [out] */ IEnumTfRenderingMarkup **ppEnum);
  1927. HRESULT ( STDMETHODCALLTYPE *FindNextRenderingMarkup )(
  1928. ITfContextRenderingMarkup * This,
  1929. /* [in] */ TfEditCookie ec,
  1930. /* [in] */ DWORD dwFlags,
  1931. /* [in] */ ITfRange *pRangeQuery,
  1932. /* [in] */ TfAnchor tfAnchorQuery,
  1933. /* [out] */ ITfRange **ppRangeFound,
  1934. /* [out] */ TF_RENDERINGMARKUP *ptfRenderingMarkup);
  1935. END_INTERFACE
  1936. } ITfContextRenderingMarkupVtbl;
  1937. interface ITfContextRenderingMarkup
  1938. {
  1939. CONST_VTBL struct ITfContextRenderingMarkupVtbl *lpVtbl;
  1940. };
  1941. #ifdef COBJMACROS
  1942. #define ITfContextRenderingMarkup_QueryInterface(This,riid,ppvObject) \
  1943. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1944. #define ITfContextRenderingMarkup_AddRef(This) \
  1945. (This)->lpVtbl -> AddRef(This)
  1946. #define ITfContextRenderingMarkup_Release(This) \
  1947. (This)->lpVtbl -> Release(This)
  1948. #define ITfContextRenderingMarkup_GetRenderingMarkup(This,ec,dwFlags,pRangeCover,ppEnum) \
  1949. (This)->lpVtbl -> GetRenderingMarkup(This,ec,dwFlags,pRangeCover,ppEnum)
  1950. #define ITfContextRenderingMarkup_FindNextRenderingMarkup(This,ec,dwFlags,pRangeQuery,tfAnchorQuery,ppRangeFound,ptfRenderingMarkup) \
  1951. (This)->lpVtbl -> FindNextRenderingMarkup(This,ec,dwFlags,pRangeQuery,tfAnchorQuery,ppRangeFound,ptfRenderingMarkup)
  1952. #endif /* COBJMACROS */
  1953. #endif /* C style interface */
  1954. HRESULT STDMETHODCALLTYPE ITfContextRenderingMarkup_GetRenderingMarkup_Proxy(
  1955. ITfContextRenderingMarkup * This,
  1956. /* [in] */ TfEditCookie ec,
  1957. /* [in] */ DWORD dwFlags,
  1958. /* [in] */ ITfRange *pRangeCover,
  1959. /* [out] */ IEnumTfRenderingMarkup **ppEnum);
  1960. void __RPC_STUB ITfContextRenderingMarkup_GetRenderingMarkup_Stub(
  1961. IRpcStubBuffer *This,
  1962. IRpcChannelBuffer *_pRpcChannelBuffer,
  1963. PRPC_MESSAGE _pRpcMessage,
  1964. DWORD *_pdwStubPhase);
  1965. HRESULT STDMETHODCALLTYPE ITfContextRenderingMarkup_FindNextRenderingMarkup_Proxy(
  1966. ITfContextRenderingMarkup * This,
  1967. /* [in] */ TfEditCookie ec,
  1968. /* [in] */ DWORD dwFlags,
  1969. /* [in] */ ITfRange *pRangeQuery,
  1970. /* [in] */ TfAnchor tfAnchorQuery,
  1971. /* [out] */ ITfRange **ppRangeFound,
  1972. /* [out] */ TF_RENDERINGMARKUP *ptfRenderingMarkup);
  1973. void __RPC_STUB ITfContextRenderingMarkup_FindNextRenderingMarkup_Stub(
  1974. IRpcStubBuffer *This,
  1975. IRpcChannelBuffer *_pRpcChannelBuffer,
  1976. PRPC_MESSAGE _pRpcMessage,
  1977. DWORD *_pdwStubPhase);
  1978. #endif /* __ITfContextRenderingMarkup_INTERFACE_DEFINED__ */
  1979. #ifndef __ITfBackgroundThreadMgr_INTERFACE_DEFINED__
  1980. #define __ITfBackgroundThreadMgr_INTERFACE_DEFINED__
  1981. /* interface ITfBackgroundThreadMgr */
  1982. /* [unique][uuid][local][object] */
  1983. typedef BOOL ( *TfBackgroundThreadCallback )(
  1984. /* [in] */ BOOL fCleanup,
  1985. /* [in] */ void *pvPrivate);
  1986. typedef BOOL ( *TfWakeAppBackgroundThreadProc )( void);
  1987. EXTERN_C const IID IID_ITfBackgroundThreadMgr;
  1988. #if defined(__cplusplus) && !defined(CINTERFACE)
  1989. MIDL_INTERFACE("38462b47-6127-4464-bd2f-46957c31ad0e")
  1990. ITfBackgroundThreadMgr : public IUnknown
  1991. {
  1992. public:
  1993. virtual HRESULT STDMETHODCALLTYPE AppInitBackgroundThread(
  1994. /* [in] */ TfWakeAppBackgroundThreadProc pfnWakeThread,
  1995. /* [out] */ TfBackgroundThreadCallback *ppfnCallback,
  1996. /* [out] */ void **ppvPrivate) = 0;
  1997. virtual HRESULT STDMETHODCALLTYPE AppUninitBackgroundThread( void) = 0;
  1998. virtual HRESULT STDMETHODCALLTYPE AdviseBackgroundCallback(
  1999. /* [in] */ TfBackgroundThreadCallback pfnCallback,
  2000. /* [in] */ void *pvPrivate,
  2001. /* [out] */ DWORD *pdwCookie) = 0;
  2002. virtual HRESULT STDMETHODCALLTYPE UnadviseBackgroundCallback(
  2003. /* [in] */ DWORD dwCookie) = 0;
  2004. virtual HRESULT STDMETHODCALLTYPE WakeBackgroundThread( void) = 0;
  2005. };
  2006. #else /* C style interface */
  2007. typedef struct ITfBackgroundThreadMgrVtbl
  2008. {
  2009. BEGIN_INTERFACE
  2010. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2011. ITfBackgroundThreadMgr * This,
  2012. /* [in] */ REFIID riid,
  2013. /* [iid_is][out] */ void **ppvObject);
  2014. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2015. ITfBackgroundThreadMgr * This);
  2016. ULONG ( STDMETHODCALLTYPE *Release )(
  2017. ITfBackgroundThreadMgr * This);
  2018. HRESULT ( STDMETHODCALLTYPE *AppInitBackgroundThread )(
  2019. ITfBackgroundThreadMgr * This,
  2020. /* [in] */ TfWakeAppBackgroundThreadProc pfnWakeThread,
  2021. /* [out] */ TfBackgroundThreadCallback *ppfnCallback,
  2022. /* [out] */ void **ppvPrivate);
  2023. HRESULT ( STDMETHODCALLTYPE *AppUninitBackgroundThread )(
  2024. ITfBackgroundThreadMgr * This);
  2025. HRESULT ( STDMETHODCALLTYPE *AdviseBackgroundCallback )(
  2026. ITfBackgroundThreadMgr * This,
  2027. /* [in] */ TfBackgroundThreadCallback pfnCallback,
  2028. /* [in] */ void *pvPrivate,
  2029. /* [out] */ DWORD *pdwCookie);
  2030. HRESULT ( STDMETHODCALLTYPE *UnadviseBackgroundCallback )(
  2031. ITfBackgroundThreadMgr * This,
  2032. /* [in] */ DWORD dwCookie);
  2033. HRESULT ( STDMETHODCALLTYPE *WakeBackgroundThread )(
  2034. ITfBackgroundThreadMgr * This);
  2035. END_INTERFACE
  2036. } ITfBackgroundThreadMgrVtbl;
  2037. interface ITfBackgroundThreadMgr
  2038. {
  2039. CONST_VTBL struct ITfBackgroundThreadMgrVtbl *lpVtbl;
  2040. };
  2041. #ifdef COBJMACROS
  2042. #define ITfBackgroundThreadMgr_QueryInterface(This,riid,ppvObject) \
  2043. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2044. #define ITfBackgroundThreadMgr_AddRef(This) \
  2045. (This)->lpVtbl -> AddRef(This)
  2046. #define ITfBackgroundThreadMgr_Release(This) \
  2047. (This)->lpVtbl -> Release(This)
  2048. #define ITfBackgroundThreadMgr_AppInitBackgroundThread(This,pfnWakeThread,ppfnCallback,ppvPrivate) \
  2049. (This)->lpVtbl -> AppInitBackgroundThread(This,pfnWakeThread,ppfnCallback,ppvPrivate)
  2050. #define ITfBackgroundThreadMgr_AppUninitBackgroundThread(This) \
  2051. (This)->lpVtbl -> AppUninitBackgroundThread(This)
  2052. #define ITfBackgroundThreadMgr_AdviseBackgroundCallback(This,pfnCallback,pvPrivate,pdwCookie) \
  2053. (This)->lpVtbl -> AdviseBackgroundCallback(This,pfnCallback,pvPrivate,pdwCookie)
  2054. #define ITfBackgroundThreadMgr_UnadviseBackgroundCallback(This,dwCookie) \
  2055. (This)->lpVtbl -> UnadviseBackgroundCallback(This,dwCookie)
  2056. #define ITfBackgroundThreadMgr_WakeBackgroundThread(This) \
  2057. (This)->lpVtbl -> WakeBackgroundThread(This)
  2058. #endif /* COBJMACROS */
  2059. #endif /* C style interface */
  2060. HRESULT STDMETHODCALLTYPE ITfBackgroundThreadMgr_AppInitBackgroundThread_Proxy(
  2061. ITfBackgroundThreadMgr * This,
  2062. /* [in] */ TfWakeAppBackgroundThreadProc pfnWakeThread,
  2063. /* [out] */ TfBackgroundThreadCallback *ppfnCallback,
  2064. /* [out] */ void **ppvPrivate);
  2065. void __RPC_STUB ITfBackgroundThreadMgr_AppInitBackgroundThread_Stub(
  2066. IRpcStubBuffer *This,
  2067. IRpcChannelBuffer *_pRpcChannelBuffer,
  2068. PRPC_MESSAGE _pRpcMessage,
  2069. DWORD *_pdwStubPhase);
  2070. HRESULT STDMETHODCALLTYPE ITfBackgroundThreadMgr_AppUninitBackgroundThread_Proxy(
  2071. ITfBackgroundThreadMgr * This);
  2072. void __RPC_STUB ITfBackgroundThreadMgr_AppUninitBackgroundThread_Stub(
  2073. IRpcStubBuffer *This,
  2074. IRpcChannelBuffer *_pRpcChannelBuffer,
  2075. PRPC_MESSAGE _pRpcMessage,
  2076. DWORD *_pdwStubPhase);
  2077. HRESULT STDMETHODCALLTYPE ITfBackgroundThreadMgr_AdviseBackgroundCallback_Proxy(
  2078. ITfBackgroundThreadMgr * This,
  2079. /* [in] */ TfBackgroundThreadCallback pfnCallback,
  2080. /* [in] */ void *pvPrivate,
  2081. /* [out] */ DWORD *pdwCookie);
  2082. void __RPC_STUB ITfBackgroundThreadMgr_AdviseBackgroundCallback_Stub(
  2083. IRpcStubBuffer *This,
  2084. IRpcChannelBuffer *_pRpcChannelBuffer,
  2085. PRPC_MESSAGE _pRpcMessage,
  2086. DWORD *_pdwStubPhase);
  2087. HRESULT STDMETHODCALLTYPE ITfBackgroundThreadMgr_UnadviseBackgroundCallback_Proxy(
  2088. ITfBackgroundThreadMgr * This,
  2089. /* [in] */ DWORD dwCookie);
  2090. void __RPC_STUB ITfBackgroundThreadMgr_UnadviseBackgroundCallback_Stub(
  2091. IRpcStubBuffer *This,
  2092. IRpcChannelBuffer *_pRpcChannelBuffer,
  2093. PRPC_MESSAGE _pRpcMessage,
  2094. DWORD *_pdwStubPhase);
  2095. HRESULT STDMETHODCALLTYPE ITfBackgroundThreadMgr_WakeBackgroundThread_Proxy(
  2096. ITfBackgroundThreadMgr * This);
  2097. void __RPC_STUB ITfBackgroundThreadMgr_WakeBackgroundThread_Stub(
  2098. IRpcStubBuffer *This,
  2099. IRpcChannelBuffer *_pRpcChannelBuffer,
  2100. PRPC_MESSAGE _pRpcMessage,
  2101. DWORD *_pdwStubPhase);
  2102. #endif /* __ITfBackgroundThreadMgr_INTERFACE_DEFINED__ */
  2103. #ifndef __ITfEnableService_INTERFACE_DEFINED__
  2104. #define __ITfEnableService_INTERFACE_DEFINED__
  2105. /* interface ITfEnableService */
  2106. /* [unique][uuid][local][object] */
  2107. EXTERN_C const IID IID_ITfEnableService;
  2108. #if defined(__cplusplus) && !defined(CINTERFACE)
  2109. MIDL_INTERFACE("3035d250-43b4-4253-81e6-ea87fd3eed43")
  2110. ITfEnableService : public IUnknown
  2111. {
  2112. public:
  2113. virtual HRESULT STDMETHODCALLTYPE IsEnabled(
  2114. /* [in] */ REFGUID rguidServiceCategory,
  2115. /* [in] */ CLSID clsidService,
  2116. /* [in] */ IUnknown *punkService,
  2117. /* [out] */ BOOL *pfOkToRun) = 0;
  2118. virtual HRESULT STDMETHODCALLTYPE GetId(
  2119. /* [out] */ GUID *pguidId) = 0;
  2120. };
  2121. #else /* C style interface */
  2122. typedef struct ITfEnableServiceVtbl
  2123. {
  2124. BEGIN_INTERFACE
  2125. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2126. ITfEnableService * This,
  2127. /* [in] */ REFIID riid,
  2128. /* [iid_is][out] */ void **ppvObject);
  2129. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2130. ITfEnableService * This);
  2131. ULONG ( STDMETHODCALLTYPE *Release )(
  2132. ITfEnableService * This);
  2133. HRESULT ( STDMETHODCALLTYPE *IsEnabled )(
  2134. ITfEnableService * This,
  2135. /* [in] */ REFGUID rguidServiceCategory,
  2136. /* [in] */ CLSID clsidService,
  2137. /* [in] */ IUnknown *punkService,
  2138. /* [out] */ BOOL *pfOkToRun);
  2139. HRESULT ( STDMETHODCALLTYPE *GetId )(
  2140. ITfEnableService * This,
  2141. /* [out] */ GUID *pguidId);
  2142. END_INTERFACE
  2143. } ITfEnableServiceVtbl;
  2144. interface ITfEnableService
  2145. {
  2146. CONST_VTBL struct ITfEnableServiceVtbl *lpVtbl;
  2147. };
  2148. #ifdef COBJMACROS
  2149. #define ITfEnableService_QueryInterface(This,riid,ppvObject) \
  2150. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2151. #define ITfEnableService_AddRef(This) \
  2152. (This)->lpVtbl -> AddRef(This)
  2153. #define ITfEnableService_Release(This) \
  2154. (This)->lpVtbl -> Release(This)
  2155. #define ITfEnableService_IsEnabled(This,rguidServiceCategory,clsidService,punkService,pfOkToRun) \
  2156. (This)->lpVtbl -> IsEnabled(This,rguidServiceCategory,clsidService,punkService,pfOkToRun)
  2157. #define ITfEnableService_GetId(This,pguidId) \
  2158. (This)->lpVtbl -> GetId(This,pguidId)
  2159. #endif /* COBJMACROS */
  2160. #endif /* C style interface */
  2161. HRESULT STDMETHODCALLTYPE ITfEnableService_IsEnabled_Proxy(
  2162. ITfEnableService * This,
  2163. /* [in] */ REFGUID rguidServiceCategory,
  2164. /* [in] */ CLSID clsidService,
  2165. /* [in] */ IUnknown *punkService,
  2166. /* [out] */ BOOL *pfOkToRun);
  2167. void __RPC_STUB ITfEnableService_IsEnabled_Stub(
  2168. IRpcStubBuffer *This,
  2169. IRpcChannelBuffer *_pRpcChannelBuffer,
  2170. PRPC_MESSAGE _pRpcMessage,
  2171. DWORD *_pdwStubPhase);
  2172. HRESULT STDMETHODCALLTYPE ITfEnableService_GetId_Proxy(
  2173. ITfEnableService * This,
  2174. /* [out] */ GUID *pguidId);
  2175. void __RPC_STUB ITfEnableService_GetId_Stub(
  2176. IRpcStubBuffer *This,
  2177. IRpcChannelBuffer *_pRpcChannelBuffer,
  2178. PRPC_MESSAGE _pRpcMessage,
  2179. DWORD *_pdwStubPhase);
  2180. #endif /* __ITfEnableService_INTERFACE_DEFINED__ */
  2181. /* interface __MIDL_itf_msctfp_0232 */
  2182. /* [local] */
  2183. EXTERN_C const GUID GUID_COMPARTMENT_ENABLESTATE;
  2184. #endif // MSCTFP_DEFINED
  2185. extern RPC_IF_HANDLE __MIDL_itf_msctfp_0232_v0_0_c_ifspec;
  2186. extern RPC_IF_HANDLE __MIDL_itf_msctfp_0232_v0_0_s_ifspec;
  2187. /* Additional Prototypes for ALL interfaces */
  2188. unsigned long __RPC_USER HWND_UserSize( unsigned long *, unsigned long , HWND * );
  2189. unsigned char * __RPC_USER HWND_UserMarshal( unsigned long *, unsigned char *, HWND * );
  2190. unsigned char * __RPC_USER HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND * );
  2191. void __RPC_USER HWND_UserFree( unsigned long *, HWND * );
  2192. /* end of Additional Prototypes */
  2193. #ifdef __cplusplus
  2194. }
  2195. #endif
  2196. #endif