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

2699 lines
71 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0345 */
  4. /* Compiler settings for ctffunc.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __ctffunc_h__
  27. #define __ctffunc_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ITfCandidateString_FWD_DEFINED__
  33. #define __ITfCandidateString_FWD_DEFINED__
  34. typedef interface ITfCandidateString ITfCandidateString;
  35. #endif /* __ITfCandidateString_FWD_DEFINED__ */
  36. #ifndef __IEnumTfCandidates_FWD_DEFINED__
  37. #define __IEnumTfCandidates_FWD_DEFINED__
  38. typedef interface IEnumTfCandidates IEnumTfCandidates;
  39. #endif /* __IEnumTfCandidates_FWD_DEFINED__ */
  40. #ifndef __ITfCandidateList_FWD_DEFINED__
  41. #define __ITfCandidateList_FWD_DEFINED__
  42. typedef interface ITfCandidateList ITfCandidateList;
  43. #endif /* __ITfCandidateList_FWD_DEFINED__ */
  44. #ifndef __ITfFnReconversion_FWD_DEFINED__
  45. #define __ITfFnReconversion_FWD_DEFINED__
  46. typedef interface ITfFnReconversion ITfFnReconversion;
  47. #endif /* __ITfFnReconversion_FWD_DEFINED__ */
  48. #ifndef __ITfFnAbort_FWD_DEFINED__
  49. #define __ITfFnAbort_FWD_DEFINED__
  50. typedef interface ITfFnAbort ITfFnAbort;
  51. #endif /* __ITfFnAbort_FWD_DEFINED__ */
  52. #ifndef __ITfFnPlayBack_FWD_DEFINED__
  53. #define __ITfFnPlayBack_FWD_DEFINED__
  54. typedef interface ITfFnPlayBack ITfFnPlayBack;
  55. #endif /* __ITfFnPlayBack_FWD_DEFINED__ */
  56. #ifndef __ITfFnLangProfileUtil_FWD_DEFINED__
  57. #define __ITfFnLangProfileUtil_FWD_DEFINED__
  58. typedef interface ITfFnLangProfileUtil ITfFnLangProfileUtil;
  59. #endif /* __ITfFnLangProfileUtil_FWD_DEFINED__ */
  60. #ifndef __ITfFnConfigure_FWD_DEFINED__
  61. #define __ITfFnConfigure_FWD_DEFINED__
  62. typedef interface ITfFnConfigure ITfFnConfigure;
  63. #endif /* __ITfFnConfigure_FWD_DEFINED__ */
  64. #ifndef __ITfFnConfigureRegisterWord_FWD_DEFINED__
  65. #define __ITfFnConfigureRegisterWord_FWD_DEFINED__
  66. typedef interface ITfFnConfigureRegisterWord ITfFnConfigureRegisterWord;
  67. #endif /* __ITfFnConfigureRegisterWord_FWD_DEFINED__ */
  68. #ifndef __ITfFnShowHelp_FWD_DEFINED__
  69. #define __ITfFnShowHelp_FWD_DEFINED__
  70. typedef interface ITfFnShowHelp ITfFnShowHelp;
  71. #endif /* __ITfFnShowHelp_FWD_DEFINED__ */
  72. #ifndef __ITfFnBalloon_FWD_DEFINED__
  73. #define __ITfFnBalloon_FWD_DEFINED__
  74. typedef interface ITfFnBalloon ITfFnBalloon;
  75. #endif /* __ITfFnBalloon_FWD_DEFINED__ */
  76. #ifndef __ITfFnGetSAPIObject_FWD_DEFINED__
  77. #define __ITfFnGetSAPIObject_FWD_DEFINED__
  78. typedef interface ITfFnGetSAPIObject ITfFnGetSAPIObject;
  79. #endif /* __ITfFnGetSAPIObject_FWD_DEFINED__ */
  80. #ifndef __ITfFnPropertyUIStatus_FWD_DEFINED__
  81. #define __ITfFnPropertyUIStatus_FWD_DEFINED__
  82. typedef interface ITfFnPropertyUIStatus ITfFnPropertyUIStatus;
  83. #endif /* __ITfFnPropertyUIStatus_FWD_DEFINED__ */
  84. #ifndef __ITfFnLMProcessor_FWD_DEFINED__
  85. #define __ITfFnLMProcessor_FWD_DEFINED__
  86. typedef interface ITfFnLMProcessor ITfFnLMProcessor;
  87. #endif /* __ITfFnLMProcessor_FWD_DEFINED__ */
  88. #ifndef __ITfFnLMInternal_FWD_DEFINED__
  89. #define __ITfFnLMInternal_FWD_DEFINED__
  90. typedef interface ITfFnLMInternal ITfFnLMInternal;
  91. #endif /* __ITfFnLMInternal_FWD_DEFINED__ */
  92. #ifndef __IEnumTfLatticeElements_FWD_DEFINED__
  93. #define __IEnumTfLatticeElements_FWD_DEFINED__
  94. typedef interface IEnumTfLatticeElements IEnumTfLatticeElements;
  95. #endif /* __IEnumTfLatticeElements_FWD_DEFINED__ */
  96. #ifndef __ITfLMLattice_FWD_DEFINED__
  97. #define __ITfLMLattice_FWD_DEFINED__
  98. typedef interface ITfLMLattice ITfLMLattice;
  99. #endif /* __ITfLMLattice_FWD_DEFINED__ */
  100. #ifndef __ITfFnAdviseText_FWD_DEFINED__
  101. #define __ITfFnAdviseText_FWD_DEFINED__
  102. typedef interface ITfFnAdviseText ITfFnAdviseText;
  103. #endif /* __ITfFnAdviseText_FWD_DEFINED__ */
  104. /* header files for imported files */
  105. #include "oaidl.h"
  106. #include "msctf.h"
  107. #ifdef __cplusplus
  108. extern "C"{
  109. #endif
  110. void * __RPC_USER MIDL_user_allocate(size_t);
  111. void __RPC_USER MIDL_user_free( void * );
  112. /* interface __MIDL_itf_ctffunc_0000 */
  113. /* [local] */
  114. //=--------------------------------------------------------------------------=
  115. // ctffunc.h
  116. // CTF Function interfaces.
  117. //=--------------------------------------------------------------------------=
  118. // (C) Copyright 1995-1999 Microsoft Corporation. All Rights Reserved.
  119. //
  120. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  121. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  122. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  123. // PARTICULAR PURPOSE.
  124. //=--------------------------------------------------------------------------=
  125. #ifndef CTFFUNC_DEFINED
  126. #define CTFFUNC_DEFINED
  127. #include <windows.h>
  128. #ifdef __cplusplus
  129. extern "C" {
  130. #endif /* __cplusplus */
  131. #ifdef __cplusplus
  132. }
  133. #endif /* __cplusplus */
  134. #define TF_E_NOCONVERSION MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0600)
  135. EXTERN_C const CLSID CLSID_SapiLayr;
  136. extern RPC_IF_HANDLE __MIDL_itf_ctffunc_0000_v0_0_c_ifspec;
  137. extern RPC_IF_HANDLE __MIDL_itf_ctffunc_0000_v0_0_s_ifspec;
  138. #ifndef __ITfCandidateString_INTERFACE_DEFINED__
  139. #define __ITfCandidateString_INTERFACE_DEFINED__
  140. /* interface ITfCandidateString */
  141. /* [unique][uuid][object] */
  142. EXTERN_C const IID IID_ITfCandidateString;
  143. #if defined(__cplusplus) && !defined(CINTERFACE)
  144. MIDL_INTERFACE("581f317e-fd9d-443f-b972-ed00467c5d40")
  145. ITfCandidateString : public IUnknown
  146. {
  147. public:
  148. virtual HRESULT STDMETHODCALLTYPE GetString(
  149. /* [out] */ BSTR *pbstr) = 0;
  150. virtual HRESULT STDMETHODCALLTYPE GetIndex(
  151. /* [out] */ ULONG *pnIndex) = 0;
  152. };
  153. #else /* C style interface */
  154. typedef struct ITfCandidateStringVtbl
  155. {
  156. BEGIN_INTERFACE
  157. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  158. ITfCandidateString * This,
  159. /* [in] */ REFIID riid,
  160. /* [iid_is][out] */ void **ppvObject);
  161. ULONG ( STDMETHODCALLTYPE *AddRef )(
  162. ITfCandidateString * This);
  163. ULONG ( STDMETHODCALLTYPE *Release )(
  164. ITfCandidateString * This);
  165. HRESULT ( STDMETHODCALLTYPE *GetString )(
  166. ITfCandidateString * This,
  167. /* [out] */ BSTR *pbstr);
  168. HRESULT ( STDMETHODCALLTYPE *GetIndex )(
  169. ITfCandidateString * This,
  170. /* [out] */ ULONG *pnIndex);
  171. END_INTERFACE
  172. } ITfCandidateStringVtbl;
  173. interface ITfCandidateString
  174. {
  175. CONST_VTBL struct ITfCandidateStringVtbl *lpVtbl;
  176. };
  177. #ifdef COBJMACROS
  178. #define ITfCandidateString_QueryInterface(This,riid,ppvObject) \
  179. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  180. #define ITfCandidateString_AddRef(This) \
  181. (This)->lpVtbl -> AddRef(This)
  182. #define ITfCandidateString_Release(This) \
  183. (This)->lpVtbl -> Release(This)
  184. #define ITfCandidateString_GetString(This,pbstr) \
  185. (This)->lpVtbl -> GetString(This,pbstr)
  186. #define ITfCandidateString_GetIndex(This,pnIndex) \
  187. (This)->lpVtbl -> GetIndex(This,pnIndex)
  188. #endif /* COBJMACROS */
  189. #endif /* C style interface */
  190. HRESULT STDMETHODCALLTYPE ITfCandidateString_GetString_Proxy(
  191. ITfCandidateString * This,
  192. /* [out] */ BSTR *pbstr);
  193. void __RPC_STUB ITfCandidateString_GetString_Stub(
  194. IRpcStubBuffer *This,
  195. IRpcChannelBuffer *_pRpcChannelBuffer,
  196. PRPC_MESSAGE _pRpcMessage,
  197. DWORD *_pdwStubPhase);
  198. HRESULT STDMETHODCALLTYPE ITfCandidateString_GetIndex_Proxy(
  199. ITfCandidateString * This,
  200. /* [out] */ ULONG *pnIndex);
  201. void __RPC_STUB ITfCandidateString_GetIndex_Stub(
  202. IRpcStubBuffer *This,
  203. IRpcChannelBuffer *_pRpcChannelBuffer,
  204. PRPC_MESSAGE _pRpcMessage,
  205. DWORD *_pdwStubPhase);
  206. #endif /* __ITfCandidateString_INTERFACE_DEFINED__ */
  207. #ifndef __IEnumTfCandidates_INTERFACE_DEFINED__
  208. #define __IEnumTfCandidates_INTERFACE_DEFINED__
  209. /* interface IEnumTfCandidates */
  210. /* [unique][uuid][object] */
  211. EXTERN_C const IID IID_IEnumTfCandidates;
  212. #if defined(__cplusplus) && !defined(CINTERFACE)
  213. MIDL_INTERFACE("defb1926-6c80-4ce8-87d4-d6b72b812bde")
  214. IEnumTfCandidates : public IUnknown
  215. {
  216. public:
  217. virtual HRESULT STDMETHODCALLTYPE Clone(
  218. /* [out] */ IEnumTfCandidates **ppEnum) = 0;
  219. virtual HRESULT STDMETHODCALLTYPE Next(
  220. /* [in] */ ULONG ulCount,
  221. /* [length_is][size_is][out] */ ITfCandidateString **ppCand,
  222. /* [out] */ ULONG *pcFetched) = 0;
  223. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  224. virtual HRESULT STDMETHODCALLTYPE Skip(
  225. /* [in] */ ULONG ulCount) = 0;
  226. };
  227. #else /* C style interface */
  228. typedef struct IEnumTfCandidatesVtbl
  229. {
  230. BEGIN_INTERFACE
  231. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  232. IEnumTfCandidates * This,
  233. /* [in] */ REFIID riid,
  234. /* [iid_is][out] */ void **ppvObject);
  235. ULONG ( STDMETHODCALLTYPE *AddRef )(
  236. IEnumTfCandidates * This);
  237. ULONG ( STDMETHODCALLTYPE *Release )(
  238. IEnumTfCandidates * This);
  239. HRESULT ( STDMETHODCALLTYPE *Clone )(
  240. IEnumTfCandidates * This,
  241. /* [out] */ IEnumTfCandidates **ppEnum);
  242. HRESULT ( STDMETHODCALLTYPE *Next )(
  243. IEnumTfCandidates * This,
  244. /* [in] */ ULONG ulCount,
  245. /* [length_is][size_is][out] */ ITfCandidateString **ppCand,
  246. /* [out] */ ULONG *pcFetched);
  247. HRESULT ( STDMETHODCALLTYPE *Reset )(
  248. IEnumTfCandidates * This);
  249. HRESULT ( STDMETHODCALLTYPE *Skip )(
  250. IEnumTfCandidates * This,
  251. /* [in] */ ULONG ulCount);
  252. END_INTERFACE
  253. } IEnumTfCandidatesVtbl;
  254. interface IEnumTfCandidates
  255. {
  256. CONST_VTBL struct IEnumTfCandidatesVtbl *lpVtbl;
  257. };
  258. #ifdef COBJMACROS
  259. #define IEnumTfCandidates_QueryInterface(This,riid,ppvObject) \
  260. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  261. #define IEnumTfCandidates_AddRef(This) \
  262. (This)->lpVtbl -> AddRef(This)
  263. #define IEnumTfCandidates_Release(This) \
  264. (This)->lpVtbl -> Release(This)
  265. #define IEnumTfCandidates_Clone(This,ppEnum) \
  266. (This)->lpVtbl -> Clone(This,ppEnum)
  267. #define IEnumTfCandidates_Next(This,ulCount,ppCand,pcFetched) \
  268. (This)->lpVtbl -> Next(This,ulCount,ppCand,pcFetched)
  269. #define IEnumTfCandidates_Reset(This) \
  270. (This)->lpVtbl -> Reset(This)
  271. #define IEnumTfCandidates_Skip(This,ulCount) \
  272. (This)->lpVtbl -> Skip(This,ulCount)
  273. #endif /* COBJMACROS */
  274. #endif /* C style interface */
  275. HRESULT STDMETHODCALLTYPE IEnumTfCandidates_Clone_Proxy(
  276. IEnumTfCandidates * This,
  277. /* [out] */ IEnumTfCandidates **ppEnum);
  278. void __RPC_STUB IEnumTfCandidates_Clone_Stub(
  279. IRpcStubBuffer *This,
  280. IRpcChannelBuffer *_pRpcChannelBuffer,
  281. PRPC_MESSAGE _pRpcMessage,
  282. DWORD *_pdwStubPhase);
  283. HRESULT STDMETHODCALLTYPE IEnumTfCandidates_Next_Proxy(
  284. IEnumTfCandidates * This,
  285. /* [in] */ ULONG ulCount,
  286. /* [length_is][size_is][out] */ ITfCandidateString **ppCand,
  287. /* [out] */ ULONG *pcFetched);
  288. void __RPC_STUB IEnumTfCandidates_Next_Stub(
  289. IRpcStubBuffer *This,
  290. IRpcChannelBuffer *_pRpcChannelBuffer,
  291. PRPC_MESSAGE _pRpcMessage,
  292. DWORD *_pdwStubPhase);
  293. HRESULT STDMETHODCALLTYPE IEnumTfCandidates_Reset_Proxy(
  294. IEnumTfCandidates * This);
  295. void __RPC_STUB IEnumTfCandidates_Reset_Stub(
  296. IRpcStubBuffer *This,
  297. IRpcChannelBuffer *_pRpcChannelBuffer,
  298. PRPC_MESSAGE _pRpcMessage,
  299. DWORD *_pdwStubPhase);
  300. HRESULT STDMETHODCALLTYPE IEnumTfCandidates_Skip_Proxy(
  301. IEnumTfCandidates * This,
  302. /* [in] */ ULONG ulCount);
  303. void __RPC_STUB IEnumTfCandidates_Skip_Stub(
  304. IRpcStubBuffer *This,
  305. IRpcChannelBuffer *_pRpcChannelBuffer,
  306. PRPC_MESSAGE _pRpcMessage,
  307. DWORD *_pdwStubPhase);
  308. #endif /* __IEnumTfCandidates_INTERFACE_DEFINED__ */
  309. #ifndef __ITfCandidateList_INTERFACE_DEFINED__
  310. #define __ITfCandidateList_INTERFACE_DEFINED__
  311. /* interface ITfCandidateList */
  312. /* [unique][uuid][object] */
  313. typedef /* [public][public][uuid] */ DECLSPEC_UUID("baa898f2-0207-4643-92ca-f3f7b0cf6f80")
  314. enum __MIDL_ITfCandidateList_0001
  315. { CAND_FINALIZED = 0,
  316. CAND_SELECTED = 0x1,
  317. CAND_CANCELED = 0x2
  318. } TfCandidateResult;
  319. EXTERN_C const IID IID_ITfCandidateList;
  320. #if defined(__cplusplus) && !defined(CINTERFACE)
  321. MIDL_INTERFACE("a3ad50fb-9bdb-49e3-a843-6c76520fbf5d")
  322. ITfCandidateList : public IUnknown
  323. {
  324. public:
  325. virtual HRESULT STDMETHODCALLTYPE EnumCandidates(
  326. /* [out] */ IEnumTfCandidates **ppEnum) = 0;
  327. virtual HRESULT STDMETHODCALLTYPE GetCandidate(
  328. /* [in] */ ULONG nIndex,
  329. /* [out] */ ITfCandidateString **ppCand) = 0;
  330. virtual HRESULT STDMETHODCALLTYPE GetCandidateNum(
  331. /* [out] */ ULONG *pnCnt) = 0;
  332. virtual HRESULT STDMETHODCALLTYPE SetResult(
  333. /* [in] */ ULONG nIndex,
  334. /* [in] */ TfCandidateResult imcr) = 0;
  335. };
  336. #else /* C style interface */
  337. typedef struct ITfCandidateListVtbl
  338. {
  339. BEGIN_INTERFACE
  340. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  341. ITfCandidateList * This,
  342. /* [in] */ REFIID riid,
  343. /* [iid_is][out] */ void **ppvObject);
  344. ULONG ( STDMETHODCALLTYPE *AddRef )(
  345. ITfCandidateList * This);
  346. ULONG ( STDMETHODCALLTYPE *Release )(
  347. ITfCandidateList * This);
  348. HRESULT ( STDMETHODCALLTYPE *EnumCandidates )(
  349. ITfCandidateList * This,
  350. /* [out] */ IEnumTfCandidates **ppEnum);
  351. HRESULT ( STDMETHODCALLTYPE *GetCandidate )(
  352. ITfCandidateList * This,
  353. /* [in] */ ULONG nIndex,
  354. /* [out] */ ITfCandidateString **ppCand);
  355. HRESULT ( STDMETHODCALLTYPE *GetCandidateNum )(
  356. ITfCandidateList * This,
  357. /* [out] */ ULONG *pnCnt);
  358. HRESULT ( STDMETHODCALLTYPE *SetResult )(
  359. ITfCandidateList * This,
  360. /* [in] */ ULONG nIndex,
  361. /* [in] */ TfCandidateResult imcr);
  362. END_INTERFACE
  363. } ITfCandidateListVtbl;
  364. interface ITfCandidateList
  365. {
  366. CONST_VTBL struct ITfCandidateListVtbl *lpVtbl;
  367. };
  368. #ifdef COBJMACROS
  369. #define ITfCandidateList_QueryInterface(This,riid,ppvObject) \
  370. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  371. #define ITfCandidateList_AddRef(This) \
  372. (This)->lpVtbl -> AddRef(This)
  373. #define ITfCandidateList_Release(This) \
  374. (This)->lpVtbl -> Release(This)
  375. #define ITfCandidateList_EnumCandidates(This,ppEnum) \
  376. (This)->lpVtbl -> EnumCandidates(This,ppEnum)
  377. #define ITfCandidateList_GetCandidate(This,nIndex,ppCand) \
  378. (This)->lpVtbl -> GetCandidate(This,nIndex,ppCand)
  379. #define ITfCandidateList_GetCandidateNum(This,pnCnt) \
  380. (This)->lpVtbl -> GetCandidateNum(This,pnCnt)
  381. #define ITfCandidateList_SetResult(This,nIndex,imcr) \
  382. (This)->lpVtbl -> SetResult(This,nIndex,imcr)
  383. #endif /* COBJMACROS */
  384. #endif /* C style interface */
  385. HRESULT STDMETHODCALLTYPE ITfCandidateList_EnumCandidates_Proxy(
  386. ITfCandidateList * This,
  387. /* [out] */ IEnumTfCandidates **ppEnum);
  388. void __RPC_STUB ITfCandidateList_EnumCandidates_Stub(
  389. IRpcStubBuffer *This,
  390. IRpcChannelBuffer *_pRpcChannelBuffer,
  391. PRPC_MESSAGE _pRpcMessage,
  392. DWORD *_pdwStubPhase);
  393. HRESULT STDMETHODCALLTYPE ITfCandidateList_GetCandidate_Proxy(
  394. ITfCandidateList * This,
  395. /* [in] */ ULONG nIndex,
  396. /* [out] */ ITfCandidateString **ppCand);
  397. void __RPC_STUB ITfCandidateList_GetCandidate_Stub(
  398. IRpcStubBuffer *This,
  399. IRpcChannelBuffer *_pRpcChannelBuffer,
  400. PRPC_MESSAGE _pRpcMessage,
  401. DWORD *_pdwStubPhase);
  402. HRESULT STDMETHODCALLTYPE ITfCandidateList_GetCandidateNum_Proxy(
  403. ITfCandidateList * This,
  404. /* [out] */ ULONG *pnCnt);
  405. void __RPC_STUB ITfCandidateList_GetCandidateNum_Stub(
  406. IRpcStubBuffer *This,
  407. IRpcChannelBuffer *_pRpcChannelBuffer,
  408. PRPC_MESSAGE _pRpcMessage,
  409. DWORD *_pdwStubPhase);
  410. HRESULT STDMETHODCALLTYPE ITfCandidateList_SetResult_Proxy(
  411. ITfCandidateList * This,
  412. /* [in] */ ULONG nIndex,
  413. /* [in] */ TfCandidateResult imcr);
  414. void __RPC_STUB ITfCandidateList_SetResult_Stub(
  415. IRpcStubBuffer *This,
  416. IRpcChannelBuffer *_pRpcChannelBuffer,
  417. PRPC_MESSAGE _pRpcMessage,
  418. DWORD *_pdwStubPhase);
  419. #endif /* __ITfCandidateList_INTERFACE_DEFINED__ */
  420. #ifndef __ITfFnReconversion_INTERFACE_DEFINED__
  421. #define __ITfFnReconversion_INTERFACE_DEFINED__
  422. /* interface ITfFnReconversion */
  423. /* [unique][uuid][object] */
  424. EXTERN_C const IID IID_ITfFnReconversion;
  425. #if defined(__cplusplus) && !defined(CINTERFACE)
  426. MIDL_INTERFACE("4cea93c0-0a58-11d3-8df0-00105a2799b5")
  427. ITfFnReconversion : public ITfFunction
  428. {
  429. public:
  430. virtual HRESULT STDMETHODCALLTYPE QueryRange(
  431. /* [in] */ ITfRange *pRange,
  432. /* [unique][out][in] */ ITfRange **ppNewRange,
  433. /* [out] */ BOOL *pfConvertable) = 0;
  434. virtual HRESULT STDMETHODCALLTYPE GetReconversion(
  435. /* [in] */ ITfRange *pRange,
  436. /* [out] */ ITfCandidateList **ppCandList) = 0;
  437. virtual HRESULT STDMETHODCALLTYPE Reconvert(
  438. /* [in] */ ITfRange *pRange) = 0;
  439. };
  440. #else /* C style interface */
  441. typedef struct ITfFnReconversionVtbl
  442. {
  443. BEGIN_INTERFACE
  444. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  445. ITfFnReconversion * This,
  446. /* [in] */ REFIID riid,
  447. /* [iid_is][out] */ void **ppvObject);
  448. ULONG ( STDMETHODCALLTYPE *AddRef )(
  449. ITfFnReconversion * This);
  450. ULONG ( STDMETHODCALLTYPE *Release )(
  451. ITfFnReconversion * This);
  452. HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
  453. ITfFnReconversion * This,
  454. /* [out] */ BSTR *pbstrName);
  455. HRESULT ( STDMETHODCALLTYPE *QueryRange )(
  456. ITfFnReconversion * This,
  457. /* [in] */ ITfRange *pRange,
  458. /* [unique][out][in] */ ITfRange **ppNewRange,
  459. /* [out] */ BOOL *pfConvertable);
  460. HRESULT ( STDMETHODCALLTYPE *GetReconversion )(
  461. ITfFnReconversion * This,
  462. /* [in] */ ITfRange *pRange,
  463. /* [out] */ ITfCandidateList **ppCandList);
  464. HRESULT ( STDMETHODCALLTYPE *Reconvert )(
  465. ITfFnReconversion * This,
  466. /* [in] */ ITfRange *pRange);
  467. END_INTERFACE
  468. } ITfFnReconversionVtbl;
  469. interface ITfFnReconversion
  470. {
  471. CONST_VTBL struct ITfFnReconversionVtbl *lpVtbl;
  472. };
  473. #ifdef COBJMACROS
  474. #define ITfFnReconversion_QueryInterface(This,riid,ppvObject) \
  475. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  476. #define ITfFnReconversion_AddRef(This) \
  477. (This)->lpVtbl -> AddRef(This)
  478. #define ITfFnReconversion_Release(This) \
  479. (This)->lpVtbl -> Release(This)
  480. #define ITfFnReconversion_GetDisplayName(This,pbstrName) \
  481. (This)->lpVtbl -> GetDisplayName(This,pbstrName)
  482. #define ITfFnReconversion_QueryRange(This,pRange,ppNewRange,pfConvertable) \
  483. (This)->lpVtbl -> QueryRange(This,pRange,ppNewRange,pfConvertable)
  484. #define ITfFnReconversion_GetReconversion(This,pRange,ppCandList) \
  485. (This)->lpVtbl -> GetReconversion(This,pRange,ppCandList)
  486. #define ITfFnReconversion_Reconvert(This,pRange) \
  487. (This)->lpVtbl -> Reconvert(This,pRange)
  488. #endif /* COBJMACROS */
  489. #endif /* C style interface */
  490. HRESULT STDMETHODCALLTYPE ITfFnReconversion_QueryRange_Proxy(
  491. ITfFnReconversion * This,
  492. /* [in] */ ITfRange *pRange,
  493. /* [unique][out][in] */ ITfRange **ppNewRange,
  494. /* [out] */ BOOL *pfConvertable);
  495. void __RPC_STUB ITfFnReconversion_QueryRange_Stub(
  496. IRpcStubBuffer *This,
  497. IRpcChannelBuffer *_pRpcChannelBuffer,
  498. PRPC_MESSAGE _pRpcMessage,
  499. DWORD *_pdwStubPhase);
  500. HRESULT STDMETHODCALLTYPE ITfFnReconversion_GetReconversion_Proxy(
  501. ITfFnReconversion * This,
  502. /* [in] */ ITfRange *pRange,
  503. /* [out] */ ITfCandidateList **ppCandList);
  504. void __RPC_STUB ITfFnReconversion_GetReconversion_Stub(
  505. IRpcStubBuffer *This,
  506. IRpcChannelBuffer *_pRpcChannelBuffer,
  507. PRPC_MESSAGE _pRpcMessage,
  508. DWORD *_pdwStubPhase);
  509. HRESULT STDMETHODCALLTYPE ITfFnReconversion_Reconvert_Proxy(
  510. ITfFnReconversion * This,
  511. /* [in] */ ITfRange *pRange);
  512. void __RPC_STUB ITfFnReconversion_Reconvert_Stub(
  513. IRpcStubBuffer *This,
  514. IRpcChannelBuffer *_pRpcChannelBuffer,
  515. PRPC_MESSAGE _pRpcMessage,
  516. DWORD *_pdwStubPhase);
  517. #endif /* __ITfFnReconversion_INTERFACE_DEFINED__ */
  518. #ifndef __ITfFnAbort_INTERFACE_DEFINED__
  519. #define __ITfFnAbort_INTERFACE_DEFINED__
  520. /* interface ITfFnAbort */
  521. /* [unique][uuid][object] */
  522. EXTERN_C const IID IID_ITfFnAbort;
  523. #if defined(__cplusplus) && !defined(CINTERFACE)
  524. MIDL_INTERFACE("17f2317f-addb-49df-870e-66227bc51d1a")
  525. ITfFnAbort : public ITfFunction
  526. {
  527. public:
  528. virtual HRESULT STDMETHODCALLTYPE Abort(
  529. /* [in] */ ITfContext *pic) = 0;
  530. };
  531. #else /* C style interface */
  532. typedef struct ITfFnAbortVtbl
  533. {
  534. BEGIN_INTERFACE
  535. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  536. ITfFnAbort * This,
  537. /* [in] */ REFIID riid,
  538. /* [iid_is][out] */ void **ppvObject);
  539. ULONG ( STDMETHODCALLTYPE *AddRef )(
  540. ITfFnAbort * This);
  541. ULONG ( STDMETHODCALLTYPE *Release )(
  542. ITfFnAbort * This);
  543. HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
  544. ITfFnAbort * This,
  545. /* [out] */ BSTR *pbstrName);
  546. HRESULT ( STDMETHODCALLTYPE *Abort )(
  547. ITfFnAbort * This,
  548. /* [in] */ ITfContext *pic);
  549. END_INTERFACE
  550. } ITfFnAbortVtbl;
  551. interface ITfFnAbort
  552. {
  553. CONST_VTBL struct ITfFnAbortVtbl *lpVtbl;
  554. };
  555. #ifdef COBJMACROS
  556. #define ITfFnAbort_QueryInterface(This,riid,ppvObject) \
  557. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  558. #define ITfFnAbort_AddRef(This) \
  559. (This)->lpVtbl -> AddRef(This)
  560. #define ITfFnAbort_Release(This) \
  561. (This)->lpVtbl -> Release(This)
  562. #define ITfFnAbort_GetDisplayName(This,pbstrName) \
  563. (This)->lpVtbl -> GetDisplayName(This,pbstrName)
  564. #define ITfFnAbort_Abort(This,pic) \
  565. (This)->lpVtbl -> Abort(This,pic)
  566. #endif /* COBJMACROS */
  567. #endif /* C style interface */
  568. HRESULT STDMETHODCALLTYPE ITfFnAbort_Abort_Proxy(
  569. ITfFnAbort * This,
  570. /* [in] */ ITfContext *pic);
  571. void __RPC_STUB ITfFnAbort_Abort_Stub(
  572. IRpcStubBuffer *This,
  573. IRpcChannelBuffer *_pRpcChannelBuffer,
  574. PRPC_MESSAGE _pRpcMessage,
  575. DWORD *_pdwStubPhase);
  576. #endif /* __ITfFnAbort_INTERFACE_DEFINED__ */
  577. /* interface __MIDL_itf_ctffunc_0219 */
  578. /* [local] */
  579. EXTERN_C const GUID GUID_COMPARTMENT_SAPI_AUDIO;
  580. EXTERN_C const GUID GUID_COMPARTMENT_SPEECH_DICTATIONSTAT;
  581. #define TF_DICTATION_ON 0x00000001
  582. #define TF_DICTATION_ENABLED 0x00000002
  583. #define TF_COMMANDING_ENABLED 0x00000004
  584. #define TF_COMMANDING_ON 0x00000008
  585. EXTERN_C const GUID GUID_COMPARTMENT_SPEECH_UI_STATUS;
  586. #define TF_SHOW_BALLOON 0x00000001
  587. #define TF_DISABLE_BALLOON 0x00000002
  588. EXTERN_C const GUID GUID_COMPARTMENT_SPEECH_CFGMENU;
  589. #define TF_MENUREADY 0x00000001
  590. EXTERN_C const GUID GUID_LBI_SAPILAYR_CFGMENUBUTTON;
  591. extern RPC_IF_HANDLE __MIDL_itf_ctffunc_0219_v0_0_c_ifspec;
  592. extern RPC_IF_HANDLE __MIDL_itf_ctffunc_0219_v0_0_s_ifspec;
  593. #ifndef __ITfFnPlayBack_INTERFACE_DEFINED__
  594. #define __ITfFnPlayBack_INTERFACE_DEFINED__
  595. /* interface ITfFnPlayBack */
  596. /* [unique][uuid][object] */
  597. EXTERN_C const IID IID_ITfFnPlayBack;
  598. #if defined(__cplusplus) && !defined(CINTERFACE)
  599. MIDL_INTERFACE("a3a416a4-0f64-11d3-b5b7-00c04fc324a1")
  600. ITfFnPlayBack : public ITfFunction
  601. {
  602. public:
  603. virtual HRESULT STDMETHODCALLTYPE QueryRange(
  604. /* [in] */ ITfRange *pRange,
  605. /* [out] */ ITfRange **ppNewRange,
  606. /* [out] */ BOOL *pfPlayable) = 0;
  607. virtual HRESULT STDMETHODCALLTYPE Play(
  608. /* [in] */ ITfRange *pRange) = 0;
  609. };
  610. #else /* C style interface */
  611. typedef struct ITfFnPlayBackVtbl
  612. {
  613. BEGIN_INTERFACE
  614. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  615. ITfFnPlayBack * This,
  616. /* [in] */ REFIID riid,
  617. /* [iid_is][out] */ void **ppvObject);
  618. ULONG ( STDMETHODCALLTYPE *AddRef )(
  619. ITfFnPlayBack * This);
  620. ULONG ( STDMETHODCALLTYPE *Release )(
  621. ITfFnPlayBack * This);
  622. HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
  623. ITfFnPlayBack * This,
  624. /* [out] */ BSTR *pbstrName);
  625. HRESULT ( STDMETHODCALLTYPE *QueryRange )(
  626. ITfFnPlayBack * This,
  627. /* [in] */ ITfRange *pRange,
  628. /* [out] */ ITfRange **ppNewRange,
  629. /* [out] */ BOOL *pfPlayable);
  630. HRESULT ( STDMETHODCALLTYPE *Play )(
  631. ITfFnPlayBack * This,
  632. /* [in] */ ITfRange *pRange);
  633. END_INTERFACE
  634. } ITfFnPlayBackVtbl;
  635. interface ITfFnPlayBack
  636. {
  637. CONST_VTBL struct ITfFnPlayBackVtbl *lpVtbl;
  638. };
  639. #ifdef COBJMACROS
  640. #define ITfFnPlayBack_QueryInterface(This,riid,ppvObject) \
  641. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  642. #define ITfFnPlayBack_AddRef(This) \
  643. (This)->lpVtbl -> AddRef(This)
  644. #define ITfFnPlayBack_Release(This) \
  645. (This)->lpVtbl -> Release(This)
  646. #define ITfFnPlayBack_GetDisplayName(This,pbstrName) \
  647. (This)->lpVtbl -> GetDisplayName(This,pbstrName)
  648. #define ITfFnPlayBack_QueryRange(This,pRange,ppNewRange,pfPlayable) \
  649. (This)->lpVtbl -> QueryRange(This,pRange,ppNewRange,pfPlayable)
  650. #define ITfFnPlayBack_Play(This,pRange) \
  651. (This)->lpVtbl -> Play(This,pRange)
  652. #endif /* COBJMACROS */
  653. #endif /* C style interface */
  654. HRESULT STDMETHODCALLTYPE ITfFnPlayBack_QueryRange_Proxy(
  655. ITfFnPlayBack * This,
  656. /* [in] */ ITfRange *pRange,
  657. /* [out] */ ITfRange **ppNewRange,
  658. /* [out] */ BOOL *pfPlayable);
  659. void __RPC_STUB ITfFnPlayBack_QueryRange_Stub(
  660. IRpcStubBuffer *This,
  661. IRpcChannelBuffer *_pRpcChannelBuffer,
  662. PRPC_MESSAGE _pRpcMessage,
  663. DWORD *_pdwStubPhase);
  664. HRESULT STDMETHODCALLTYPE ITfFnPlayBack_Play_Proxy(
  665. ITfFnPlayBack * This,
  666. /* [in] */ ITfRange *pRange);
  667. void __RPC_STUB ITfFnPlayBack_Play_Stub(
  668. IRpcStubBuffer *This,
  669. IRpcChannelBuffer *_pRpcChannelBuffer,
  670. PRPC_MESSAGE _pRpcMessage,
  671. DWORD *_pdwStubPhase);
  672. #endif /* __ITfFnPlayBack_INTERFACE_DEFINED__ */
  673. #ifndef __ITfFnLangProfileUtil_INTERFACE_DEFINED__
  674. #define __ITfFnLangProfileUtil_INTERFACE_DEFINED__
  675. /* interface ITfFnLangProfileUtil */
  676. /* [unique][uuid][object] */
  677. EXTERN_C const IID IID_ITfFnLangProfileUtil;
  678. #if defined(__cplusplus) && !defined(CINTERFACE)
  679. MIDL_INTERFACE("A87A8574-A6C1-4E15-99F0-3D3965F548EB")
  680. ITfFnLangProfileUtil : public ITfFunction
  681. {
  682. public:
  683. virtual HRESULT STDMETHODCALLTYPE RegisterActiveProfiles( void) = 0;
  684. virtual HRESULT STDMETHODCALLTYPE IsProfileAvailableForLang(
  685. /* [in] */ LANGID langid,
  686. /* [out] */ BOOL *pfAvailable) = 0;
  687. };
  688. #else /* C style interface */
  689. typedef struct ITfFnLangProfileUtilVtbl
  690. {
  691. BEGIN_INTERFACE
  692. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  693. ITfFnLangProfileUtil * This,
  694. /* [in] */ REFIID riid,
  695. /* [iid_is][out] */ void **ppvObject);
  696. ULONG ( STDMETHODCALLTYPE *AddRef )(
  697. ITfFnLangProfileUtil * This);
  698. ULONG ( STDMETHODCALLTYPE *Release )(
  699. ITfFnLangProfileUtil * This);
  700. HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
  701. ITfFnLangProfileUtil * This,
  702. /* [out] */ BSTR *pbstrName);
  703. HRESULT ( STDMETHODCALLTYPE *RegisterActiveProfiles )(
  704. ITfFnLangProfileUtil * This);
  705. HRESULT ( STDMETHODCALLTYPE *IsProfileAvailableForLang )(
  706. ITfFnLangProfileUtil * This,
  707. /* [in] */ LANGID langid,
  708. /* [out] */ BOOL *pfAvailable);
  709. END_INTERFACE
  710. } ITfFnLangProfileUtilVtbl;
  711. interface ITfFnLangProfileUtil
  712. {
  713. CONST_VTBL struct ITfFnLangProfileUtilVtbl *lpVtbl;
  714. };
  715. #ifdef COBJMACROS
  716. #define ITfFnLangProfileUtil_QueryInterface(This,riid,ppvObject) \
  717. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  718. #define ITfFnLangProfileUtil_AddRef(This) \
  719. (This)->lpVtbl -> AddRef(This)
  720. #define ITfFnLangProfileUtil_Release(This) \
  721. (This)->lpVtbl -> Release(This)
  722. #define ITfFnLangProfileUtil_GetDisplayName(This,pbstrName) \
  723. (This)->lpVtbl -> GetDisplayName(This,pbstrName)
  724. #define ITfFnLangProfileUtil_RegisterActiveProfiles(This) \
  725. (This)->lpVtbl -> RegisterActiveProfiles(This)
  726. #define ITfFnLangProfileUtil_IsProfileAvailableForLang(This,langid,pfAvailable) \
  727. (This)->lpVtbl -> IsProfileAvailableForLang(This,langid,pfAvailable)
  728. #endif /* COBJMACROS */
  729. #endif /* C style interface */
  730. HRESULT STDMETHODCALLTYPE ITfFnLangProfileUtil_RegisterActiveProfiles_Proxy(
  731. ITfFnLangProfileUtil * This);
  732. void __RPC_STUB ITfFnLangProfileUtil_RegisterActiveProfiles_Stub(
  733. IRpcStubBuffer *This,
  734. IRpcChannelBuffer *_pRpcChannelBuffer,
  735. PRPC_MESSAGE _pRpcMessage,
  736. DWORD *_pdwStubPhase);
  737. HRESULT STDMETHODCALLTYPE ITfFnLangProfileUtil_IsProfileAvailableForLang_Proxy(
  738. ITfFnLangProfileUtil * This,
  739. /* [in] */ LANGID langid,
  740. /* [out] */ BOOL *pfAvailable);
  741. void __RPC_STUB ITfFnLangProfileUtil_IsProfileAvailableForLang_Stub(
  742. IRpcStubBuffer *This,
  743. IRpcChannelBuffer *_pRpcChannelBuffer,
  744. PRPC_MESSAGE _pRpcMessage,
  745. DWORD *_pdwStubPhase);
  746. #endif /* __ITfFnLangProfileUtil_INTERFACE_DEFINED__ */
  747. #ifndef __ITfFnConfigure_INTERFACE_DEFINED__
  748. #define __ITfFnConfigure_INTERFACE_DEFINED__
  749. /* interface ITfFnConfigure */
  750. /* [unique][uuid][object] */
  751. EXTERN_C const IID IID_ITfFnConfigure;
  752. #if defined(__cplusplus) && !defined(CINTERFACE)
  753. MIDL_INTERFACE("88f567c6-1757-49f8-a1b2-89234c1eeff9")
  754. ITfFnConfigure : public ITfFunction
  755. {
  756. public:
  757. virtual HRESULT STDMETHODCALLTYPE Show(
  758. /* [in] */ HWND hwndParent,
  759. /* [in] */ LANGID langid,
  760. /* [in] */ REFGUID rguidProfile) = 0;
  761. };
  762. #else /* C style interface */
  763. typedef struct ITfFnConfigureVtbl
  764. {
  765. BEGIN_INTERFACE
  766. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  767. ITfFnConfigure * This,
  768. /* [in] */ REFIID riid,
  769. /* [iid_is][out] */ void **ppvObject);
  770. ULONG ( STDMETHODCALLTYPE *AddRef )(
  771. ITfFnConfigure * This);
  772. ULONG ( STDMETHODCALLTYPE *Release )(
  773. ITfFnConfigure * This);
  774. HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
  775. ITfFnConfigure * This,
  776. /* [out] */ BSTR *pbstrName);
  777. HRESULT ( STDMETHODCALLTYPE *Show )(
  778. ITfFnConfigure * This,
  779. /* [in] */ HWND hwndParent,
  780. /* [in] */ LANGID langid,
  781. /* [in] */ REFGUID rguidProfile);
  782. END_INTERFACE
  783. } ITfFnConfigureVtbl;
  784. interface ITfFnConfigure
  785. {
  786. CONST_VTBL struct ITfFnConfigureVtbl *lpVtbl;
  787. };
  788. #ifdef COBJMACROS
  789. #define ITfFnConfigure_QueryInterface(This,riid,ppvObject) \
  790. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  791. #define ITfFnConfigure_AddRef(This) \
  792. (This)->lpVtbl -> AddRef(This)
  793. #define ITfFnConfigure_Release(This) \
  794. (This)->lpVtbl -> Release(This)
  795. #define ITfFnConfigure_GetDisplayName(This,pbstrName) \
  796. (This)->lpVtbl -> GetDisplayName(This,pbstrName)
  797. #define ITfFnConfigure_Show(This,hwndParent,langid,rguidProfile) \
  798. (This)->lpVtbl -> Show(This,hwndParent,langid,rguidProfile)
  799. #endif /* COBJMACROS */
  800. #endif /* C style interface */
  801. HRESULT STDMETHODCALLTYPE ITfFnConfigure_Show_Proxy(
  802. ITfFnConfigure * This,
  803. /* [in] */ HWND hwndParent,
  804. /* [in] */ LANGID langid,
  805. /* [in] */ REFGUID rguidProfile);
  806. void __RPC_STUB ITfFnConfigure_Show_Stub(
  807. IRpcStubBuffer *This,
  808. IRpcChannelBuffer *_pRpcChannelBuffer,
  809. PRPC_MESSAGE _pRpcMessage,
  810. DWORD *_pdwStubPhase);
  811. #endif /* __ITfFnConfigure_INTERFACE_DEFINED__ */
  812. #ifndef __ITfFnConfigureRegisterWord_INTERFACE_DEFINED__
  813. #define __ITfFnConfigureRegisterWord_INTERFACE_DEFINED__
  814. /* interface ITfFnConfigureRegisterWord */
  815. /* [unique][uuid][object] */
  816. EXTERN_C const IID IID_ITfFnConfigureRegisterWord;
  817. #if defined(__cplusplus) && !defined(CINTERFACE)
  818. MIDL_INTERFACE("bb95808a-6d8f-4bca-8400-5390b586aedf")
  819. ITfFnConfigureRegisterWord : public ITfFunction
  820. {
  821. public:
  822. virtual HRESULT STDMETHODCALLTYPE Show(
  823. /* [in] */ HWND hwndParent,
  824. /* [in] */ LANGID langid,
  825. /* [in] */ REFGUID rguidProfile,
  826. /* [unique][in] */ BSTR bstrRegistered) = 0;
  827. };
  828. #else /* C style interface */
  829. typedef struct ITfFnConfigureRegisterWordVtbl
  830. {
  831. BEGIN_INTERFACE
  832. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  833. ITfFnConfigureRegisterWord * This,
  834. /* [in] */ REFIID riid,
  835. /* [iid_is][out] */ void **ppvObject);
  836. ULONG ( STDMETHODCALLTYPE *AddRef )(
  837. ITfFnConfigureRegisterWord * This);
  838. ULONG ( STDMETHODCALLTYPE *Release )(
  839. ITfFnConfigureRegisterWord * This);
  840. HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
  841. ITfFnConfigureRegisterWord * This,
  842. /* [out] */ BSTR *pbstrName);
  843. HRESULT ( STDMETHODCALLTYPE *Show )(
  844. ITfFnConfigureRegisterWord * This,
  845. /* [in] */ HWND hwndParent,
  846. /* [in] */ LANGID langid,
  847. /* [in] */ REFGUID rguidProfile,
  848. /* [unique][in] */ BSTR bstrRegistered);
  849. END_INTERFACE
  850. } ITfFnConfigureRegisterWordVtbl;
  851. interface ITfFnConfigureRegisterWord
  852. {
  853. CONST_VTBL struct ITfFnConfigureRegisterWordVtbl *lpVtbl;
  854. };
  855. #ifdef COBJMACROS
  856. #define ITfFnConfigureRegisterWord_QueryInterface(This,riid,ppvObject) \
  857. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  858. #define ITfFnConfigureRegisterWord_AddRef(This) \
  859. (This)->lpVtbl -> AddRef(This)
  860. #define ITfFnConfigureRegisterWord_Release(This) \
  861. (This)->lpVtbl -> Release(This)
  862. #define ITfFnConfigureRegisterWord_GetDisplayName(This,pbstrName) \
  863. (This)->lpVtbl -> GetDisplayName(This,pbstrName)
  864. #define ITfFnConfigureRegisterWord_Show(This,hwndParent,langid,rguidProfile,bstrRegistered) \
  865. (This)->lpVtbl -> Show(This,hwndParent,langid,rguidProfile,bstrRegistered)
  866. #endif /* COBJMACROS */
  867. #endif /* C style interface */
  868. HRESULT STDMETHODCALLTYPE ITfFnConfigureRegisterWord_Show_Proxy(
  869. ITfFnConfigureRegisterWord * This,
  870. /* [in] */ HWND hwndParent,
  871. /* [in] */ LANGID langid,
  872. /* [in] */ REFGUID rguidProfile,
  873. /* [unique][in] */ BSTR bstrRegistered);
  874. void __RPC_STUB ITfFnConfigureRegisterWord_Show_Stub(
  875. IRpcStubBuffer *This,
  876. IRpcChannelBuffer *_pRpcChannelBuffer,
  877. PRPC_MESSAGE _pRpcMessage,
  878. DWORD *_pdwStubPhase);
  879. #endif /* __ITfFnConfigureRegisterWord_INTERFACE_DEFINED__ */
  880. #ifndef __ITfFnShowHelp_INTERFACE_DEFINED__
  881. #define __ITfFnShowHelp_INTERFACE_DEFINED__
  882. /* interface ITfFnShowHelp */
  883. /* [unique][uuid][object] */
  884. EXTERN_C const IID IID_ITfFnShowHelp;
  885. #if defined(__cplusplus) && !defined(CINTERFACE)
  886. MIDL_INTERFACE("5AB1D30C-094D-4C29-8EA5-0BF59BE87BF3")
  887. ITfFnShowHelp : public ITfFunction
  888. {
  889. public:
  890. virtual HRESULT STDMETHODCALLTYPE Show(
  891. /* [in] */ HWND hwndParent) = 0;
  892. };
  893. #else /* C style interface */
  894. typedef struct ITfFnShowHelpVtbl
  895. {
  896. BEGIN_INTERFACE
  897. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  898. ITfFnShowHelp * This,
  899. /* [in] */ REFIID riid,
  900. /* [iid_is][out] */ void **ppvObject);
  901. ULONG ( STDMETHODCALLTYPE *AddRef )(
  902. ITfFnShowHelp * This);
  903. ULONG ( STDMETHODCALLTYPE *Release )(
  904. ITfFnShowHelp * This);
  905. HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
  906. ITfFnShowHelp * This,
  907. /* [out] */ BSTR *pbstrName);
  908. HRESULT ( STDMETHODCALLTYPE *Show )(
  909. ITfFnShowHelp * This,
  910. /* [in] */ HWND hwndParent);
  911. END_INTERFACE
  912. } ITfFnShowHelpVtbl;
  913. interface ITfFnShowHelp
  914. {
  915. CONST_VTBL struct ITfFnShowHelpVtbl *lpVtbl;
  916. };
  917. #ifdef COBJMACROS
  918. #define ITfFnShowHelp_QueryInterface(This,riid,ppvObject) \
  919. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  920. #define ITfFnShowHelp_AddRef(This) \
  921. (This)->lpVtbl -> AddRef(This)
  922. #define ITfFnShowHelp_Release(This) \
  923. (This)->lpVtbl -> Release(This)
  924. #define ITfFnShowHelp_GetDisplayName(This,pbstrName) \
  925. (This)->lpVtbl -> GetDisplayName(This,pbstrName)
  926. #define ITfFnShowHelp_Show(This,hwndParent) \
  927. (This)->lpVtbl -> Show(This,hwndParent)
  928. #endif /* COBJMACROS */
  929. #endif /* C style interface */
  930. HRESULT STDMETHODCALLTYPE ITfFnShowHelp_Show_Proxy(
  931. ITfFnShowHelp * This,
  932. /* [in] */ HWND hwndParent);
  933. void __RPC_STUB ITfFnShowHelp_Show_Stub(
  934. IRpcStubBuffer *This,
  935. IRpcChannelBuffer *_pRpcChannelBuffer,
  936. PRPC_MESSAGE _pRpcMessage,
  937. DWORD *_pdwStubPhase);
  938. #endif /* __ITfFnShowHelp_INTERFACE_DEFINED__ */
  939. #ifndef __ITfFnBalloon_INTERFACE_DEFINED__
  940. #define __ITfFnBalloon_INTERFACE_DEFINED__
  941. /* interface ITfFnBalloon */
  942. /* [unique][uuid][object] */
  943. EXTERN_C const IID IID_ITfFnBalloon;
  944. #if defined(__cplusplus) && !defined(CINTERFACE)
  945. MIDL_INTERFACE("3BAB89E4-5FBE-45F4-A5BC-DCA36AD225A8")
  946. ITfFnBalloon : public IUnknown
  947. {
  948. public:
  949. virtual HRESULT STDMETHODCALLTYPE UpdateBalloon(
  950. /* [in] */ TfLBBalloonStyle style,
  951. /* [size_is][in] */ const WCHAR *pch,
  952. /* [in] */ ULONG cch) = 0;
  953. };
  954. #else /* C style interface */
  955. typedef struct ITfFnBalloonVtbl
  956. {
  957. BEGIN_INTERFACE
  958. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  959. ITfFnBalloon * This,
  960. /* [in] */ REFIID riid,
  961. /* [iid_is][out] */ void **ppvObject);
  962. ULONG ( STDMETHODCALLTYPE *AddRef )(
  963. ITfFnBalloon * This);
  964. ULONG ( STDMETHODCALLTYPE *Release )(
  965. ITfFnBalloon * This);
  966. HRESULT ( STDMETHODCALLTYPE *UpdateBalloon )(
  967. ITfFnBalloon * This,
  968. /* [in] */ TfLBBalloonStyle style,
  969. /* [size_is][in] */ const WCHAR *pch,
  970. /* [in] */ ULONG cch);
  971. END_INTERFACE
  972. } ITfFnBalloonVtbl;
  973. interface ITfFnBalloon
  974. {
  975. CONST_VTBL struct ITfFnBalloonVtbl *lpVtbl;
  976. };
  977. #ifdef COBJMACROS
  978. #define ITfFnBalloon_QueryInterface(This,riid,ppvObject) \
  979. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  980. #define ITfFnBalloon_AddRef(This) \
  981. (This)->lpVtbl -> AddRef(This)
  982. #define ITfFnBalloon_Release(This) \
  983. (This)->lpVtbl -> Release(This)
  984. #define ITfFnBalloon_UpdateBalloon(This,style,pch,cch) \
  985. (This)->lpVtbl -> UpdateBalloon(This,style,pch,cch)
  986. #endif /* COBJMACROS */
  987. #endif /* C style interface */
  988. HRESULT STDMETHODCALLTYPE ITfFnBalloon_UpdateBalloon_Proxy(
  989. ITfFnBalloon * This,
  990. /* [in] */ TfLBBalloonStyle style,
  991. /* [size_is][in] */ const WCHAR *pch,
  992. /* [in] */ ULONG cch);
  993. void __RPC_STUB ITfFnBalloon_UpdateBalloon_Stub(
  994. IRpcStubBuffer *This,
  995. IRpcChannelBuffer *_pRpcChannelBuffer,
  996. PRPC_MESSAGE _pRpcMessage,
  997. DWORD *_pdwStubPhase);
  998. #endif /* __ITfFnBalloon_INTERFACE_DEFINED__ */
  999. /* interface __MIDL_itf_ctffunc_0225 */
  1000. /* [local] */
  1001. typedef /* [public][public][uuid] */ DECLSPEC_UUID("36adb6d9-da1f-45d8-a499-86167e0f936b")
  1002. enum __MIDL___MIDL_itf_ctffunc_0225_0001
  1003. { GETIF_RESMGR = 0,
  1004. GETIF_RECOCONTEXT = 0x1,
  1005. GETIF_RECOGNIZER = 0x2,
  1006. GETIF_VOICE = 0x3,
  1007. GETIF_DICTGRAM = 0x4,
  1008. GETIF_RECOGNIZERNOINIT = 0x5
  1009. } TfSapiObject;
  1010. extern RPC_IF_HANDLE __MIDL_itf_ctffunc_0225_v0_0_c_ifspec;
  1011. extern RPC_IF_HANDLE __MIDL_itf_ctffunc_0225_v0_0_s_ifspec;
  1012. #ifndef __ITfFnGetSAPIObject_INTERFACE_DEFINED__
  1013. #define __ITfFnGetSAPIObject_INTERFACE_DEFINED__
  1014. /* interface ITfFnGetSAPIObject */
  1015. /* [unique][uuid][object] */
  1016. EXTERN_C const IID IID_ITfFnGetSAPIObject;
  1017. #if defined(__cplusplus) && !defined(CINTERFACE)
  1018. MIDL_INTERFACE("5c0ab7ea-167d-4f59-bfb5-4693755e90ca")
  1019. ITfFnGetSAPIObject : public ITfFunction
  1020. {
  1021. public:
  1022. virtual HRESULT STDMETHODCALLTYPE Get(
  1023. /* [in] */ TfSapiObject sObj,
  1024. /* [out] */ IUnknown **ppunk) = 0;
  1025. };
  1026. #else /* C style interface */
  1027. typedef struct ITfFnGetSAPIObjectVtbl
  1028. {
  1029. BEGIN_INTERFACE
  1030. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1031. ITfFnGetSAPIObject * This,
  1032. /* [in] */ REFIID riid,
  1033. /* [iid_is][out] */ void **ppvObject);
  1034. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1035. ITfFnGetSAPIObject * This);
  1036. ULONG ( STDMETHODCALLTYPE *Release )(
  1037. ITfFnGetSAPIObject * This);
  1038. HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
  1039. ITfFnGetSAPIObject * This,
  1040. /* [out] */ BSTR *pbstrName);
  1041. HRESULT ( STDMETHODCALLTYPE *Get )(
  1042. ITfFnGetSAPIObject * This,
  1043. /* [in] */ TfSapiObject sObj,
  1044. /* [out] */ IUnknown **ppunk);
  1045. END_INTERFACE
  1046. } ITfFnGetSAPIObjectVtbl;
  1047. interface ITfFnGetSAPIObject
  1048. {
  1049. CONST_VTBL struct ITfFnGetSAPIObjectVtbl *lpVtbl;
  1050. };
  1051. #ifdef COBJMACROS
  1052. #define ITfFnGetSAPIObject_QueryInterface(This,riid,ppvObject) \
  1053. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1054. #define ITfFnGetSAPIObject_AddRef(This) \
  1055. (This)->lpVtbl -> AddRef(This)
  1056. #define ITfFnGetSAPIObject_Release(This) \
  1057. (This)->lpVtbl -> Release(This)
  1058. #define ITfFnGetSAPIObject_GetDisplayName(This,pbstrName) \
  1059. (This)->lpVtbl -> GetDisplayName(This,pbstrName)
  1060. #define ITfFnGetSAPIObject_Get(This,sObj,ppunk) \
  1061. (This)->lpVtbl -> Get(This,sObj,ppunk)
  1062. #endif /* COBJMACROS */
  1063. #endif /* C style interface */
  1064. HRESULT STDMETHODCALLTYPE ITfFnGetSAPIObject_Get_Proxy(
  1065. ITfFnGetSAPIObject * This,
  1066. /* [in] */ TfSapiObject sObj,
  1067. /* [out] */ IUnknown **ppunk);
  1068. void __RPC_STUB ITfFnGetSAPIObject_Get_Stub(
  1069. IRpcStubBuffer *This,
  1070. IRpcChannelBuffer *_pRpcChannelBuffer,
  1071. PRPC_MESSAGE _pRpcMessage,
  1072. DWORD *_pdwStubPhase);
  1073. #endif /* __ITfFnGetSAPIObject_INTERFACE_DEFINED__ */
  1074. #ifndef __ITfFnPropertyUIStatus_INTERFACE_DEFINED__
  1075. #define __ITfFnPropertyUIStatus_INTERFACE_DEFINED__
  1076. /* interface ITfFnPropertyUIStatus */
  1077. /* [unique][uuid][object] */
  1078. EXTERN_C const IID IID_ITfFnPropertyUIStatus;
  1079. #if defined(__cplusplus) && !defined(CINTERFACE)
  1080. MIDL_INTERFACE("2338AC6E-2B9D-44C0-A75E-EE64F256B3BD")
  1081. ITfFnPropertyUIStatus : public ITfFunction
  1082. {
  1083. public:
  1084. virtual HRESULT STDMETHODCALLTYPE GetStatus(
  1085. /* [in] */ REFGUID refguidProp,
  1086. /* [out] */ DWORD *pdw) = 0;
  1087. virtual HRESULT STDMETHODCALLTYPE SetStatus(
  1088. /* [in] */ REFGUID refguidProp,
  1089. /* [in] */ DWORD dw) = 0;
  1090. };
  1091. #else /* C style interface */
  1092. typedef struct ITfFnPropertyUIStatusVtbl
  1093. {
  1094. BEGIN_INTERFACE
  1095. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1096. ITfFnPropertyUIStatus * This,
  1097. /* [in] */ REFIID riid,
  1098. /* [iid_is][out] */ void **ppvObject);
  1099. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1100. ITfFnPropertyUIStatus * This);
  1101. ULONG ( STDMETHODCALLTYPE *Release )(
  1102. ITfFnPropertyUIStatus * This);
  1103. HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
  1104. ITfFnPropertyUIStatus * This,
  1105. /* [out] */ BSTR *pbstrName);
  1106. HRESULT ( STDMETHODCALLTYPE *GetStatus )(
  1107. ITfFnPropertyUIStatus * This,
  1108. /* [in] */ REFGUID refguidProp,
  1109. /* [out] */ DWORD *pdw);
  1110. HRESULT ( STDMETHODCALLTYPE *SetStatus )(
  1111. ITfFnPropertyUIStatus * This,
  1112. /* [in] */ REFGUID refguidProp,
  1113. /* [in] */ DWORD dw);
  1114. END_INTERFACE
  1115. } ITfFnPropertyUIStatusVtbl;
  1116. interface ITfFnPropertyUIStatus
  1117. {
  1118. CONST_VTBL struct ITfFnPropertyUIStatusVtbl *lpVtbl;
  1119. };
  1120. #ifdef COBJMACROS
  1121. #define ITfFnPropertyUIStatus_QueryInterface(This,riid,ppvObject) \
  1122. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1123. #define ITfFnPropertyUIStatus_AddRef(This) \
  1124. (This)->lpVtbl -> AddRef(This)
  1125. #define ITfFnPropertyUIStatus_Release(This) \
  1126. (This)->lpVtbl -> Release(This)
  1127. #define ITfFnPropertyUIStatus_GetDisplayName(This,pbstrName) \
  1128. (This)->lpVtbl -> GetDisplayName(This,pbstrName)
  1129. #define ITfFnPropertyUIStatus_GetStatus(This,refguidProp,pdw) \
  1130. (This)->lpVtbl -> GetStatus(This,refguidProp,pdw)
  1131. #define ITfFnPropertyUIStatus_SetStatus(This,refguidProp,dw) \
  1132. (This)->lpVtbl -> SetStatus(This,refguidProp,dw)
  1133. #endif /* COBJMACROS */
  1134. #endif /* C style interface */
  1135. HRESULT STDMETHODCALLTYPE ITfFnPropertyUIStatus_GetStatus_Proxy(
  1136. ITfFnPropertyUIStatus * This,
  1137. /* [in] */ REFGUID refguidProp,
  1138. /* [out] */ DWORD *pdw);
  1139. void __RPC_STUB ITfFnPropertyUIStatus_GetStatus_Stub(
  1140. IRpcStubBuffer *This,
  1141. IRpcChannelBuffer *_pRpcChannelBuffer,
  1142. PRPC_MESSAGE _pRpcMessage,
  1143. DWORD *_pdwStubPhase);
  1144. HRESULT STDMETHODCALLTYPE ITfFnPropertyUIStatus_SetStatus_Proxy(
  1145. ITfFnPropertyUIStatus * This,
  1146. /* [in] */ REFGUID refguidProp,
  1147. /* [in] */ DWORD dw);
  1148. void __RPC_STUB ITfFnPropertyUIStatus_SetStatus_Stub(
  1149. IRpcStubBuffer *This,
  1150. IRpcChannelBuffer *_pRpcChannelBuffer,
  1151. PRPC_MESSAGE _pRpcMessage,
  1152. DWORD *_pdwStubPhase);
  1153. #endif /* __ITfFnPropertyUIStatus_INTERFACE_DEFINED__ */
  1154. /* interface __MIDL_itf_ctffunc_0227 */
  1155. /* [local] */
  1156. #define TF_PROPUI_STATUS_SAVETOFILE 0x00000001
  1157. EXTERN_C const GUID GUID_TFCAT_TIP_MASTERLM;
  1158. EXTERN_C const GUID GUID_MASTERLM_FUNCTIONPROVIDER;
  1159. EXTERN_C const GUID GUID_LMLATTICE_CICERO_VER1_0;
  1160. EXTERN_C const GUID GUID_PROP_LMLATTICE;
  1161. extern RPC_IF_HANDLE __MIDL_itf_ctffunc_0227_v0_0_c_ifspec;
  1162. extern RPC_IF_HANDLE __MIDL_itf_ctffunc_0227_v0_0_s_ifspec;
  1163. #ifndef __ITfFnLMProcessor_INTERFACE_DEFINED__
  1164. #define __ITfFnLMProcessor_INTERFACE_DEFINED__
  1165. /* interface ITfFnLMProcessor */
  1166. /* [unique][uuid][object] */
  1167. EXTERN_C const IID IID_ITfFnLMProcessor;
  1168. #if defined(__cplusplus) && !defined(CINTERFACE)
  1169. MIDL_INTERFACE("7AFBF8E7-AC4B-4082-B058-890899D3A010")
  1170. ITfFnLMProcessor : public ITfFunction
  1171. {
  1172. public:
  1173. virtual HRESULT STDMETHODCALLTYPE QueryRange(
  1174. /* [in] */ ITfRange *pRange,
  1175. /* [out] */ ITfRange **ppNewRange,
  1176. /* [out] */ BOOL *pfAccepted) = 0;
  1177. virtual HRESULT STDMETHODCALLTYPE QueryLangID(
  1178. /* [in] */ LANGID langid,
  1179. /* [out] */ BOOL *pfAccepted) = 0;
  1180. virtual HRESULT STDMETHODCALLTYPE GetReconversion(
  1181. /* [in] */ ITfRange *pRange,
  1182. /* [out] */ ITfCandidateList **ppCandList) = 0;
  1183. virtual HRESULT STDMETHODCALLTYPE Reconvert(
  1184. /* [in] */ ITfRange *pRange) = 0;
  1185. virtual HRESULT STDMETHODCALLTYPE QueryKey(
  1186. /* [in] */ BOOL fUp,
  1187. /* [in] */ WPARAM vKey,
  1188. /* [in] */ LPARAM lparamKeydata,
  1189. /* [out] */ BOOL *pfInterested) = 0;
  1190. virtual HRESULT STDMETHODCALLTYPE InvokeKey(
  1191. /* [in] */ BOOL fUp,
  1192. /* [in] */ WPARAM vKey,
  1193. /* [in] */ LPARAM lparamKeyData) = 0;
  1194. virtual HRESULT STDMETHODCALLTYPE InvokeFunc(
  1195. /* [in] */ ITfContext *pic,
  1196. /* [in] */ REFGUID refguidFunc) = 0;
  1197. };
  1198. #else /* C style interface */
  1199. typedef struct ITfFnLMProcessorVtbl
  1200. {
  1201. BEGIN_INTERFACE
  1202. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1203. ITfFnLMProcessor * This,
  1204. /* [in] */ REFIID riid,
  1205. /* [iid_is][out] */ void **ppvObject);
  1206. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1207. ITfFnLMProcessor * This);
  1208. ULONG ( STDMETHODCALLTYPE *Release )(
  1209. ITfFnLMProcessor * This);
  1210. HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
  1211. ITfFnLMProcessor * This,
  1212. /* [out] */ BSTR *pbstrName);
  1213. HRESULT ( STDMETHODCALLTYPE *QueryRange )(
  1214. ITfFnLMProcessor * This,
  1215. /* [in] */ ITfRange *pRange,
  1216. /* [out] */ ITfRange **ppNewRange,
  1217. /* [out] */ BOOL *pfAccepted);
  1218. HRESULT ( STDMETHODCALLTYPE *QueryLangID )(
  1219. ITfFnLMProcessor * This,
  1220. /* [in] */ LANGID langid,
  1221. /* [out] */ BOOL *pfAccepted);
  1222. HRESULT ( STDMETHODCALLTYPE *GetReconversion )(
  1223. ITfFnLMProcessor * This,
  1224. /* [in] */ ITfRange *pRange,
  1225. /* [out] */ ITfCandidateList **ppCandList);
  1226. HRESULT ( STDMETHODCALLTYPE *Reconvert )(
  1227. ITfFnLMProcessor * This,
  1228. /* [in] */ ITfRange *pRange);
  1229. HRESULT ( STDMETHODCALLTYPE *QueryKey )(
  1230. ITfFnLMProcessor * This,
  1231. /* [in] */ BOOL fUp,
  1232. /* [in] */ WPARAM vKey,
  1233. /* [in] */ LPARAM lparamKeydata,
  1234. /* [out] */ BOOL *pfInterested);
  1235. HRESULT ( STDMETHODCALLTYPE *InvokeKey )(
  1236. ITfFnLMProcessor * This,
  1237. /* [in] */ BOOL fUp,
  1238. /* [in] */ WPARAM vKey,
  1239. /* [in] */ LPARAM lparamKeyData);
  1240. HRESULT ( STDMETHODCALLTYPE *InvokeFunc )(
  1241. ITfFnLMProcessor * This,
  1242. /* [in] */ ITfContext *pic,
  1243. /* [in] */ REFGUID refguidFunc);
  1244. END_INTERFACE
  1245. } ITfFnLMProcessorVtbl;
  1246. interface ITfFnLMProcessor
  1247. {
  1248. CONST_VTBL struct ITfFnLMProcessorVtbl *lpVtbl;
  1249. };
  1250. #ifdef COBJMACROS
  1251. #define ITfFnLMProcessor_QueryInterface(This,riid,ppvObject) \
  1252. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1253. #define ITfFnLMProcessor_AddRef(This) \
  1254. (This)->lpVtbl -> AddRef(This)
  1255. #define ITfFnLMProcessor_Release(This) \
  1256. (This)->lpVtbl -> Release(This)
  1257. #define ITfFnLMProcessor_GetDisplayName(This,pbstrName) \
  1258. (This)->lpVtbl -> GetDisplayName(This,pbstrName)
  1259. #define ITfFnLMProcessor_QueryRange(This,pRange,ppNewRange,pfAccepted) \
  1260. (This)->lpVtbl -> QueryRange(This,pRange,ppNewRange,pfAccepted)
  1261. #define ITfFnLMProcessor_QueryLangID(This,langid,pfAccepted) \
  1262. (This)->lpVtbl -> QueryLangID(This,langid,pfAccepted)
  1263. #define ITfFnLMProcessor_GetReconversion(This,pRange,ppCandList) \
  1264. (This)->lpVtbl -> GetReconversion(This,pRange,ppCandList)
  1265. #define ITfFnLMProcessor_Reconvert(This,pRange) \
  1266. (This)->lpVtbl -> Reconvert(This,pRange)
  1267. #define ITfFnLMProcessor_QueryKey(This,fUp,vKey,lparamKeydata,pfInterested) \
  1268. (This)->lpVtbl -> QueryKey(This,fUp,vKey,lparamKeydata,pfInterested)
  1269. #define ITfFnLMProcessor_InvokeKey(This,fUp,vKey,lparamKeyData) \
  1270. (This)->lpVtbl -> InvokeKey(This,fUp,vKey,lparamKeyData)
  1271. #define ITfFnLMProcessor_InvokeFunc(This,pic,refguidFunc) \
  1272. (This)->lpVtbl -> InvokeFunc(This,pic,refguidFunc)
  1273. #endif /* COBJMACROS */
  1274. #endif /* C style interface */
  1275. HRESULT STDMETHODCALLTYPE ITfFnLMProcessor_QueryRange_Proxy(
  1276. ITfFnLMProcessor * This,
  1277. /* [in] */ ITfRange *pRange,
  1278. /* [out] */ ITfRange **ppNewRange,
  1279. /* [out] */ BOOL *pfAccepted);
  1280. void __RPC_STUB ITfFnLMProcessor_QueryRange_Stub(
  1281. IRpcStubBuffer *This,
  1282. IRpcChannelBuffer *_pRpcChannelBuffer,
  1283. PRPC_MESSAGE _pRpcMessage,
  1284. DWORD *_pdwStubPhase);
  1285. HRESULT STDMETHODCALLTYPE ITfFnLMProcessor_QueryLangID_Proxy(
  1286. ITfFnLMProcessor * This,
  1287. /* [in] */ LANGID langid,
  1288. /* [out] */ BOOL *pfAccepted);
  1289. void __RPC_STUB ITfFnLMProcessor_QueryLangID_Stub(
  1290. IRpcStubBuffer *This,
  1291. IRpcChannelBuffer *_pRpcChannelBuffer,
  1292. PRPC_MESSAGE _pRpcMessage,
  1293. DWORD *_pdwStubPhase);
  1294. HRESULT STDMETHODCALLTYPE ITfFnLMProcessor_GetReconversion_Proxy(
  1295. ITfFnLMProcessor * This,
  1296. /* [in] */ ITfRange *pRange,
  1297. /* [out] */ ITfCandidateList **ppCandList);
  1298. void __RPC_STUB ITfFnLMProcessor_GetReconversion_Stub(
  1299. IRpcStubBuffer *This,
  1300. IRpcChannelBuffer *_pRpcChannelBuffer,
  1301. PRPC_MESSAGE _pRpcMessage,
  1302. DWORD *_pdwStubPhase);
  1303. HRESULT STDMETHODCALLTYPE ITfFnLMProcessor_Reconvert_Proxy(
  1304. ITfFnLMProcessor * This,
  1305. /* [in] */ ITfRange *pRange);
  1306. void __RPC_STUB ITfFnLMProcessor_Reconvert_Stub(
  1307. IRpcStubBuffer *This,
  1308. IRpcChannelBuffer *_pRpcChannelBuffer,
  1309. PRPC_MESSAGE _pRpcMessage,
  1310. DWORD *_pdwStubPhase);
  1311. HRESULT STDMETHODCALLTYPE ITfFnLMProcessor_QueryKey_Proxy(
  1312. ITfFnLMProcessor * This,
  1313. /* [in] */ BOOL fUp,
  1314. /* [in] */ WPARAM vKey,
  1315. /* [in] */ LPARAM lparamKeydata,
  1316. /* [out] */ BOOL *pfInterested);
  1317. void __RPC_STUB ITfFnLMProcessor_QueryKey_Stub(
  1318. IRpcStubBuffer *This,
  1319. IRpcChannelBuffer *_pRpcChannelBuffer,
  1320. PRPC_MESSAGE _pRpcMessage,
  1321. DWORD *_pdwStubPhase);
  1322. HRESULT STDMETHODCALLTYPE ITfFnLMProcessor_InvokeKey_Proxy(
  1323. ITfFnLMProcessor * This,
  1324. /* [in] */ BOOL fUp,
  1325. /* [in] */ WPARAM vKey,
  1326. /* [in] */ LPARAM lparamKeyData);
  1327. void __RPC_STUB ITfFnLMProcessor_InvokeKey_Stub(
  1328. IRpcStubBuffer *This,
  1329. IRpcChannelBuffer *_pRpcChannelBuffer,
  1330. PRPC_MESSAGE _pRpcMessage,
  1331. DWORD *_pdwStubPhase);
  1332. HRESULT STDMETHODCALLTYPE ITfFnLMProcessor_InvokeFunc_Proxy(
  1333. ITfFnLMProcessor * This,
  1334. /* [in] */ ITfContext *pic,
  1335. /* [in] */ REFGUID refguidFunc);
  1336. void __RPC_STUB ITfFnLMProcessor_InvokeFunc_Stub(
  1337. IRpcStubBuffer *This,
  1338. IRpcChannelBuffer *_pRpcChannelBuffer,
  1339. PRPC_MESSAGE _pRpcMessage,
  1340. DWORD *_pdwStubPhase);
  1341. #endif /* __ITfFnLMProcessor_INTERFACE_DEFINED__ */
  1342. #ifndef __ITfFnLMInternal_INTERFACE_DEFINED__
  1343. #define __ITfFnLMInternal_INTERFACE_DEFINED__
  1344. /* interface ITfFnLMInternal */
  1345. /* [unique][uuid][object] */
  1346. EXTERN_C const IID IID_ITfFnLMInternal;
  1347. #if defined(__cplusplus) && !defined(CINTERFACE)
  1348. MIDL_INTERFACE("04B825B1-AC9A-4F7B-B5AD-C7168F1EE445")
  1349. ITfFnLMInternal : public ITfFnLMProcessor
  1350. {
  1351. public:
  1352. virtual HRESULT STDMETHODCALLTYPE ProcessLattice(
  1353. /* [in] */ ITfRange *pRange) = 0;
  1354. };
  1355. #else /* C style interface */
  1356. typedef struct ITfFnLMInternalVtbl
  1357. {
  1358. BEGIN_INTERFACE
  1359. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1360. ITfFnLMInternal * This,
  1361. /* [in] */ REFIID riid,
  1362. /* [iid_is][out] */ void **ppvObject);
  1363. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1364. ITfFnLMInternal * This);
  1365. ULONG ( STDMETHODCALLTYPE *Release )(
  1366. ITfFnLMInternal * This);
  1367. HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
  1368. ITfFnLMInternal * This,
  1369. /* [out] */ BSTR *pbstrName);
  1370. HRESULT ( STDMETHODCALLTYPE *QueryRange )(
  1371. ITfFnLMInternal * This,
  1372. /* [in] */ ITfRange *pRange,
  1373. /* [out] */ ITfRange **ppNewRange,
  1374. /* [out] */ BOOL *pfAccepted);
  1375. HRESULT ( STDMETHODCALLTYPE *QueryLangID )(
  1376. ITfFnLMInternal * This,
  1377. /* [in] */ LANGID langid,
  1378. /* [out] */ BOOL *pfAccepted);
  1379. HRESULT ( STDMETHODCALLTYPE *GetReconversion )(
  1380. ITfFnLMInternal * This,
  1381. /* [in] */ ITfRange *pRange,
  1382. /* [out] */ ITfCandidateList **ppCandList);
  1383. HRESULT ( STDMETHODCALLTYPE *Reconvert )(
  1384. ITfFnLMInternal * This,
  1385. /* [in] */ ITfRange *pRange);
  1386. HRESULT ( STDMETHODCALLTYPE *QueryKey )(
  1387. ITfFnLMInternal * This,
  1388. /* [in] */ BOOL fUp,
  1389. /* [in] */ WPARAM vKey,
  1390. /* [in] */ LPARAM lparamKeydata,
  1391. /* [out] */ BOOL *pfInterested);
  1392. HRESULT ( STDMETHODCALLTYPE *InvokeKey )(
  1393. ITfFnLMInternal * This,
  1394. /* [in] */ BOOL fUp,
  1395. /* [in] */ WPARAM vKey,
  1396. /* [in] */ LPARAM lparamKeyData);
  1397. HRESULT ( STDMETHODCALLTYPE *InvokeFunc )(
  1398. ITfFnLMInternal * This,
  1399. /* [in] */ ITfContext *pic,
  1400. /* [in] */ REFGUID refguidFunc);
  1401. HRESULT ( STDMETHODCALLTYPE *ProcessLattice )(
  1402. ITfFnLMInternal * This,
  1403. /* [in] */ ITfRange *pRange);
  1404. END_INTERFACE
  1405. } ITfFnLMInternalVtbl;
  1406. interface ITfFnLMInternal
  1407. {
  1408. CONST_VTBL struct ITfFnLMInternalVtbl *lpVtbl;
  1409. };
  1410. #ifdef COBJMACROS
  1411. #define ITfFnLMInternal_QueryInterface(This,riid,ppvObject) \
  1412. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1413. #define ITfFnLMInternal_AddRef(This) \
  1414. (This)->lpVtbl -> AddRef(This)
  1415. #define ITfFnLMInternal_Release(This) \
  1416. (This)->lpVtbl -> Release(This)
  1417. #define ITfFnLMInternal_GetDisplayName(This,pbstrName) \
  1418. (This)->lpVtbl -> GetDisplayName(This,pbstrName)
  1419. #define ITfFnLMInternal_QueryRange(This,pRange,ppNewRange,pfAccepted) \
  1420. (This)->lpVtbl -> QueryRange(This,pRange,ppNewRange,pfAccepted)
  1421. #define ITfFnLMInternal_QueryLangID(This,langid,pfAccepted) \
  1422. (This)->lpVtbl -> QueryLangID(This,langid,pfAccepted)
  1423. #define ITfFnLMInternal_GetReconversion(This,pRange,ppCandList) \
  1424. (This)->lpVtbl -> GetReconversion(This,pRange,ppCandList)
  1425. #define ITfFnLMInternal_Reconvert(This,pRange) \
  1426. (This)->lpVtbl -> Reconvert(This,pRange)
  1427. #define ITfFnLMInternal_QueryKey(This,fUp,vKey,lparamKeydata,pfInterested) \
  1428. (This)->lpVtbl -> QueryKey(This,fUp,vKey,lparamKeydata,pfInterested)
  1429. #define ITfFnLMInternal_InvokeKey(This,fUp,vKey,lparamKeyData) \
  1430. (This)->lpVtbl -> InvokeKey(This,fUp,vKey,lparamKeyData)
  1431. #define ITfFnLMInternal_InvokeFunc(This,pic,refguidFunc) \
  1432. (This)->lpVtbl -> InvokeFunc(This,pic,refguidFunc)
  1433. #define ITfFnLMInternal_ProcessLattice(This,pRange) \
  1434. (This)->lpVtbl -> ProcessLattice(This,pRange)
  1435. #endif /* COBJMACROS */
  1436. #endif /* C style interface */
  1437. HRESULT STDMETHODCALLTYPE ITfFnLMInternal_ProcessLattice_Proxy(
  1438. ITfFnLMInternal * This,
  1439. /* [in] */ ITfRange *pRange);
  1440. void __RPC_STUB ITfFnLMInternal_ProcessLattice_Stub(
  1441. IRpcStubBuffer *This,
  1442. IRpcChannelBuffer *_pRpcChannelBuffer,
  1443. PRPC_MESSAGE _pRpcMessage,
  1444. DWORD *_pdwStubPhase);
  1445. #endif /* __ITfFnLMInternal_INTERFACE_DEFINED__ */
  1446. /* interface __MIDL_itf_ctffunc_0229 */
  1447. /* [local] */
  1448. typedef /* [uuid] */ DECLSPEC_UUID("1b646efe-3ce3-4ce2-b41f-35b93fe5552f") struct TF_LMLATTELEMENT
  1449. {
  1450. DWORD dwFrameStart;
  1451. DWORD dwFrameLen;
  1452. DWORD dwFlags;
  1453. /* [switch_is][switch_type] */ union
  1454. {
  1455. /* [case()] */ INT iCost;
  1456. } ;
  1457. BSTR bstrText;
  1458. } TF_LMLATTELEMENT;
  1459. extern RPC_IF_HANDLE __MIDL_itf_ctffunc_0229_v0_0_c_ifspec;
  1460. extern RPC_IF_HANDLE __MIDL_itf_ctffunc_0229_v0_0_s_ifspec;
  1461. #ifndef __IEnumTfLatticeElements_INTERFACE_DEFINED__
  1462. #define __IEnumTfLatticeElements_INTERFACE_DEFINED__
  1463. /* interface IEnumTfLatticeElements */
  1464. /* [unique][uuid][object] */
  1465. EXTERN_C const IID IID_IEnumTfLatticeElements;
  1466. #if defined(__cplusplus) && !defined(CINTERFACE)
  1467. MIDL_INTERFACE("56988052-47DA-4A05-911A-E3D941F17145")
  1468. IEnumTfLatticeElements : public IUnknown
  1469. {
  1470. public:
  1471. virtual HRESULT STDMETHODCALLTYPE Clone(
  1472. /* [out] */ IEnumTfLatticeElements **ppEnum) = 0;
  1473. virtual HRESULT STDMETHODCALLTYPE Next(
  1474. /* [in] */ ULONG ulCount,
  1475. /* [length_is][size_is][out] */ TF_LMLATTELEMENT *rgsElements,
  1476. /* [out] */ ULONG *pcFetched) = 0;
  1477. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1478. virtual HRESULT STDMETHODCALLTYPE Skip(
  1479. /* [in] */ ULONG ulCount) = 0;
  1480. };
  1481. #else /* C style interface */
  1482. typedef struct IEnumTfLatticeElementsVtbl
  1483. {
  1484. BEGIN_INTERFACE
  1485. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1486. IEnumTfLatticeElements * This,
  1487. /* [in] */ REFIID riid,
  1488. /* [iid_is][out] */ void **ppvObject);
  1489. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1490. IEnumTfLatticeElements * This);
  1491. ULONG ( STDMETHODCALLTYPE *Release )(
  1492. IEnumTfLatticeElements * This);
  1493. HRESULT ( STDMETHODCALLTYPE *Clone )(
  1494. IEnumTfLatticeElements * This,
  1495. /* [out] */ IEnumTfLatticeElements **ppEnum);
  1496. HRESULT ( STDMETHODCALLTYPE *Next )(
  1497. IEnumTfLatticeElements * This,
  1498. /* [in] */ ULONG ulCount,
  1499. /* [length_is][size_is][out] */ TF_LMLATTELEMENT *rgsElements,
  1500. /* [out] */ ULONG *pcFetched);
  1501. HRESULT ( STDMETHODCALLTYPE *Reset )(
  1502. IEnumTfLatticeElements * This);
  1503. HRESULT ( STDMETHODCALLTYPE *Skip )(
  1504. IEnumTfLatticeElements * This,
  1505. /* [in] */ ULONG ulCount);
  1506. END_INTERFACE
  1507. } IEnumTfLatticeElementsVtbl;
  1508. interface IEnumTfLatticeElements
  1509. {
  1510. CONST_VTBL struct IEnumTfLatticeElementsVtbl *lpVtbl;
  1511. };
  1512. #ifdef COBJMACROS
  1513. #define IEnumTfLatticeElements_QueryInterface(This,riid,ppvObject) \
  1514. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1515. #define IEnumTfLatticeElements_AddRef(This) \
  1516. (This)->lpVtbl -> AddRef(This)
  1517. #define IEnumTfLatticeElements_Release(This) \
  1518. (This)->lpVtbl -> Release(This)
  1519. #define IEnumTfLatticeElements_Clone(This,ppEnum) \
  1520. (This)->lpVtbl -> Clone(This,ppEnum)
  1521. #define IEnumTfLatticeElements_Next(This,ulCount,rgsElements,pcFetched) \
  1522. (This)->lpVtbl -> Next(This,ulCount,rgsElements,pcFetched)
  1523. #define IEnumTfLatticeElements_Reset(This) \
  1524. (This)->lpVtbl -> Reset(This)
  1525. #define IEnumTfLatticeElements_Skip(This,ulCount) \
  1526. (This)->lpVtbl -> Skip(This,ulCount)
  1527. #endif /* COBJMACROS */
  1528. #endif /* C style interface */
  1529. HRESULT STDMETHODCALLTYPE IEnumTfLatticeElements_Clone_Proxy(
  1530. IEnumTfLatticeElements * This,
  1531. /* [out] */ IEnumTfLatticeElements **ppEnum);
  1532. void __RPC_STUB IEnumTfLatticeElements_Clone_Stub(
  1533. IRpcStubBuffer *This,
  1534. IRpcChannelBuffer *_pRpcChannelBuffer,
  1535. PRPC_MESSAGE _pRpcMessage,
  1536. DWORD *_pdwStubPhase);
  1537. HRESULT STDMETHODCALLTYPE IEnumTfLatticeElements_Next_Proxy(
  1538. IEnumTfLatticeElements * This,
  1539. /* [in] */ ULONG ulCount,
  1540. /* [length_is][size_is][out] */ TF_LMLATTELEMENT *rgsElements,
  1541. /* [out] */ ULONG *pcFetched);
  1542. void __RPC_STUB IEnumTfLatticeElements_Next_Stub(
  1543. IRpcStubBuffer *This,
  1544. IRpcChannelBuffer *_pRpcChannelBuffer,
  1545. PRPC_MESSAGE _pRpcMessage,
  1546. DWORD *_pdwStubPhase);
  1547. HRESULT STDMETHODCALLTYPE IEnumTfLatticeElements_Reset_Proxy(
  1548. IEnumTfLatticeElements * This);
  1549. void __RPC_STUB IEnumTfLatticeElements_Reset_Stub(
  1550. IRpcStubBuffer *This,
  1551. IRpcChannelBuffer *_pRpcChannelBuffer,
  1552. PRPC_MESSAGE _pRpcMessage,
  1553. DWORD *_pdwStubPhase);
  1554. HRESULT STDMETHODCALLTYPE IEnumTfLatticeElements_Skip_Proxy(
  1555. IEnumTfLatticeElements * This,
  1556. /* [in] */ ULONG ulCount);
  1557. void __RPC_STUB IEnumTfLatticeElements_Skip_Stub(
  1558. IRpcStubBuffer *This,
  1559. IRpcChannelBuffer *_pRpcChannelBuffer,
  1560. PRPC_MESSAGE _pRpcMessage,
  1561. DWORD *_pdwStubPhase);
  1562. #endif /* __IEnumTfLatticeElements_INTERFACE_DEFINED__ */
  1563. #ifndef __ITfLMLattice_INTERFACE_DEFINED__
  1564. #define __ITfLMLattice_INTERFACE_DEFINED__
  1565. /* interface ITfLMLattice */
  1566. /* [unique][uuid][object] */
  1567. EXTERN_C const IID IID_ITfLMLattice;
  1568. #if defined(__cplusplus) && !defined(CINTERFACE)
  1569. MIDL_INTERFACE("D4236675-A5BF-4570-9D42-5D6D7B02D59B")
  1570. ITfLMLattice : public IUnknown
  1571. {
  1572. public:
  1573. virtual HRESULT STDMETHODCALLTYPE QueryType(
  1574. /* [in] */ REFGUID rguidType,
  1575. /* [out] */ BOOL *pfSupported) = 0;
  1576. virtual HRESULT STDMETHODCALLTYPE EnumLatticeElements(
  1577. /* [in] */ DWORD dwFrameStart,
  1578. /* [in] */ REFGUID rguidType,
  1579. /* [out] */ IEnumTfLatticeElements **ppEnum) = 0;
  1580. };
  1581. #else /* C style interface */
  1582. typedef struct ITfLMLatticeVtbl
  1583. {
  1584. BEGIN_INTERFACE
  1585. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1586. ITfLMLattice * This,
  1587. /* [in] */ REFIID riid,
  1588. /* [iid_is][out] */ void **ppvObject);
  1589. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1590. ITfLMLattice * This);
  1591. ULONG ( STDMETHODCALLTYPE *Release )(
  1592. ITfLMLattice * This);
  1593. HRESULT ( STDMETHODCALLTYPE *QueryType )(
  1594. ITfLMLattice * This,
  1595. /* [in] */ REFGUID rguidType,
  1596. /* [out] */ BOOL *pfSupported);
  1597. HRESULT ( STDMETHODCALLTYPE *EnumLatticeElements )(
  1598. ITfLMLattice * This,
  1599. /* [in] */ DWORD dwFrameStart,
  1600. /* [in] */ REFGUID rguidType,
  1601. /* [out] */ IEnumTfLatticeElements **ppEnum);
  1602. END_INTERFACE
  1603. } ITfLMLatticeVtbl;
  1604. interface ITfLMLattice
  1605. {
  1606. CONST_VTBL struct ITfLMLatticeVtbl *lpVtbl;
  1607. };
  1608. #ifdef COBJMACROS
  1609. #define ITfLMLattice_QueryInterface(This,riid,ppvObject) \
  1610. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1611. #define ITfLMLattice_AddRef(This) \
  1612. (This)->lpVtbl -> AddRef(This)
  1613. #define ITfLMLattice_Release(This) \
  1614. (This)->lpVtbl -> Release(This)
  1615. #define ITfLMLattice_QueryType(This,rguidType,pfSupported) \
  1616. (This)->lpVtbl -> QueryType(This,rguidType,pfSupported)
  1617. #define ITfLMLattice_EnumLatticeElements(This,dwFrameStart,rguidType,ppEnum) \
  1618. (This)->lpVtbl -> EnumLatticeElements(This,dwFrameStart,rguidType,ppEnum)
  1619. #endif /* COBJMACROS */
  1620. #endif /* C style interface */
  1621. HRESULT STDMETHODCALLTYPE ITfLMLattice_QueryType_Proxy(
  1622. ITfLMLattice * This,
  1623. /* [in] */ REFGUID rguidType,
  1624. /* [out] */ BOOL *pfSupported);
  1625. void __RPC_STUB ITfLMLattice_QueryType_Stub(
  1626. IRpcStubBuffer *This,
  1627. IRpcChannelBuffer *_pRpcChannelBuffer,
  1628. PRPC_MESSAGE _pRpcMessage,
  1629. DWORD *_pdwStubPhase);
  1630. HRESULT STDMETHODCALLTYPE ITfLMLattice_EnumLatticeElements_Proxy(
  1631. ITfLMLattice * This,
  1632. /* [in] */ DWORD dwFrameStart,
  1633. /* [in] */ REFGUID rguidType,
  1634. /* [out] */ IEnumTfLatticeElements **ppEnum);
  1635. void __RPC_STUB ITfLMLattice_EnumLatticeElements_Stub(
  1636. IRpcStubBuffer *This,
  1637. IRpcChannelBuffer *_pRpcChannelBuffer,
  1638. PRPC_MESSAGE _pRpcMessage,
  1639. DWORD *_pdwStubPhase);
  1640. #endif /* __ITfLMLattice_INTERFACE_DEFINED__ */
  1641. #ifndef __ITfFnAdviseText_INTERFACE_DEFINED__
  1642. #define __ITfFnAdviseText_INTERFACE_DEFINED__
  1643. /* interface ITfFnAdviseText */
  1644. /* [unique][uuid][object] */
  1645. EXTERN_C const IID IID_ITfFnAdviseText;
  1646. #if defined(__cplusplus) && !defined(CINTERFACE)
  1647. MIDL_INTERFACE("3527268B-7D53-4DD9-92B7-7296AE461249")
  1648. ITfFnAdviseText : public ITfFunction
  1649. {
  1650. public:
  1651. virtual HRESULT STDMETHODCALLTYPE OnTextUpdate(
  1652. /* [in] */ ITfRange *pRange,
  1653. /* [size_is][in] */ const WCHAR *pchText,
  1654. /* [in] */ LONG cch) = 0;
  1655. virtual HRESULT STDMETHODCALLTYPE OnLatticeUpdate(
  1656. /* [in] */ ITfRange *pRange,
  1657. /* [in] */ ITfLMLattice *pLattice) = 0;
  1658. };
  1659. #else /* C style interface */
  1660. typedef struct ITfFnAdviseTextVtbl
  1661. {
  1662. BEGIN_INTERFACE
  1663. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1664. ITfFnAdviseText * This,
  1665. /* [in] */ REFIID riid,
  1666. /* [iid_is][out] */ void **ppvObject);
  1667. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1668. ITfFnAdviseText * This);
  1669. ULONG ( STDMETHODCALLTYPE *Release )(
  1670. ITfFnAdviseText * This);
  1671. HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
  1672. ITfFnAdviseText * This,
  1673. /* [out] */ BSTR *pbstrName);
  1674. HRESULT ( STDMETHODCALLTYPE *OnTextUpdate )(
  1675. ITfFnAdviseText * This,
  1676. /* [in] */ ITfRange *pRange,
  1677. /* [size_is][in] */ const WCHAR *pchText,
  1678. /* [in] */ LONG cch);
  1679. HRESULT ( STDMETHODCALLTYPE *OnLatticeUpdate )(
  1680. ITfFnAdviseText * This,
  1681. /* [in] */ ITfRange *pRange,
  1682. /* [in] */ ITfLMLattice *pLattice);
  1683. END_INTERFACE
  1684. } ITfFnAdviseTextVtbl;
  1685. interface ITfFnAdviseText
  1686. {
  1687. CONST_VTBL struct ITfFnAdviseTextVtbl *lpVtbl;
  1688. };
  1689. #ifdef COBJMACROS
  1690. #define ITfFnAdviseText_QueryInterface(This,riid,ppvObject) \
  1691. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1692. #define ITfFnAdviseText_AddRef(This) \
  1693. (This)->lpVtbl -> AddRef(This)
  1694. #define ITfFnAdviseText_Release(This) \
  1695. (This)->lpVtbl -> Release(This)
  1696. #define ITfFnAdviseText_GetDisplayName(This,pbstrName) \
  1697. (This)->lpVtbl -> GetDisplayName(This,pbstrName)
  1698. #define ITfFnAdviseText_OnTextUpdate(This,pRange,pchText,cch) \
  1699. (This)->lpVtbl -> OnTextUpdate(This,pRange,pchText,cch)
  1700. #define ITfFnAdviseText_OnLatticeUpdate(This,pRange,pLattice) \
  1701. (This)->lpVtbl -> OnLatticeUpdate(This,pRange,pLattice)
  1702. #endif /* COBJMACROS */
  1703. #endif /* C style interface */
  1704. HRESULT STDMETHODCALLTYPE ITfFnAdviseText_OnTextUpdate_Proxy(
  1705. ITfFnAdviseText * This,
  1706. /* [in] */ ITfRange *pRange,
  1707. /* [size_is][in] */ const WCHAR *pchText,
  1708. /* [in] */ LONG cch);
  1709. void __RPC_STUB ITfFnAdviseText_OnTextUpdate_Stub(
  1710. IRpcStubBuffer *This,
  1711. IRpcChannelBuffer *_pRpcChannelBuffer,
  1712. PRPC_MESSAGE _pRpcMessage,
  1713. DWORD *_pdwStubPhase);
  1714. HRESULT STDMETHODCALLTYPE ITfFnAdviseText_OnLatticeUpdate_Proxy(
  1715. ITfFnAdviseText * This,
  1716. /* [in] */ ITfRange *pRange,
  1717. /* [in] */ ITfLMLattice *pLattice);
  1718. void __RPC_STUB ITfFnAdviseText_OnLatticeUpdate_Stub(
  1719. IRpcStubBuffer *This,
  1720. IRpcChannelBuffer *_pRpcChannelBuffer,
  1721. PRPC_MESSAGE _pRpcMessage,
  1722. DWORD *_pdwStubPhase);
  1723. #endif /* __ITfFnAdviseText_INTERFACE_DEFINED__ */
  1724. /* interface __MIDL_itf_ctffunc_0232 */
  1725. /* [local] */
  1726. #endif // CTFFUNC_DEFINED
  1727. extern RPC_IF_HANDLE __MIDL_itf_ctffunc_0232_v0_0_c_ifspec;
  1728. extern RPC_IF_HANDLE __MIDL_itf_ctffunc_0232_v0_0_s_ifspec;
  1729. /* Additional Prototypes for ALL interfaces */
  1730. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  1731. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  1732. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  1733. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  1734. unsigned long __RPC_USER HWND_UserSize( unsigned long *, unsigned long , HWND * );
  1735. unsigned char * __RPC_USER HWND_UserMarshal( unsigned long *, unsigned char *, HWND * );
  1736. unsigned char * __RPC_USER HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND * );
  1737. void __RPC_USER HWND_UserFree( unsigned long *, HWND * );
  1738. /* end of Additional Prototypes */
  1739. #ifdef __cplusplus
  1740. }
  1741. #endif
  1742. #endif