ctffunc.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:71k
源码类别:

模拟服务器

开发平台:

C/C++

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