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

模拟服务器

开发平台:

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 sapiddk.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 __sapiddk_h__
  27. #define __sapiddk_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */ 
  32. #ifndef __ISpTokenUI_FWD_DEFINED__
  33. #define __ISpTokenUI_FWD_DEFINED__
  34. typedef interface ISpTokenUI ISpTokenUI;
  35. #endif  /* __ISpTokenUI_FWD_DEFINED__ */
  36. #ifndef __ISpObjectTokenEnumBuilder_FWD_DEFINED__
  37. #define __ISpObjectTokenEnumBuilder_FWD_DEFINED__
  38. typedef interface ISpObjectTokenEnumBuilder ISpObjectTokenEnumBuilder;
  39. #endif  /* __ISpObjectTokenEnumBuilder_FWD_DEFINED__ */
  40. #ifndef __ISpErrorLog_FWD_DEFINED__
  41. #define __ISpErrorLog_FWD_DEFINED__
  42. typedef interface ISpErrorLog ISpErrorLog;
  43. #endif  /* __ISpErrorLog_FWD_DEFINED__ */
  44. #ifndef __ISpGrammarCompiler_FWD_DEFINED__
  45. #define __ISpGrammarCompiler_FWD_DEFINED__
  46. typedef interface ISpGrammarCompiler ISpGrammarCompiler;
  47. #endif  /* __ISpGrammarCompiler_FWD_DEFINED__ */
  48. #ifndef __ISpGramCompBackend_FWD_DEFINED__
  49. #define __ISpGramCompBackend_FWD_DEFINED__
  50. typedef interface ISpGramCompBackend ISpGramCompBackend;
  51. #endif  /* __ISpGramCompBackend_FWD_DEFINED__ */
  52. #ifndef __ISpITNProcessor_FWD_DEFINED__
  53. #define __ISpITNProcessor_FWD_DEFINED__
  54. typedef interface ISpITNProcessor ISpITNProcessor;
  55. #endif  /* __ISpITNProcessor_FWD_DEFINED__ */
  56. #ifndef __ISpPhraseBuilder_FWD_DEFINED__
  57. #define __ISpPhraseBuilder_FWD_DEFINED__
  58. typedef interface ISpPhraseBuilder ISpPhraseBuilder;
  59. #endif  /* __ISpPhraseBuilder_FWD_DEFINED__ */
  60. #ifndef __ISpThreadControl_FWD_DEFINED__
  61. #define __ISpThreadControl_FWD_DEFINED__
  62. typedef interface ISpThreadControl ISpThreadControl;
  63. #endif  /* __ISpThreadControl_FWD_DEFINED__ */
  64. #ifndef __ISpTaskManager_FWD_DEFINED__
  65. #define __ISpTaskManager_FWD_DEFINED__
  66. typedef interface ISpTaskManager ISpTaskManager;
  67. #endif  /* __ISpTaskManager_FWD_DEFINED__ */
  68. #ifndef __ISpTTSEngineSite_FWD_DEFINED__
  69. #define __ISpTTSEngineSite_FWD_DEFINED__
  70. typedef interface ISpTTSEngineSite ISpTTSEngineSite;
  71. #endif  /* __ISpTTSEngineSite_FWD_DEFINED__ */
  72. #ifndef __ISpTTSEngine_FWD_DEFINED__
  73. #define __ISpTTSEngine_FWD_DEFINED__
  74. typedef interface ISpTTSEngine ISpTTSEngine;
  75. #endif  /* __ISpTTSEngine_FWD_DEFINED__ */
  76. #ifndef __ISpCFGInterpreterSite_FWD_DEFINED__
  77. #define __ISpCFGInterpreterSite_FWD_DEFINED__
  78. typedef interface ISpCFGInterpreterSite ISpCFGInterpreterSite;
  79. #endif  /* __ISpCFGInterpreterSite_FWD_DEFINED__ */
  80. #ifndef __ISpCFGInterpreter_FWD_DEFINED__
  81. #define __ISpCFGInterpreter_FWD_DEFINED__
  82. typedef interface ISpCFGInterpreter ISpCFGInterpreter;
  83. #endif  /* __ISpCFGInterpreter_FWD_DEFINED__ */
  84. #ifndef __ISpSREngineSite_FWD_DEFINED__
  85. #define __ISpSREngineSite_FWD_DEFINED__
  86. typedef interface ISpSREngineSite ISpSREngineSite;
  87. #endif  /* __ISpSREngineSite_FWD_DEFINED__ */
  88. #ifndef __ISpSREngine_FWD_DEFINED__
  89. #define __ISpSREngine_FWD_DEFINED__
  90. typedef interface ISpSREngine ISpSREngine;
  91. #endif  /* __ISpSREngine_FWD_DEFINED__ */
  92. #ifndef __ISpSRAlternates_FWD_DEFINED__
  93. #define __ISpSRAlternates_FWD_DEFINED__
  94. typedef interface ISpSRAlternates ISpSRAlternates;
  95. #endif  /* __ISpSRAlternates_FWD_DEFINED__ */
  96. #ifndef ___ISpPrivateEngineCall_FWD_DEFINED__
  97. #define ___ISpPrivateEngineCall_FWD_DEFINED__
  98. typedef interface _ISpPrivateEngineCall _ISpPrivateEngineCall;
  99. #endif  /* ___ISpPrivateEngineCall_FWD_DEFINED__ */
  100. #ifndef __SpDataKey_FWD_DEFINED__
  101. #define __SpDataKey_FWD_DEFINED__
  102. #ifdef __cplusplus
  103. typedef class SpDataKey SpDataKey;
  104. #else
  105. typedef struct SpDataKey SpDataKey;
  106. #endif /* __cplusplus */
  107. #endif  /* __SpDataKey_FWD_DEFINED__ */
  108. #ifndef __SpObjectTokenEnum_FWD_DEFINED__
  109. #define __SpObjectTokenEnum_FWD_DEFINED__
  110. #ifdef __cplusplus
  111. typedef class SpObjectTokenEnum SpObjectTokenEnum;
  112. #else
  113. typedef struct SpObjectTokenEnum SpObjectTokenEnum;
  114. #endif /* __cplusplus */
  115. #endif  /* __SpObjectTokenEnum_FWD_DEFINED__ */
  116. #ifndef __SpPhraseBuilder_FWD_DEFINED__
  117. #define __SpPhraseBuilder_FWD_DEFINED__
  118. #ifdef __cplusplus
  119. typedef class SpPhraseBuilder SpPhraseBuilder;
  120. #else
  121. typedef struct SpPhraseBuilder SpPhraseBuilder;
  122. #endif /* __cplusplus */
  123. #endif  /* __SpPhraseBuilder_FWD_DEFINED__ */
  124. #ifndef __SpITNProcessor_FWD_DEFINED__
  125. #define __SpITNProcessor_FWD_DEFINED__
  126. #ifdef __cplusplus
  127. typedef class SpITNProcessor SpITNProcessor;
  128. #else
  129. typedef struct SpITNProcessor SpITNProcessor;
  130. #endif /* __cplusplus */
  131. #endif  /* __SpITNProcessor_FWD_DEFINED__ */
  132. #ifndef __SpGrammarCompiler_FWD_DEFINED__
  133. #define __SpGrammarCompiler_FWD_DEFINED__
  134. #ifdef __cplusplus
  135. typedef class SpGrammarCompiler SpGrammarCompiler;
  136. #else
  137. typedef struct SpGrammarCompiler SpGrammarCompiler;
  138. #endif /* __cplusplus */
  139. #endif  /* __SpGrammarCompiler_FWD_DEFINED__ */
  140. #ifndef __SpGramCompBackend_FWD_DEFINED__
  141. #define __SpGramCompBackend_FWD_DEFINED__
  142. #ifdef __cplusplus
  143. typedef class SpGramCompBackend SpGramCompBackend;
  144. #else
  145. typedef struct SpGramCompBackend SpGramCompBackend;
  146. #endif /* __cplusplus */
  147. #endif  /* __SpGramCompBackend_FWD_DEFINED__ */
  148. /* header files for imported files */
  149. #include "oaidl.h"
  150. #include "ocidl.h"
  151. #include "sapi.h"
  152. #ifdef __cplusplus
  153. extern "C"{
  154. #endif 
  155. void * __RPC_USER MIDL_user_allocate(size_t);
  156. void __RPC_USER MIDL_user_free( void * ); 
  157. /* interface __MIDL_itf_sapiddk_0000 */
  158. /* [local] */ 
  159. #define SPRECOEXTENSION   L"RecoExtension"
  160. #define SPALTERNATESCLSID L"AlternatesCLSID"
  161. extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0000_v0_0_c_ifspec;
  162. extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0000_v0_0_s_ifspec;
  163. #ifndef __ISpTokenUI_INTERFACE_DEFINED__
  164. #define __ISpTokenUI_INTERFACE_DEFINED__
  165. /* interface ISpTokenUI */
  166. /* [restricted][unique][helpstring][uuid][object] */ 
  167. EXTERN_C const IID IID_ISpTokenUI;
  168. #if defined(__cplusplus) && !defined(CINTERFACE)
  169.     
  170.     MIDL_INTERFACE("F8E690F0-39CB-4843-B8D7-C84696E1119D")
  171.     ISpTokenUI : public IUnknown
  172.     {
  173.     public:
  174.         virtual /* [local] */ HRESULT STDMETHODCALLTYPE IsUISupported( 
  175.             /* [in] */ const WCHAR *pszTypeOfUI,
  176.             /* [in] */ void *pvExtraData,
  177.             /* [in] */ ULONG cbExtraData,
  178.             /* [in] */ IUnknown *punkObject,
  179.             /* [out] */ BOOL *pfSupported) = 0;
  180.         
  181.         virtual /* [local] */ HRESULT STDMETHODCALLTYPE DisplayUI( 
  182.             /* [in] */ HWND hwndParent,
  183.             /* [in] */ const WCHAR *pszTitle,
  184.             /* [in] */ const WCHAR *pszTypeOfUI,
  185.             /* [in] */ void *pvExtraData,
  186.             /* [in] */ ULONG cbExtraData,
  187.             /* [in] */ ISpObjectToken *pToken,
  188.             /* [in] */ IUnknown *punkObject) = 0;
  189.         
  190.     };
  191.     
  192. #else  /* C style interface */
  193.     typedef struct ISpTokenUIVtbl
  194.     {
  195.         BEGIN_INTERFACE
  196.         
  197.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  198.             ISpTokenUI * This,
  199.             /* [in] */ REFIID riid,
  200.             /* [iid_is][out] */ void **ppvObject);
  201.         
  202.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  203.             ISpTokenUI * This);
  204.         
  205.         ULONG ( STDMETHODCALLTYPE *Release )( 
  206.             ISpTokenUI * This);
  207.         
  208.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *IsUISupported )( 
  209.             ISpTokenUI * This,
  210.             /* [in] */ const WCHAR *pszTypeOfUI,
  211.             /* [in] */ void *pvExtraData,
  212.             /* [in] */ ULONG cbExtraData,
  213.             /* [in] */ IUnknown *punkObject,
  214.             /* [out] */ BOOL *pfSupported);
  215.         
  216.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *DisplayUI )( 
  217.             ISpTokenUI * This,
  218.             /* [in] */ HWND hwndParent,
  219.             /* [in] */ const WCHAR *pszTitle,
  220.             /* [in] */ const WCHAR *pszTypeOfUI,
  221.             /* [in] */ void *pvExtraData,
  222.             /* [in] */ ULONG cbExtraData,
  223.             /* [in] */ ISpObjectToken *pToken,
  224.             /* [in] */ IUnknown *punkObject);
  225.         
  226.         END_INTERFACE
  227.     } ISpTokenUIVtbl;
  228.     interface ISpTokenUI
  229.     {
  230.         CONST_VTBL struct ISpTokenUIVtbl *lpVtbl;
  231.     };
  232.     
  233. #ifdef COBJMACROS
  234. #define ISpTokenUI_QueryInterface(This,riid,ppvObject)
  235.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  236. #define ISpTokenUI_AddRef(This)
  237.     (This)->lpVtbl -> AddRef(This)
  238. #define ISpTokenUI_Release(This)
  239.     (This)->lpVtbl -> Release(This)
  240. #define ISpTokenUI_IsUISupported(This,pszTypeOfUI,pvExtraData,cbExtraData,punkObject,pfSupported)
  241.     (This)->lpVtbl -> IsUISupported(This,pszTypeOfUI,pvExtraData,cbExtraData,punkObject,pfSupported)
  242. #define ISpTokenUI_DisplayUI(This,hwndParent,pszTitle,pszTypeOfUI,pvExtraData,cbExtraData,pToken,punkObject)
  243.     (This)->lpVtbl -> DisplayUI(This,hwndParent,pszTitle,pszTypeOfUI,pvExtraData,cbExtraData,pToken,punkObject)
  244. #endif /* COBJMACROS */
  245. #endif  /* C style interface */
  246. /* [local] */ HRESULT STDMETHODCALLTYPE ISpTokenUI_IsUISupported_Proxy( 
  247.     ISpTokenUI * This,
  248.     /* [in] */ const WCHAR *pszTypeOfUI,
  249.     /* [in] */ void *pvExtraData,
  250.     /* [in] */ ULONG cbExtraData,
  251.     /* [in] */ IUnknown *punkObject,
  252.     /* [out] */ BOOL *pfSupported);
  253. void __RPC_STUB ISpTokenUI_IsUISupported_Stub(
  254.     IRpcStubBuffer *This,
  255.     IRpcChannelBuffer *_pRpcChannelBuffer,
  256.     PRPC_MESSAGE _pRpcMessage,
  257.     DWORD *_pdwStubPhase);
  258. /* [local] */ HRESULT STDMETHODCALLTYPE ISpTokenUI_DisplayUI_Proxy( 
  259.     ISpTokenUI * This,
  260.     /* [in] */ HWND hwndParent,
  261.     /* [in] */ const WCHAR *pszTitle,
  262.     /* [in] */ const WCHAR *pszTypeOfUI,
  263.     /* [in] */ void *pvExtraData,
  264.     /* [in] */ ULONG cbExtraData,
  265.     /* [in] */ ISpObjectToken *pToken,
  266.     /* [in] */ IUnknown *punkObject);
  267. void __RPC_STUB ISpTokenUI_DisplayUI_Stub(
  268.     IRpcStubBuffer *This,
  269.     IRpcChannelBuffer *_pRpcChannelBuffer,
  270.     PRPC_MESSAGE _pRpcMessage,
  271.     DWORD *_pdwStubPhase);
  272. #endif  /* __ISpTokenUI_INTERFACE_DEFINED__ */
  273. #ifndef __ISpObjectTokenEnumBuilder_INTERFACE_DEFINED__
  274. #define __ISpObjectTokenEnumBuilder_INTERFACE_DEFINED__
  275. /* interface ISpObjectTokenEnumBuilder */
  276. /* [restricted][unique][helpstring][uuid][object] */ 
  277. EXTERN_C const IID IID_ISpObjectTokenEnumBuilder;
  278. #if defined(__cplusplus) && !defined(CINTERFACE)
  279.     
  280.     MIDL_INTERFACE("06B64F9F-7FDA-11d2-B4F2-00C04F797396")
  281.     ISpObjectTokenEnumBuilder : public IEnumSpObjectTokens
  282.     {
  283.     public:
  284.         virtual HRESULT STDMETHODCALLTYPE SetAttribs( 
  285.             const WCHAR *pszReqAttribs,
  286.             const WCHAR *pszOptAttribs) = 0;
  287.         
  288.         virtual HRESULT STDMETHODCALLTYPE AddTokens( 
  289.             ULONG cTokens,
  290.             ISpObjectToken **pToken) = 0;
  291.         
  292.         virtual HRESULT STDMETHODCALLTYPE AddTokensFromDataKey( 
  293.             ISpDataKey *pDataKey,
  294.             const WCHAR *pszSubKey,
  295.             const WCHAR *pszCategoryId) = 0;
  296.         
  297.         virtual HRESULT STDMETHODCALLTYPE AddTokensFromTokenEnum( 
  298.             IEnumSpObjectTokens *pTokenEnum) = 0;
  299.         
  300.         virtual HRESULT STDMETHODCALLTYPE Sort( 
  301.             const WCHAR *pszTokenIdToListFirst) = 0;
  302.         
  303.     };
  304.     
  305. #else  /* C style interface */
  306.     typedef struct ISpObjectTokenEnumBuilderVtbl
  307.     {
  308.         BEGIN_INTERFACE
  309.         
  310.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  311.             ISpObjectTokenEnumBuilder * This,
  312.             /* [in] */ REFIID riid,
  313.             /* [iid_is][out] */ void **ppvObject);
  314.         
  315.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  316.             ISpObjectTokenEnumBuilder * This);
  317.         
  318.         ULONG ( STDMETHODCALLTYPE *Release )( 
  319.             ISpObjectTokenEnumBuilder * This);
  320.         
  321.         HRESULT ( STDMETHODCALLTYPE *Next )( 
  322.             ISpObjectTokenEnumBuilder * This,
  323.             /* [in] */ ULONG celt,
  324.             /* [length_is][size_is][out] */ ISpObjectToken **pelt,
  325.             /* [out] */ ULONG *pceltFetched);
  326.         
  327.         HRESULT ( STDMETHODCALLTYPE *Skip )( 
  328.             ISpObjectTokenEnumBuilder * This,
  329.             /* [in] */ ULONG celt);
  330.         
  331.         HRESULT ( STDMETHODCALLTYPE *Reset )( 
  332.             ISpObjectTokenEnumBuilder * This);
  333.         
  334.         HRESULT ( STDMETHODCALLTYPE *Clone )( 
  335.             ISpObjectTokenEnumBuilder * This,
  336.             /* [out] */ IEnumSpObjectTokens **ppEnum);
  337.         
  338.         HRESULT ( STDMETHODCALLTYPE *Item )( 
  339.             ISpObjectTokenEnumBuilder * This,
  340.             /* [in] */ ULONG Index,
  341.             /* [out] */ ISpObjectToken **ppToken);
  342.         
  343.         HRESULT ( STDMETHODCALLTYPE *GetCount )( 
  344.             ISpObjectTokenEnumBuilder * This,
  345.             /* [out] */ ULONG *pCount);
  346.         
  347.         HRESULT ( STDMETHODCALLTYPE *SetAttribs )( 
  348.             ISpObjectTokenEnumBuilder * This,
  349.             const WCHAR *pszReqAttribs,
  350.             const WCHAR *pszOptAttribs);
  351.         
  352.         HRESULT ( STDMETHODCALLTYPE *AddTokens )( 
  353.             ISpObjectTokenEnumBuilder * This,
  354.             ULONG cTokens,
  355.             ISpObjectToken **pToken);
  356.         
  357.         HRESULT ( STDMETHODCALLTYPE *AddTokensFromDataKey )( 
  358.             ISpObjectTokenEnumBuilder * This,
  359.             ISpDataKey *pDataKey,
  360.             const WCHAR *pszSubKey,
  361.             const WCHAR *pszCategoryId);
  362.         
  363.         HRESULT ( STDMETHODCALLTYPE *AddTokensFromTokenEnum )( 
  364.             ISpObjectTokenEnumBuilder * This,
  365.             IEnumSpObjectTokens *pTokenEnum);
  366.         
  367.         HRESULT ( STDMETHODCALLTYPE *Sort )( 
  368.             ISpObjectTokenEnumBuilder * This,
  369.             const WCHAR *pszTokenIdToListFirst);
  370.         
  371.         END_INTERFACE
  372.     } ISpObjectTokenEnumBuilderVtbl;
  373.     interface ISpObjectTokenEnumBuilder
  374.     {
  375.         CONST_VTBL struct ISpObjectTokenEnumBuilderVtbl *lpVtbl;
  376.     };
  377.     
  378. #ifdef COBJMACROS
  379. #define ISpObjectTokenEnumBuilder_QueryInterface(This,riid,ppvObject)
  380.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  381. #define ISpObjectTokenEnumBuilder_AddRef(This)
  382.     (This)->lpVtbl -> AddRef(This)
  383. #define ISpObjectTokenEnumBuilder_Release(This)
  384.     (This)->lpVtbl -> Release(This)
  385. #define ISpObjectTokenEnumBuilder_Next(This,celt,pelt,pceltFetched)
  386.     (This)->lpVtbl -> Next(This,celt,pelt,pceltFetched)
  387. #define ISpObjectTokenEnumBuilder_Skip(This,celt)
  388.     (This)->lpVtbl -> Skip(This,celt)
  389. #define ISpObjectTokenEnumBuilder_Reset(This)
  390.     (This)->lpVtbl -> Reset(This)
  391. #define ISpObjectTokenEnumBuilder_Clone(This,ppEnum)
  392.     (This)->lpVtbl -> Clone(This,ppEnum)
  393. #define ISpObjectTokenEnumBuilder_Item(This,Index,ppToken)
  394.     (This)->lpVtbl -> Item(This,Index,ppToken)
  395. #define ISpObjectTokenEnumBuilder_GetCount(This,pCount)
  396.     (This)->lpVtbl -> GetCount(This,pCount)
  397. #define ISpObjectTokenEnumBuilder_SetAttribs(This,pszReqAttribs,pszOptAttribs)
  398.     (This)->lpVtbl -> SetAttribs(This,pszReqAttribs,pszOptAttribs)
  399. #define ISpObjectTokenEnumBuilder_AddTokens(This,cTokens,pToken)
  400.     (This)->lpVtbl -> AddTokens(This,cTokens,pToken)
  401. #define ISpObjectTokenEnumBuilder_AddTokensFromDataKey(This,pDataKey,pszSubKey,pszCategoryId)
  402.     (This)->lpVtbl -> AddTokensFromDataKey(This,pDataKey,pszSubKey,pszCategoryId)
  403. #define ISpObjectTokenEnumBuilder_AddTokensFromTokenEnum(This,pTokenEnum)
  404.     (This)->lpVtbl -> AddTokensFromTokenEnum(This,pTokenEnum)
  405. #define ISpObjectTokenEnumBuilder_Sort(This,pszTokenIdToListFirst)
  406.     (This)->lpVtbl -> Sort(This,pszTokenIdToListFirst)
  407. #endif /* COBJMACROS */
  408. #endif  /* C style interface */
  409. HRESULT STDMETHODCALLTYPE ISpObjectTokenEnumBuilder_SetAttribs_Proxy( 
  410.     ISpObjectTokenEnumBuilder * This,
  411.     const WCHAR *pszReqAttribs,
  412.     const WCHAR *pszOptAttribs);
  413. void __RPC_STUB ISpObjectTokenEnumBuilder_SetAttribs_Stub(
  414.     IRpcStubBuffer *This,
  415.     IRpcChannelBuffer *_pRpcChannelBuffer,
  416.     PRPC_MESSAGE _pRpcMessage,
  417.     DWORD *_pdwStubPhase);
  418. HRESULT STDMETHODCALLTYPE ISpObjectTokenEnumBuilder_AddTokens_Proxy( 
  419.     ISpObjectTokenEnumBuilder * This,
  420.     ULONG cTokens,
  421.     ISpObjectToken **pToken);
  422. void __RPC_STUB ISpObjectTokenEnumBuilder_AddTokens_Stub(
  423.     IRpcStubBuffer *This,
  424.     IRpcChannelBuffer *_pRpcChannelBuffer,
  425.     PRPC_MESSAGE _pRpcMessage,
  426.     DWORD *_pdwStubPhase);
  427. HRESULT STDMETHODCALLTYPE ISpObjectTokenEnumBuilder_AddTokensFromDataKey_Proxy( 
  428.     ISpObjectTokenEnumBuilder * This,
  429.     ISpDataKey *pDataKey,
  430.     const WCHAR *pszSubKey,
  431.     const WCHAR *pszCategoryId);
  432. void __RPC_STUB ISpObjectTokenEnumBuilder_AddTokensFromDataKey_Stub(
  433.     IRpcStubBuffer *This,
  434.     IRpcChannelBuffer *_pRpcChannelBuffer,
  435.     PRPC_MESSAGE _pRpcMessage,
  436.     DWORD *_pdwStubPhase);
  437. HRESULT STDMETHODCALLTYPE ISpObjectTokenEnumBuilder_AddTokensFromTokenEnum_Proxy( 
  438.     ISpObjectTokenEnumBuilder * This,
  439.     IEnumSpObjectTokens *pTokenEnum);
  440. void __RPC_STUB ISpObjectTokenEnumBuilder_AddTokensFromTokenEnum_Stub(
  441.     IRpcStubBuffer *This,
  442.     IRpcChannelBuffer *_pRpcChannelBuffer,
  443.     PRPC_MESSAGE _pRpcMessage,
  444.     DWORD *_pdwStubPhase);
  445. HRESULT STDMETHODCALLTYPE ISpObjectTokenEnumBuilder_Sort_Proxy( 
  446.     ISpObjectTokenEnumBuilder * This,
  447.     const WCHAR *pszTokenIdToListFirst);
  448. void __RPC_STUB ISpObjectTokenEnumBuilder_Sort_Stub(
  449.     IRpcStubBuffer *This,
  450.     IRpcChannelBuffer *_pRpcChannelBuffer,
  451.     PRPC_MESSAGE _pRpcMessage,
  452.     DWORD *_pdwStubPhase);
  453. #endif  /* __ISpObjectTokenEnumBuilder_INTERFACE_DEFINED__ */
  454. /* interface __MIDL_itf_sapiddk_0339 */
  455. /* [local] */ 
  456. #if 0
  457. typedef void *SPWORDHANDLE;
  458. typedef void *SPRULEHANDLE;
  459. typedef void *SPGRAMMARHANDLE;
  460. typedef void *SPRECOCONTEXTHANDLE;
  461. typedef void *SPPHRASERULEHANDLE;
  462. typedef void *SPPHRASEPROPERTYHANDLE;
  463. typedef void *SPTRANSITIONID;
  464. #else
  465. DECLARE_HANDLE(SPWORDHANDLE);
  466. DECLARE_HANDLE(SPRULEHANDLE);
  467. DECLARE_HANDLE(SPGRAMMARHANDLE);
  468. DECLARE_HANDLE(SPRECOCONTEXTHANDLE);
  469. DECLARE_HANDLE(SPPHRASERULEHANDLE);
  470. DECLARE_HANDLE(SPPHRASEPROPERTYHANDLE);
  471. DECLARE_HANDLE(SPTRANSITIONID);
  472. #endif
  473. extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0339_v0_0_c_ifspec;
  474. extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0339_v0_0_s_ifspec;
  475. #ifndef __ISpErrorLog_INTERFACE_DEFINED__
  476. #define __ISpErrorLog_INTERFACE_DEFINED__
  477. /* interface ISpErrorLog */
  478. /* [restricted][unique][helpstring][uuid][object] */ 
  479. EXTERN_C const IID IID_ISpErrorLog;
  480. #if defined(__cplusplus) && !defined(CINTERFACE)
  481.     
  482.     MIDL_INTERFACE("F4711347-E608-11d2-A086-00C04F8EF9B5")
  483.     ISpErrorLog : public IUnknown
  484.     {
  485.     public:
  486.         virtual HRESULT STDMETHODCALLTYPE AddError( 
  487.             const long lLineNumber,
  488.             HRESULT hr,
  489.             const WCHAR *pszDescription,
  490.             const WCHAR *pszHelpFile,
  491.             DWORD dwHelpContext) = 0;
  492.         
  493.     };
  494.     
  495. #else  /* C style interface */
  496.     typedef struct ISpErrorLogVtbl
  497.     {
  498.         BEGIN_INTERFACE
  499.         
  500.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  501.             ISpErrorLog * This,
  502.             /* [in] */ REFIID riid,
  503.             /* [iid_is][out] */ void **ppvObject);
  504.         
  505.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  506.             ISpErrorLog * This);
  507.         
  508.         ULONG ( STDMETHODCALLTYPE *Release )( 
  509.             ISpErrorLog * This);
  510.         
  511.         HRESULT ( STDMETHODCALLTYPE *AddError )( 
  512.             ISpErrorLog * This,
  513.             const long lLineNumber,
  514.             HRESULT hr,
  515.             const WCHAR *pszDescription,
  516.             const WCHAR *pszHelpFile,
  517.             DWORD dwHelpContext);
  518.         
  519.         END_INTERFACE
  520.     } ISpErrorLogVtbl;
  521.     interface ISpErrorLog
  522.     {
  523.         CONST_VTBL struct ISpErrorLogVtbl *lpVtbl;
  524.     };
  525.     
  526. #ifdef COBJMACROS
  527. #define ISpErrorLog_QueryInterface(This,riid,ppvObject)
  528.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  529. #define ISpErrorLog_AddRef(This)
  530.     (This)->lpVtbl -> AddRef(This)
  531. #define ISpErrorLog_Release(This)
  532.     (This)->lpVtbl -> Release(This)
  533. #define ISpErrorLog_AddError(This,lLineNumber,hr,pszDescription,pszHelpFile,dwHelpContext)
  534.     (This)->lpVtbl -> AddError(This,lLineNumber,hr,pszDescription,pszHelpFile,dwHelpContext)
  535. #endif /* COBJMACROS */
  536. #endif  /* C style interface */
  537. HRESULT STDMETHODCALLTYPE ISpErrorLog_AddError_Proxy( 
  538.     ISpErrorLog * This,
  539.     const long lLineNumber,
  540.     HRESULT hr,
  541.     const WCHAR *pszDescription,
  542.     const WCHAR *pszHelpFile,
  543.     DWORD dwHelpContext);
  544. void __RPC_STUB ISpErrorLog_AddError_Stub(
  545.     IRpcStubBuffer *This,
  546.     IRpcChannelBuffer *_pRpcChannelBuffer,
  547.     PRPC_MESSAGE _pRpcMessage,
  548.     DWORD *_pdwStubPhase);
  549. #endif  /* __ISpErrorLog_INTERFACE_DEFINED__ */
  550. #ifndef __ISpGrammarCompiler_INTERFACE_DEFINED__
  551. #define __ISpGrammarCompiler_INTERFACE_DEFINED__
  552. /* interface ISpGrammarCompiler */
  553. /* [restricted][unique][helpstring][uuid][object] */ 
  554. EXTERN_C const IID IID_ISpGrammarCompiler;
  555. #if defined(__cplusplus) && !defined(CINTERFACE)
  556.     
  557.     MIDL_INTERFACE("B1E29D58-A675-11D2-8302-00C04F8EE6C0")
  558.     ISpGrammarCompiler : public IUnknown
  559.     {
  560.     public:
  561.         virtual HRESULT STDMETHODCALLTYPE CompileStream( 
  562.             IStream *pSource,
  563.             IStream *pDest,
  564.             IStream *pHeader,
  565.             IUnknown *pReserved,
  566.             ISpErrorLog *pErrorLog,
  567.             /* [in] */ DWORD dwFlags) = 0;
  568.         
  569.     };
  570.     
  571. #else  /* C style interface */
  572.     typedef struct ISpGrammarCompilerVtbl
  573.     {
  574.         BEGIN_INTERFACE
  575.         
  576.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  577.             ISpGrammarCompiler * This,
  578.             /* [in] */ REFIID riid,
  579.             /* [iid_is][out] */ void **ppvObject);
  580.         
  581.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  582.             ISpGrammarCompiler * This);
  583.         
  584.         ULONG ( STDMETHODCALLTYPE *Release )( 
  585.             ISpGrammarCompiler * This);
  586.         
  587.         HRESULT ( STDMETHODCALLTYPE *CompileStream )( 
  588.             ISpGrammarCompiler * This,
  589.             IStream *pSource,
  590.             IStream *pDest,
  591.             IStream *pHeader,
  592.             IUnknown *pReserved,
  593.             ISpErrorLog *pErrorLog,
  594.             /* [in] */ DWORD dwFlags);
  595.         
  596.         END_INTERFACE
  597.     } ISpGrammarCompilerVtbl;
  598.     interface ISpGrammarCompiler
  599.     {
  600.         CONST_VTBL struct ISpGrammarCompilerVtbl *lpVtbl;
  601.     };
  602.     
  603. #ifdef COBJMACROS
  604. #define ISpGrammarCompiler_QueryInterface(This,riid,ppvObject)
  605.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  606. #define ISpGrammarCompiler_AddRef(This)
  607.     (This)->lpVtbl -> AddRef(This)
  608. #define ISpGrammarCompiler_Release(This)
  609.     (This)->lpVtbl -> Release(This)
  610. #define ISpGrammarCompiler_CompileStream(This,pSource,pDest,pHeader,pReserved,pErrorLog,dwFlags)
  611.     (This)->lpVtbl -> CompileStream(This,pSource,pDest,pHeader,pReserved,pErrorLog,dwFlags)
  612. #endif /* COBJMACROS */
  613. #endif  /* C style interface */
  614. HRESULT STDMETHODCALLTYPE ISpGrammarCompiler_CompileStream_Proxy( 
  615.     ISpGrammarCompiler * This,
  616.     IStream *pSource,
  617.     IStream *pDest,
  618.     IStream *pHeader,
  619.     IUnknown *pReserved,
  620.     ISpErrorLog *pErrorLog,
  621.     /* [in] */ DWORD dwFlags);
  622. void __RPC_STUB ISpGrammarCompiler_CompileStream_Stub(
  623.     IRpcStubBuffer *This,
  624.     IRpcChannelBuffer *_pRpcChannelBuffer,
  625.     PRPC_MESSAGE _pRpcMessage,
  626.     DWORD *_pdwStubPhase);
  627. #endif  /* __ISpGrammarCompiler_INTERFACE_DEFINED__ */
  628. #ifndef __ISpGramCompBackend_INTERFACE_DEFINED__
  629. #define __ISpGramCompBackend_INTERFACE_DEFINED__
  630. /* interface ISpGramCompBackend */
  631. /* [restricted][unique][helpstring][uuid][object] */ 
  632. EXTERN_C const IID IID_ISpGramCompBackend;
  633. #if defined(__cplusplus) && !defined(CINTERFACE)
  634.     
  635.     MIDL_INTERFACE("3DDCA27C-665C-4786-9F97-8C90C3488B61")
  636.     ISpGramCompBackend : public ISpGrammarBuilder
  637.     {
  638.     public:
  639.         virtual HRESULT STDMETHODCALLTYPE SetSaveObjects( 
  640.             IStream *pStream,
  641.             ISpErrorLog *pErrorLog) = 0;
  642.         
  643.         virtual HRESULT STDMETHODCALLTYPE InitFromBinaryGrammar( 
  644.             const SPBINARYGRAMMAR *pBinaryData) = 0;
  645.         
  646.     };
  647.     
  648. #else  /* C style interface */
  649.     typedef struct ISpGramCompBackendVtbl
  650.     {
  651.         BEGIN_INTERFACE
  652.         
  653.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  654.             ISpGramCompBackend * This,
  655.             /* [in] */ REFIID riid,
  656.             /* [iid_is][out] */ void **ppvObject);
  657.         
  658.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  659.             ISpGramCompBackend * This);
  660.         
  661.         ULONG ( STDMETHODCALLTYPE *Release )( 
  662.             ISpGramCompBackend * This);
  663.         
  664.         HRESULT ( STDMETHODCALLTYPE *ResetGrammar )( 
  665.             ISpGramCompBackend * This,
  666.             /* [in] */ WORD NewLanguage);
  667.         
  668.         HRESULT ( STDMETHODCALLTYPE *GetRule )( 
  669.             ISpGramCompBackend * This,
  670.             /* [in] */ const WCHAR *pszRuleName,
  671.             /* [in] */ DWORD dwRuleId,
  672.             /* [in] */ DWORD dwAttributes,
  673.             /* [in] */ BOOL fCreateIfNotExist,
  674.             /* [out] */ SPSTATEHANDLE *phInitialState);
  675.         
  676.         HRESULT ( STDMETHODCALLTYPE *ClearRule )( 
  677.             ISpGramCompBackend * This,
  678.             SPSTATEHANDLE hState);
  679.         
  680.         HRESULT ( STDMETHODCALLTYPE *CreateNewState )( 
  681.             ISpGramCompBackend * This,
  682.             SPSTATEHANDLE hState,
  683.             SPSTATEHANDLE *phState);
  684.         
  685.         HRESULT ( STDMETHODCALLTYPE *AddWordTransition )( 
  686.             ISpGramCompBackend * This,
  687.             SPSTATEHANDLE hFromState,
  688.             SPSTATEHANDLE hToState,
  689.             const WCHAR *psz,
  690.             const WCHAR *pszSeparators,
  691.             SPGRAMMARWORDTYPE eWordType,
  692.             float Weight,
  693.             const SPPROPERTYINFO *pPropInfo);
  694.         
  695.         HRESULT ( STDMETHODCALLTYPE *AddRuleTransition )( 
  696.             ISpGramCompBackend * This,
  697.             SPSTATEHANDLE hFromState,
  698.             SPSTATEHANDLE hToState,
  699.             SPSTATEHANDLE hRule,
  700.             float Weight,
  701.             const SPPROPERTYINFO *pPropInfo);
  702.         
  703.         HRESULT ( STDMETHODCALLTYPE *AddResource )( 
  704.             ISpGramCompBackend * This,
  705.             /* [in] */ SPSTATEHANDLE hRuleState,
  706.             /* [in] */ const WCHAR *pszResourceName,
  707.             /* [in] */ const WCHAR *pszResourceValue);
  708.         
  709.         HRESULT ( STDMETHODCALLTYPE *Commit )( 
  710.             ISpGramCompBackend * This,
  711.             DWORD dwReserved);
  712.         
  713.         HRESULT ( STDMETHODCALLTYPE *SetSaveObjects )( 
  714.             ISpGramCompBackend * This,
  715.             IStream *pStream,
  716.             ISpErrorLog *pErrorLog);
  717.         
  718.         HRESULT ( STDMETHODCALLTYPE *InitFromBinaryGrammar )( 
  719.             ISpGramCompBackend * This,
  720.             const SPBINARYGRAMMAR *pBinaryData);
  721.         
  722.         END_INTERFACE
  723.     } ISpGramCompBackendVtbl;
  724.     interface ISpGramCompBackend
  725.     {
  726.         CONST_VTBL struct ISpGramCompBackendVtbl *lpVtbl;
  727.     };
  728.     
  729. #ifdef COBJMACROS
  730. #define ISpGramCompBackend_QueryInterface(This,riid,ppvObject)
  731.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  732. #define ISpGramCompBackend_AddRef(This)
  733.     (This)->lpVtbl -> AddRef(This)
  734. #define ISpGramCompBackend_Release(This)
  735.     (This)->lpVtbl -> Release(This)
  736. #define ISpGramCompBackend_ResetGrammar(This,NewLanguage)
  737.     (This)->lpVtbl -> ResetGrammar(This,NewLanguage)
  738. #define ISpGramCompBackend_GetRule(This,pszRuleName,dwRuleId,dwAttributes,fCreateIfNotExist,phInitialState)
  739.     (This)->lpVtbl -> GetRule(This,pszRuleName,dwRuleId,dwAttributes,fCreateIfNotExist,phInitialState)
  740. #define ISpGramCompBackend_ClearRule(This,hState)
  741.     (This)->lpVtbl -> ClearRule(This,hState)
  742. #define ISpGramCompBackend_CreateNewState(This,hState,phState)
  743.     (This)->lpVtbl -> CreateNewState(This,hState,phState)
  744. #define ISpGramCompBackend_AddWordTransition(This,hFromState,hToState,psz,pszSeparators,eWordType,Weight,pPropInfo)
  745.     (This)->lpVtbl -> AddWordTransition(This,hFromState,hToState,psz,pszSeparators,eWordType,Weight,pPropInfo)
  746. #define ISpGramCompBackend_AddRuleTransition(This,hFromState,hToState,hRule,Weight,pPropInfo)
  747.     (This)->lpVtbl -> AddRuleTransition(This,hFromState,hToState,hRule,Weight,pPropInfo)
  748. #define ISpGramCompBackend_AddResource(This,hRuleState,pszResourceName,pszResourceValue)
  749.     (This)->lpVtbl -> AddResource(This,hRuleState,pszResourceName,pszResourceValue)
  750. #define ISpGramCompBackend_Commit(This,dwReserved)
  751.     (This)->lpVtbl -> Commit(This,dwReserved)
  752. #define ISpGramCompBackend_SetSaveObjects(This,pStream,pErrorLog)
  753.     (This)->lpVtbl -> SetSaveObjects(This,pStream,pErrorLog)
  754. #define ISpGramCompBackend_InitFromBinaryGrammar(This,pBinaryData)
  755.     (This)->lpVtbl -> InitFromBinaryGrammar(This,pBinaryData)
  756. #endif /* COBJMACROS */
  757. #endif  /* C style interface */
  758. HRESULT STDMETHODCALLTYPE ISpGramCompBackend_SetSaveObjects_Proxy( 
  759.     ISpGramCompBackend * This,
  760.     IStream *pStream,
  761.     ISpErrorLog *pErrorLog);
  762. void __RPC_STUB ISpGramCompBackend_SetSaveObjects_Stub(
  763.     IRpcStubBuffer *This,
  764.     IRpcChannelBuffer *_pRpcChannelBuffer,
  765.     PRPC_MESSAGE _pRpcMessage,
  766.     DWORD *_pdwStubPhase);
  767. HRESULT STDMETHODCALLTYPE ISpGramCompBackend_InitFromBinaryGrammar_Proxy( 
  768.     ISpGramCompBackend * This,
  769.     const SPBINARYGRAMMAR *pBinaryData);
  770. void __RPC_STUB ISpGramCompBackend_InitFromBinaryGrammar_Stub(
  771.     IRpcStubBuffer *This,
  772.     IRpcChannelBuffer *_pRpcChannelBuffer,
  773.     PRPC_MESSAGE _pRpcMessage,
  774.     DWORD *_pdwStubPhase);
  775. #endif  /* __ISpGramCompBackend_INTERFACE_DEFINED__ */
  776. #ifndef __ISpITNProcessor_INTERFACE_DEFINED__
  777. #define __ISpITNProcessor_INTERFACE_DEFINED__
  778. /* interface ISpITNProcessor */
  779. /* [restricted][local][unique][helpstring][uuid][object] */ 
  780. EXTERN_C const IID IID_ISpITNProcessor;
  781. #if defined(__cplusplus) && !defined(CINTERFACE)
  782.     
  783.     MIDL_INTERFACE("12D7360F-A1C9-11d3-BC90-00C04F72DF9F")
  784.     ISpITNProcessor : public IUnknown
  785.     {
  786.     public:
  787.         virtual HRESULT STDMETHODCALLTYPE LoadITNGrammar( 
  788.             WCHAR *pszCLSID) = 0;
  789.         
  790.         virtual HRESULT STDMETHODCALLTYPE ITNPhrase( 
  791.             ISpPhraseBuilder *pPhrase) = 0;
  792.         
  793.     };
  794.     
  795. #else  /* C style interface */
  796.     typedef struct ISpITNProcessorVtbl
  797.     {
  798.         BEGIN_INTERFACE
  799.         
  800.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  801.             ISpITNProcessor * This,
  802.             /* [in] */ REFIID riid,
  803.             /* [iid_is][out] */ void **ppvObject);
  804.         
  805.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  806.             ISpITNProcessor * This);
  807.         
  808.         ULONG ( STDMETHODCALLTYPE *Release )( 
  809.             ISpITNProcessor * This);
  810.         
  811.         HRESULT ( STDMETHODCALLTYPE *LoadITNGrammar )( 
  812.             ISpITNProcessor * This,
  813.             WCHAR *pszCLSID);
  814.         
  815.         HRESULT ( STDMETHODCALLTYPE *ITNPhrase )( 
  816.             ISpITNProcessor * This,
  817.             ISpPhraseBuilder *pPhrase);
  818.         
  819.         END_INTERFACE
  820.     } ISpITNProcessorVtbl;
  821.     interface ISpITNProcessor
  822.     {
  823.         CONST_VTBL struct ISpITNProcessorVtbl *lpVtbl;
  824.     };
  825.     
  826. #ifdef COBJMACROS
  827. #define ISpITNProcessor_QueryInterface(This,riid,ppvObject)
  828.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  829. #define ISpITNProcessor_AddRef(This)
  830.     (This)->lpVtbl -> AddRef(This)
  831. #define ISpITNProcessor_Release(This)
  832.     (This)->lpVtbl -> Release(This)
  833. #define ISpITNProcessor_LoadITNGrammar(This,pszCLSID)
  834.     (This)->lpVtbl -> LoadITNGrammar(This,pszCLSID)
  835. #define ISpITNProcessor_ITNPhrase(This,pPhrase)
  836.     (This)->lpVtbl -> ITNPhrase(This,pPhrase)
  837. #endif /* COBJMACROS */
  838. #endif  /* C style interface */
  839. HRESULT STDMETHODCALLTYPE ISpITNProcessor_LoadITNGrammar_Proxy( 
  840.     ISpITNProcessor * This,
  841.     WCHAR *pszCLSID);
  842. void __RPC_STUB ISpITNProcessor_LoadITNGrammar_Stub(
  843.     IRpcStubBuffer *This,
  844.     IRpcChannelBuffer *_pRpcChannelBuffer,
  845.     PRPC_MESSAGE _pRpcMessage,
  846.     DWORD *_pdwStubPhase);
  847. HRESULT STDMETHODCALLTYPE ISpITNProcessor_ITNPhrase_Proxy( 
  848.     ISpITNProcessor * This,
  849.     ISpPhraseBuilder *pPhrase);
  850. void __RPC_STUB ISpITNProcessor_ITNPhrase_Stub(
  851.     IRpcStubBuffer *This,
  852.     IRpcChannelBuffer *_pRpcChannelBuffer,
  853.     PRPC_MESSAGE _pRpcMessage,
  854.     DWORD *_pdwStubPhase);
  855. #endif  /* __ISpITNProcessor_INTERFACE_DEFINED__ */
  856. #ifndef __ISpPhraseBuilder_INTERFACE_DEFINED__
  857. #define __ISpPhraseBuilder_INTERFACE_DEFINED__
  858. /* interface ISpPhraseBuilder */
  859. /* [restricted][unique][helpstring][local][uuid][object] */ 
  860. EXTERN_C const IID IID_ISpPhraseBuilder;
  861. #if defined(__cplusplus) && !defined(CINTERFACE)
  862.     
  863.     MIDL_INTERFACE("88A3342A-0BED-4834-922B-88D43173162F")
  864.     ISpPhraseBuilder : public ISpPhrase
  865.     {
  866.     public:
  867.         virtual HRESULT STDMETHODCALLTYPE InitFromPhrase( 
  868.             const SPPHRASE *pPhrase) = 0;
  869.         
  870.         virtual HRESULT STDMETHODCALLTYPE InitFromSerializedPhrase( 
  871.             const SPSERIALIZEDPHRASE *pPhrase) = 0;
  872.         
  873.         virtual HRESULT STDMETHODCALLTYPE AddElements( 
  874.             ULONG cElements,
  875.             const SPPHRASEELEMENT *pElement) = 0;
  876.         
  877.         virtual HRESULT STDMETHODCALLTYPE AddRules( 
  878.             const SPPHRASERULEHANDLE hParent,
  879.             const SPPHRASERULE *pRule,
  880.             SPPHRASERULEHANDLE *phNewRule) = 0;
  881.         
  882.         virtual HRESULT STDMETHODCALLTYPE AddProperties( 
  883.             const SPPHRASEPROPERTYHANDLE hParent,
  884.             const SPPHRASEPROPERTY *pProperty,
  885.             SPPHRASEPROPERTYHANDLE *phNewProperty) = 0;
  886.         
  887.         virtual HRESULT STDMETHODCALLTYPE AddReplacements( 
  888.             ULONG cReplacements,
  889.             const SPPHRASEREPLACEMENT *pReplacements) = 0;
  890.         
  891.     };
  892.     
  893. #else  /* C style interface */
  894.     typedef struct ISpPhraseBuilderVtbl
  895.     {
  896.         BEGIN_INTERFACE
  897.         
  898.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  899.             ISpPhraseBuilder * This,
  900.             /* [in] */ REFIID riid,
  901.             /* [iid_is][out] */ void **ppvObject);
  902.         
  903.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  904.             ISpPhraseBuilder * This);
  905.         
  906.         ULONG ( STDMETHODCALLTYPE *Release )( 
  907.             ISpPhraseBuilder * This);
  908.         
  909.         HRESULT ( STDMETHODCALLTYPE *GetPhrase )( 
  910.             ISpPhraseBuilder * This,
  911.             /* [out] */ SPPHRASE **ppCoMemPhrase);
  912.         
  913.         HRESULT ( STDMETHODCALLTYPE *GetSerializedPhrase )( 
  914.             ISpPhraseBuilder * This,
  915.             /* [out] */ SPSERIALIZEDPHRASE **ppCoMemPhrase);
  916.         
  917.         HRESULT ( STDMETHODCALLTYPE *GetText )( 
  918.             ISpPhraseBuilder * This,
  919.             /* [in] */ ULONG ulStart,
  920.             /* [in] */ ULONG ulCount,
  921.             /* [in] */ BOOL fUseTextReplacements,
  922.             /* [out] */ WCHAR **ppszCoMemText,
  923.             /* [out] */ BYTE *pbDisplayAttributes);
  924.         
  925.         HRESULT ( STDMETHODCALLTYPE *Discard )( 
  926.             ISpPhraseBuilder * This,
  927.             /* [in] */ DWORD dwValueTypes);
  928.         
  929.         HRESULT ( STDMETHODCALLTYPE *InitFromPhrase )( 
  930.             ISpPhraseBuilder * This,
  931.             const SPPHRASE *pPhrase);
  932.         
  933.         HRESULT ( STDMETHODCALLTYPE *InitFromSerializedPhrase )( 
  934.             ISpPhraseBuilder * This,
  935.             const SPSERIALIZEDPHRASE *pPhrase);
  936.         
  937.         HRESULT ( STDMETHODCALLTYPE *AddElements )( 
  938.             ISpPhraseBuilder * This,
  939.             ULONG cElements,
  940.             const SPPHRASEELEMENT *pElement);
  941.         
  942.         HRESULT ( STDMETHODCALLTYPE *AddRules )( 
  943.             ISpPhraseBuilder * This,
  944.             const SPPHRASERULEHANDLE hParent,
  945.             const SPPHRASERULE *pRule,
  946.             SPPHRASERULEHANDLE *phNewRule);
  947.         
  948.         HRESULT ( STDMETHODCALLTYPE *AddProperties )( 
  949.             ISpPhraseBuilder * This,
  950.             const SPPHRASEPROPERTYHANDLE hParent,
  951.             const SPPHRASEPROPERTY *pProperty,
  952.             SPPHRASEPROPERTYHANDLE *phNewProperty);
  953.         
  954.         HRESULT ( STDMETHODCALLTYPE *AddReplacements )( 
  955.             ISpPhraseBuilder * This,
  956.             ULONG cReplacements,
  957.             const SPPHRASEREPLACEMENT *pReplacements);
  958.         
  959.         END_INTERFACE
  960.     } ISpPhraseBuilderVtbl;
  961.     interface ISpPhraseBuilder
  962.     {
  963.         CONST_VTBL struct ISpPhraseBuilderVtbl *lpVtbl;
  964.     };
  965.     
  966. #ifdef COBJMACROS
  967. #define ISpPhraseBuilder_QueryInterface(This,riid,ppvObject)
  968.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  969. #define ISpPhraseBuilder_AddRef(This)
  970.     (This)->lpVtbl -> AddRef(This)
  971. #define ISpPhraseBuilder_Release(This)
  972.     (This)->lpVtbl -> Release(This)
  973. #define ISpPhraseBuilder_GetPhrase(This,ppCoMemPhrase)
  974.     (This)->lpVtbl -> GetPhrase(This,ppCoMemPhrase)
  975. #define ISpPhraseBuilder_GetSerializedPhrase(This,ppCoMemPhrase)
  976.     (This)->lpVtbl -> GetSerializedPhrase(This,ppCoMemPhrase)
  977. #define ISpPhraseBuilder_GetText(This,ulStart,ulCount,fUseTextReplacements,ppszCoMemText,pbDisplayAttributes)
  978.     (This)->lpVtbl -> GetText(This,ulStart,ulCount,fUseTextReplacements,ppszCoMemText,pbDisplayAttributes)
  979. #define ISpPhraseBuilder_Discard(This,dwValueTypes)
  980.     (This)->lpVtbl -> Discard(This,dwValueTypes)
  981. #define ISpPhraseBuilder_InitFromPhrase(This,pPhrase)
  982.     (This)->lpVtbl -> InitFromPhrase(This,pPhrase)
  983. #define ISpPhraseBuilder_InitFromSerializedPhrase(This,pPhrase)
  984.     (This)->lpVtbl -> InitFromSerializedPhrase(This,pPhrase)
  985. #define ISpPhraseBuilder_AddElements(This,cElements,pElement)
  986.     (This)->lpVtbl -> AddElements(This,cElements,pElement)
  987. #define ISpPhraseBuilder_AddRules(This,hParent,pRule,phNewRule)
  988.     (This)->lpVtbl -> AddRules(This,hParent,pRule,phNewRule)
  989. #define ISpPhraseBuilder_AddProperties(This,hParent,pProperty,phNewProperty)
  990.     (This)->lpVtbl -> AddProperties(This,hParent,pProperty,phNewProperty)
  991. #define ISpPhraseBuilder_AddReplacements(This,cReplacements,pReplacements)
  992.     (This)->lpVtbl -> AddReplacements(This,cReplacements,pReplacements)
  993. #endif /* COBJMACROS */
  994. #endif  /* C style interface */
  995. HRESULT STDMETHODCALLTYPE ISpPhraseBuilder_InitFromPhrase_Proxy( 
  996.     ISpPhraseBuilder * This,
  997.     const SPPHRASE *pPhrase);
  998. void __RPC_STUB ISpPhraseBuilder_InitFromPhrase_Stub(
  999.     IRpcStubBuffer *This,
  1000.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1001.     PRPC_MESSAGE _pRpcMessage,
  1002.     DWORD *_pdwStubPhase);
  1003. HRESULT STDMETHODCALLTYPE ISpPhraseBuilder_InitFromSerializedPhrase_Proxy( 
  1004.     ISpPhraseBuilder * This,
  1005.     const SPSERIALIZEDPHRASE *pPhrase);
  1006. void __RPC_STUB ISpPhraseBuilder_InitFromSerializedPhrase_Stub(
  1007.     IRpcStubBuffer *This,
  1008.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1009.     PRPC_MESSAGE _pRpcMessage,
  1010.     DWORD *_pdwStubPhase);
  1011. HRESULT STDMETHODCALLTYPE ISpPhraseBuilder_AddElements_Proxy( 
  1012.     ISpPhraseBuilder * This,
  1013.     ULONG cElements,
  1014.     const SPPHRASEELEMENT *pElement);
  1015. void __RPC_STUB ISpPhraseBuilder_AddElements_Stub(
  1016.     IRpcStubBuffer *This,
  1017.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1018.     PRPC_MESSAGE _pRpcMessage,
  1019.     DWORD *_pdwStubPhase);
  1020. HRESULT STDMETHODCALLTYPE ISpPhraseBuilder_AddRules_Proxy( 
  1021.     ISpPhraseBuilder * This,
  1022.     const SPPHRASERULEHANDLE hParent,
  1023.     const SPPHRASERULE *pRule,
  1024.     SPPHRASERULEHANDLE *phNewRule);
  1025. void __RPC_STUB ISpPhraseBuilder_AddRules_Stub(
  1026.     IRpcStubBuffer *This,
  1027.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1028.     PRPC_MESSAGE _pRpcMessage,
  1029.     DWORD *_pdwStubPhase);
  1030. HRESULT STDMETHODCALLTYPE ISpPhraseBuilder_AddProperties_Proxy( 
  1031.     ISpPhraseBuilder * This,
  1032.     const SPPHRASEPROPERTYHANDLE hParent,
  1033.     const SPPHRASEPROPERTY *pProperty,
  1034.     SPPHRASEPROPERTYHANDLE *phNewProperty);
  1035. void __RPC_STUB ISpPhraseBuilder_AddProperties_Stub(
  1036.     IRpcStubBuffer *This,
  1037.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1038.     PRPC_MESSAGE _pRpcMessage,
  1039.     DWORD *_pdwStubPhase);
  1040. HRESULT STDMETHODCALLTYPE ISpPhraseBuilder_AddReplacements_Proxy( 
  1041.     ISpPhraseBuilder * This,
  1042.     ULONG cReplacements,
  1043.     const SPPHRASEREPLACEMENT *pReplacements);
  1044. void __RPC_STUB ISpPhraseBuilder_AddReplacements_Stub(
  1045.     IRpcStubBuffer *This,
  1046.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1047.     PRPC_MESSAGE _pRpcMessage,
  1048.     DWORD *_pdwStubPhase);
  1049. #endif  /* __ISpPhraseBuilder_INTERFACE_DEFINED__ */
  1050. /* interface __MIDL_itf_sapiddk_0344 */
  1051. /* [local] */ 
  1052. #if defined(__cplusplus)
  1053. interface ISpTask
  1054. {
  1055. virtual HRESULT STDMETHODCALLTYPE Execute(
  1056.                  void *pvTaskData,
  1057.                  volatile const BOOL* pfContinueProcessing) = 0;
  1058. };
  1059. #else
  1060. typedef void *ISpTask;
  1061. #endif
  1062. #if defined(__cplusplus)
  1063. interface ISpThreadTask
  1064. {
  1065. virtual HRESULT STDMETHODCALLTYPE InitThread(
  1066.                  void * pvTaskData,
  1067.                  HWND hwnd) = 0;
  1068. virtual HRESULT STDMETHODCALLTYPE ThreadProc(
  1069.                  void *pvTaskData,
  1070.                  HANDLE hExitThreadEvent,
  1071.                  HANDLE hNotifyEvent,
  1072.                  HWND hwndWorker,
  1073.                  volatile const BOOL * pfContinueProcessing) = 0;
  1074. virtual LRESULT STDMETHODCALLTYPE WindowMessage(
  1075.                  void *pvTaskData,
  1076.                  HWND hWnd,
  1077.                  UINT Msg,
  1078.                  WPARAM wParam,
  1079.                  LPARAM lParam) = 0;
  1080. };
  1081. #else
  1082. typedef void *ISpThreadTask;
  1083. #endif
  1084. extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0344_v0_0_c_ifspec;
  1085. extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0344_v0_0_s_ifspec;
  1086. #ifndef __ISpThreadControl_INTERFACE_DEFINED__
  1087. #define __ISpThreadControl_INTERFACE_DEFINED__
  1088. /* interface ISpThreadControl */
  1089. /* [restricted][local][unique][helpstring][uuid][object] */ 
  1090. EXTERN_C const IID IID_ISpThreadControl;
  1091. #if defined(__cplusplus) && !defined(CINTERFACE)
  1092.     
  1093.     MIDL_INTERFACE("A6BE4D73-4403-4358-B22D-0346E23B1764")
  1094.     ISpThreadControl : public ISpNotifySink
  1095.     {
  1096.     public:
  1097.         virtual HRESULT STDMETHODCALLTYPE StartThread( 
  1098.             DWORD dwFlags,
  1099.             HWND *phwnd) = 0;
  1100.         
  1101.         virtual HRESULT STDMETHODCALLTYPE WaitForThreadDone( 
  1102.             BOOL fForceStop,
  1103.             HRESULT *phrThreadResult,
  1104.             ULONG msTimeOut) = 0;
  1105.         
  1106.         virtual HRESULT STDMETHODCALLTYPE TerminateThread( void) = 0;
  1107.         
  1108.         virtual HANDLE STDMETHODCALLTYPE ThreadHandle( void) = 0;
  1109.         
  1110.         virtual DWORD STDMETHODCALLTYPE ThreadId( void) = 0;
  1111.         
  1112.         virtual HANDLE STDMETHODCALLTYPE NotifyEvent( void) = 0;
  1113.         
  1114.         virtual HWND STDMETHODCALLTYPE WindowHandle( void) = 0;
  1115.         
  1116.         virtual HANDLE STDMETHODCALLTYPE ThreadCompleteEvent( void) = 0;
  1117.         
  1118.         virtual HANDLE STDMETHODCALLTYPE ExitThreadEvent( void) = 0;
  1119.         
  1120.     };
  1121.     
  1122. #else  /* C style interface */
  1123.     typedef struct ISpThreadControlVtbl
  1124.     {
  1125.         BEGIN_INTERFACE
  1126.         
  1127.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1128.             ISpThreadControl * This,
  1129.             /* [in] */ REFIID riid,
  1130.             /* [iid_is][out] */ void **ppvObject);
  1131.         
  1132.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1133.             ISpThreadControl * This);
  1134.         
  1135.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1136.             ISpThreadControl * This);
  1137.         
  1138.         HRESULT ( STDMETHODCALLTYPE *Notify )( 
  1139.             ISpThreadControl * This);
  1140.         
  1141.         HRESULT ( STDMETHODCALLTYPE *StartThread )( 
  1142.             ISpThreadControl * This,
  1143.             DWORD dwFlags,
  1144.             HWND *phwnd);
  1145.         
  1146.         HRESULT ( STDMETHODCALLTYPE *WaitForThreadDone )( 
  1147.             ISpThreadControl * This,
  1148.             BOOL fForceStop,
  1149.             HRESULT *phrThreadResult,
  1150.             ULONG msTimeOut);
  1151.         
  1152.         HRESULT ( STDMETHODCALLTYPE *TerminateThread )( 
  1153.             ISpThreadControl * This);
  1154.         
  1155.         HANDLE ( STDMETHODCALLTYPE *ThreadHandle )( 
  1156.             ISpThreadControl * This);
  1157.         
  1158.         DWORD ( STDMETHODCALLTYPE *ThreadId )( 
  1159.             ISpThreadControl * This);
  1160.         
  1161.         HANDLE ( STDMETHODCALLTYPE *NotifyEvent )( 
  1162.             ISpThreadControl * This);
  1163.         
  1164.         HWND ( STDMETHODCALLTYPE *WindowHandle )( 
  1165.             ISpThreadControl * This);
  1166.         
  1167.         HANDLE ( STDMETHODCALLTYPE *ThreadCompleteEvent )( 
  1168.             ISpThreadControl * This);
  1169.         
  1170.         HANDLE ( STDMETHODCALLTYPE *ExitThreadEvent )( 
  1171.             ISpThreadControl * This);
  1172.         
  1173.         END_INTERFACE
  1174.     } ISpThreadControlVtbl;
  1175.     interface ISpThreadControl
  1176.     {
  1177.         CONST_VTBL struct ISpThreadControlVtbl *lpVtbl;
  1178.     };
  1179.     
  1180. #ifdef COBJMACROS
  1181. #define ISpThreadControl_QueryInterface(This,riid,ppvObject)
  1182.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1183. #define ISpThreadControl_AddRef(This)
  1184.     (This)->lpVtbl -> AddRef(This)
  1185. #define ISpThreadControl_Release(This)
  1186.     (This)->lpVtbl -> Release(This)
  1187. #define ISpThreadControl_Notify(This)
  1188.     (This)->lpVtbl -> Notify(This)
  1189. #define ISpThreadControl_StartThread(This,dwFlags,phwnd)
  1190.     (This)->lpVtbl -> StartThread(This,dwFlags,phwnd)
  1191. #define ISpThreadControl_WaitForThreadDone(This,fForceStop,phrThreadResult,msTimeOut)
  1192.     (This)->lpVtbl -> WaitForThreadDone(This,fForceStop,phrThreadResult,msTimeOut)
  1193. #define ISpThreadControl_TerminateThread(This)
  1194.     (This)->lpVtbl -> TerminateThread(This)
  1195. #define ISpThreadControl_ThreadHandle(This)
  1196.     (This)->lpVtbl -> ThreadHandle(This)
  1197. #define ISpThreadControl_ThreadId(This)
  1198.     (This)->lpVtbl -> ThreadId(This)
  1199. #define ISpThreadControl_NotifyEvent(This)
  1200.     (This)->lpVtbl -> NotifyEvent(This)
  1201. #define ISpThreadControl_WindowHandle(This)
  1202.     (This)->lpVtbl -> WindowHandle(This)
  1203. #define ISpThreadControl_ThreadCompleteEvent(This)
  1204.     (This)->lpVtbl -> ThreadCompleteEvent(This)
  1205. #define ISpThreadControl_ExitThreadEvent(This)
  1206.     (This)->lpVtbl -> ExitThreadEvent(This)
  1207. #endif /* COBJMACROS */
  1208. #endif  /* C style interface */
  1209. HRESULT STDMETHODCALLTYPE ISpThreadControl_StartThread_Proxy( 
  1210.     ISpThreadControl * This,
  1211.     DWORD dwFlags,
  1212.     HWND *phwnd);
  1213. void __RPC_STUB ISpThreadControl_StartThread_Stub(
  1214.     IRpcStubBuffer *This,
  1215.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1216.     PRPC_MESSAGE _pRpcMessage,
  1217.     DWORD *_pdwStubPhase);
  1218. HRESULT STDMETHODCALLTYPE ISpThreadControl_WaitForThreadDone_Proxy( 
  1219.     ISpThreadControl * This,
  1220.     BOOL fForceStop,
  1221.     HRESULT *phrThreadResult,
  1222.     ULONG msTimeOut);
  1223. void __RPC_STUB ISpThreadControl_WaitForThreadDone_Stub(
  1224.     IRpcStubBuffer *This,
  1225.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1226.     PRPC_MESSAGE _pRpcMessage,
  1227.     DWORD *_pdwStubPhase);
  1228. HRESULT STDMETHODCALLTYPE ISpThreadControl_TerminateThread_Proxy( 
  1229.     ISpThreadControl * This);
  1230. void __RPC_STUB ISpThreadControl_TerminateThread_Stub(
  1231.     IRpcStubBuffer *This,
  1232.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1233.     PRPC_MESSAGE _pRpcMessage,
  1234.     DWORD *_pdwStubPhase);
  1235. HANDLE STDMETHODCALLTYPE ISpThreadControl_ThreadHandle_Proxy( 
  1236.     ISpThreadControl * This);
  1237. void __RPC_STUB ISpThreadControl_ThreadHandle_Stub(
  1238.     IRpcStubBuffer *This,
  1239.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1240.     PRPC_MESSAGE _pRpcMessage,
  1241.     DWORD *_pdwStubPhase);
  1242. DWORD STDMETHODCALLTYPE ISpThreadControl_ThreadId_Proxy( 
  1243.     ISpThreadControl * This);
  1244. void __RPC_STUB ISpThreadControl_ThreadId_Stub(
  1245.     IRpcStubBuffer *This,
  1246.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1247.     PRPC_MESSAGE _pRpcMessage,
  1248.     DWORD *_pdwStubPhase);
  1249. HANDLE STDMETHODCALLTYPE ISpThreadControl_NotifyEvent_Proxy( 
  1250.     ISpThreadControl * This);
  1251. void __RPC_STUB ISpThreadControl_NotifyEvent_Stub(
  1252.     IRpcStubBuffer *This,
  1253.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1254.     PRPC_MESSAGE _pRpcMessage,
  1255.     DWORD *_pdwStubPhase);
  1256. HWND STDMETHODCALLTYPE ISpThreadControl_WindowHandle_Proxy( 
  1257.     ISpThreadControl * This);
  1258. void __RPC_STUB ISpThreadControl_WindowHandle_Stub(
  1259.     IRpcStubBuffer *This,
  1260.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1261.     PRPC_MESSAGE _pRpcMessage,
  1262.     DWORD *_pdwStubPhase);
  1263. HANDLE STDMETHODCALLTYPE ISpThreadControl_ThreadCompleteEvent_Proxy( 
  1264.     ISpThreadControl * This);
  1265. void __RPC_STUB ISpThreadControl_ThreadCompleteEvent_Stub(
  1266.     IRpcStubBuffer *This,
  1267.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1268.     PRPC_MESSAGE _pRpcMessage,
  1269.     DWORD *_pdwStubPhase);
  1270. HANDLE STDMETHODCALLTYPE ISpThreadControl_ExitThreadEvent_Proxy( 
  1271.     ISpThreadControl * This);
  1272. void __RPC_STUB ISpThreadControl_ExitThreadEvent_Stub(
  1273.     IRpcStubBuffer *This,
  1274.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1275.     PRPC_MESSAGE _pRpcMessage,
  1276.     DWORD *_pdwStubPhase);
  1277. #endif  /* __ISpThreadControl_INTERFACE_DEFINED__ */
  1278. /* interface __MIDL_itf_sapiddk_0345 */
  1279. /* [local] */ 
  1280. typedef /* [restricted] */ struct SPTMTHREADINFO
  1281.     {
  1282.     long lPoolSize;
  1283.     long lPriority;
  1284.     ULONG ulConcurrencyLimit;
  1285.     ULONG ulMaxQuickAllocThreads;
  1286.     }  SPTMTHREADINFO;
  1287. extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0345_v0_0_c_ifspec;
  1288. extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0345_v0_0_s_ifspec;
  1289. #ifndef __ISpTaskManager_INTERFACE_DEFINED__
  1290. #define __ISpTaskManager_INTERFACE_DEFINED__
  1291. /* interface ISpTaskManager */
  1292. /* [object][restricted][unique][helpstring][uuid][local] */ 
  1293. EXTERN_C const IID IID_ISpTaskManager;
  1294. #if defined(__cplusplus) && !defined(CINTERFACE)
  1295.     
  1296.     MIDL_INTERFACE("2BAEEF81-2CA3-4331-98F3-26EC5ABEFB03")
  1297.     ISpTaskManager : public IUnknown
  1298.     {
  1299.     public:
  1300.         virtual HRESULT STDMETHODCALLTYPE SetThreadPoolInfo( 
  1301.             /* [in] */ const SPTMTHREADINFO *pPoolInfo) = 0;
  1302.         
  1303.         virtual HRESULT STDMETHODCALLTYPE GetThreadPoolInfo( 
  1304.             /* [out] */ SPTMTHREADINFO *pPoolInfo) = 0;
  1305.         
  1306.         virtual HRESULT STDMETHODCALLTYPE QueueTask( 
  1307.             /* [in] */ ISpTask *pTask,
  1308.             /* [in] */ void *pvTaskData,
  1309.             /* [in] */ HANDLE hCompEvent,
  1310.             /* [out][in] */ DWORD *pdwGroupId,
  1311.             /* [out] */ DWORD *pTaskID) = 0;
  1312.         
  1313.         virtual HRESULT STDMETHODCALLTYPE CreateReoccurringTask( 
  1314.             /* [in] */ ISpTask *pTask,
  1315.             /* [in] */ void *pvTaskData,
  1316.             /* [in] */ HANDLE hCompEvent,
  1317.             /* [out] */ ISpNotifySink **ppTaskCtrl) = 0;
  1318.         
  1319.         virtual HRESULT STDMETHODCALLTYPE CreateThreadControl( 
  1320.             /* [in] */ ISpThreadTask *pTask,
  1321.             /* [in] */ void *pvTaskData,
  1322.             /* [in] */ long nPriority,
  1323.             /* [out] */ ISpThreadControl **ppTaskCtrl) = 0;
  1324.         
  1325.         virtual HRESULT STDMETHODCALLTYPE TerminateTask( 
  1326.             /* [in] */ DWORD dwTaskId,
  1327.             /* [in] */ ULONG ulWaitPeriod) = 0;
  1328.         
  1329.         virtual HRESULT STDMETHODCALLTYPE TerminateTaskGroup( 
  1330.             /* [in] */ DWORD dwGroupId,
  1331.             /* [in] */ ULONG ulWaitPeriod) = 0;
  1332.         
  1333.     };
  1334.     
  1335. #else  /* C style interface */
  1336.     typedef struct ISpTaskManagerVtbl
  1337.     {
  1338.         BEGIN_INTERFACE
  1339.         
  1340.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1341.             ISpTaskManager * This,
  1342.             /* [in] */ REFIID riid,
  1343.             /* [iid_is][out] */ void **ppvObject);
  1344.         
  1345.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1346.             ISpTaskManager * This);
  1347.         
  1348.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1349.             ISpTaskManager * This);
  1350.         
  1351.         HRESULT ( STDMETHODCALLTYPE *SetThreadPoolInfo )( 
  1352.             ISpTaskManager * This,
  1353.             /* [in] */ const SPTMTHREADINFO *pPoolInfo);
  1354.         
  1355.         HRESULT ( STDMETHODCALLTYPE *GetThreadPoolInfo )( 
  1356.             ISpTaskManager * This,
  1357.             /* [out] */ SPTMTHREADINFO *pPoolInfo);
  1358.         
  1359.         HRESULT ( STDMETHODCALLTYPE *QueueTask )( 
  1360.             ISpTaskManager * This,
  1361.             /* [in] */ ISpTask *pTask,
  1362.             /* [in] */ void *pvTaskData,
  1363.             /* [in] */ HANDLE hCompEvent,
  1364.             /* [out][in] */ DWORD *pdwGroupId,
  1365.             /* [out] */ DWORD *pTaskID);
  1366.         
  1367.         HRESULT ( STDMETHODCALLTYPE *CreateReoccurringTask )( 
  1368.             ISpTaskManager * This,
  1369.             /* [in] */ ISpTask *pTask,
  1370.             /* [in] */ void *pvTaskData,
  1371.             /* [in] */ HANDLE hCompEvent,
  1372.             /* [out] */ ISpNotifySink **ppTaskCtrl);
  1373.         
  1374.         HRESULT ( STDMETHODCALLTYPE *CreateThreadControl )( 
  1375.             ISpTaskManager * This,
  1376.             /* [in] */ ISpThreadTask *pTask,
  1377.             /* [in] */ void *pvTaskData,
  1378.             /* [in] */ long nPriority,
  1379.             /* [out] */ ISpThreadControl **ppTaskCtrl);
  1380.         
  1381.         HRESULT ( STDMETHODCALLTYPE *TerminateTask )( 
  1382.             ISpTaskManager * This,
  1383.             /* [in] */ DWORD dwTaskId,
  1384.             /* [in] */ ULONG ulWaitPeriod);
  1385.         
  1386.         HRESULT ( STDMETHODCALLTYPE *TerminateTaskGroup )( 
  1387.             ISpTaskManager * This,
  1388.             /* [in] */ DWORD dwGroupId,
  1389.             /* [in] */ ULONG ulWaitPeriod);
  1390.         
  1391.         END_INTERFACE
  1392.     } ISpTaskManagerVtbl;
  1393.     interface ISpTaskManager
  1394.     {
  1395.         CONST_VTBL struct ISpTaskManagerVtbl *lpVtbl;
  1396.     };
  1397.     
  1398. #ifdef COBJMACROS
  1399. #define ISpTaskManager_QueryInterface(This,riid,ppvObject)
  1400.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1401. #define ISpTaskManager_AddRef(This)
  1402.     (This)->lpVtbl -> AddRef(This)
  1403. #define ISpTaskManager_Release(This)
  1404.     (This)->lpVtbl -> Release(This)
  1405. #define ISpTaskManager_SetThreadPoolInfo(This,pPoolInfo)
  1406.     (This)->lpVtbl -> SetThreadPoolInfo(This,pPoolInfo)
  1407. #define ISpTaskManager_GetThreadPoolInfo(This,pPoolInfo)
  1408.     (This)->lpVtbl -> GetThreadPoolInfo(This,pPoolInfo)
  1409. #define ISpTaskManager_QueueTask(This,pTask,pvTaskData,hCompEvent,pdwGroupId,pTaskID)
  1410.     (This)->lpVtbl -> QueueTask(This,pTask,pvTaskData,hCompEvent,pdwGroupId,pTaskID)
  1411. #define ISpTaskManager_CreateReoccurringTask(This,pTask,pvTaskData,hCompEvent,ppTaskCtrl)
  1412.     (This)->lpVtbl -> CreateReoccurringTask(This,pTask,pvTaskData,hCompEvent,ppTaskCtrl)
  1413. #define ISpTaskManager_CreateThreadControl(This,pTask,pvTaskData,nPriority,ppTaskCtrl)
  1414.     (This)->lpVtbl -> CreateThreadControl(This,pTask,pvTaskData,nPriority,ppTaskCtrl)
  1415. #define ISpTaskManager_TerminateTask(This,dwTaskId,ulWaitPeriod)
  1416.     (This)->lpVtbl -> TerminateTask(This,dwTaskId,ulWaitPeriod)
  1417. #define ISpTaskManager_TerminateTaskGroup(This,dwGroupId,ulWaitPeriod)
  1418.     (This)->lpVtbl -> TerminateTaskGroup(This,dwGroupId,ulWaitPeriod)
  1419. #endif /* COBJMACROS */
  1420. #endif  /* C style interface */
  1421. HRESULT STDMETHODCALLTYPE ISpTaskManager_SetThreadPoolInfo_Proxy( 
  1422.     ISpTaskManager * This,
  1423.     /* [in] */ const SPTMTHREADINFO *pPoolInfo);
  1424. void __RPC_STUB ISpTaskManager_SetThreadPoolInfo_Stub(
  1425.     IRpcStubBuffer *This,
  1426.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1427.     PRPC_MESSAGE _pRpcMessage,
  1428.     DWORD *_pdwStubPhase);
  1429. HRESULT STDMETHODCALLTYPE ISpTaskManager_GetThreadPoolInfo_Proxy( 
  1430.     ISpTaskManager * This,
  1431.     /* [out] */ SPTMTHREADINFO *pPoolInfo);
  1432. void __RPC_STUB ISpTaskManager_GetThreadPoolInfo_Stub(
  1433.     IRpcStubBuffer *This,
  1434.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1435.     PRPC_MESSAGE _pRpcMessage,
  1436.     DWORD *_pdwStubPhase);
  1437. HRESULT STDMETHODCALLTYPE ISpTaskManager_QueueTask_Proxy( 
  1438.     ISpTaskManager * This,
  1439.     /* [in] */ ISpTask *pTask,
  1440.     /* [in] */ void *pvTaskData,
  1441.     /* [in] */ HANDLE hCompEvent,
  1442.     /* [out][in] */ DWORD *pdwGroupId,
  1443.     /* [out] */ DWORD *pTaskID);
  1444. void __RPC_STUB ISpTaskManager_QueueTask_Stub(
  1445.     IRpcStubBuffer *This,
  1446.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1447.     PRPC_MESSAGE _pRpcMessage,
  1448.     DWORD *_pdwStubPhase);
  1449. HRESULT STDMETHODCALLTYPE ISpTaskManager_CreateReoccurringTask_Proxy( 
  1450.     ISpTaskManager * This,
  1451.     /* [in] */ ISpTask *pTask,
  1452.     /* [in] */ void *pvTaskData,
  1453.     /* [in] */ HANDLE hCompEvent,
  1454.     /* [out] */ ISpNotifySink **ppTaskCtrl);
  1455. void __RPC_STUB ISpTaskManager_CreateReoccurringTask_Stub(
  1456.     IRpcStubBuffer *This,
  1457.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1458.     PRPC_MESSAGE _pRpcMessage,
  1459.     DWORD *_pdwStubPhase);
  1460. HRESULT STDMETHODCALLTYPE ISpTaskManager_CreateThreadControl_Proxy( 
  1461.     ISpTaskManager * This,
  1462.     /* [in] */ ISpThreadTask *pTask,
  1463.     /* [in] */ void *pvTaskData,
  1464.     /* [in] */ long nPriority,
  1465.     /* [out] */ ISpThreadControl **ppTaskCtrl);
  1466. void __RPC_STUB ISpTaskManager_CreateThreadControl_Stub(
  1467.     IRpcStubBuffer *This,
  1468.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1469.     PRPC_MESSAGE _pRpcMessage,
  1470.     DWORD *_pdwStubPhase);
  1471. HRESULT STDMETHODCALLTYPE ISpTaskManager_TerminateTask_Proxy( 
  1472.     ISpTaskManager * This,
  1473.     /* [in] */ DWORD dwTaskId,
  1474.     /* [in] */ ULONG ulWaitPeriod);
  1475. void __RPC_STUB ISpTaskManager_TerminateTask_Stub(
  1476.     IRpcStubBuffer *This,
  1477.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1478.     PRPC_MESSAGE _pRpcMessage,
  1479.     DWORD *_pdwStubPhase);
  1480. HRESULT STDMETHODCALLTYPE ISpTaskManager_TerminateTaskGroup_Proxy( 
  1481.     ISpTaskManager * This,
  1482.     /* [in] */ DWORD dwGroupId,
  1483.     /* [in] */ ULONG ulWaitPeriod);
  1484. void __RPC_STUB ISpTaskManager_TerminateTaskGroup_Stub(
  1485.     IRpcStubBuffer *This,
  1486.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1487.     PRPC_MESSAGE _pRpcMessage,
  1488.     DWORD *_pdwStubPhase);
  1489. #endif  /* __ISpTaskManager_INTERFACE_DEFINED__ */
  1490. /* interface __MIDL_itf_sapiddk_0346 */
  1491. /* [local] */ 
  1492. typedef 
  1493. enum SPVSKIPTYPE
  1494.     { SPVST_SENTENCE = 1L << 0
  1495.     }  SPVSKIPTYPE;
  1496. typedef 
  1497. enum SPVESACTIONS
  1498.     { SPVES_CONTINUE = 0,
  1499. SPVES_ABORT = 1L << 0,
  1500. SPVES_SKIP = 1L << 1,
  1501. SPVES_RATE = 1L << 2,
  1502. SPVES_VOLUME = 1L << 3
  1503.     }  SPVESACTIONS;
  1504. extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0346_v0_0_c_ifspec;
  1505. extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0346_v0_0_s_ifspec;
  1506. #ifndef __ISpTTSEngineSite_INTERFACE_DEFINED__
  1507. #define __ISpTTSEngineSite_INTERFACE_DEFINED__
  1508. /* interface ISpTTSEngineSite */
  1509. /* [unique][helpstring][uuid][local][object] */ 
  1510. EXTERN_C const IID IID_ISpTTSEngineSite;
  1511. #if defined(__cplusplus) && !defined(CINTERFACE)
  1512.     
  1513.     MIDL_INTERFACE("9880499B-CCE9-11d2-B503-00C04F797396")
  1514.     ISpTTSEngineSite : public ISpEventSink
  1515.     {
  1516.     public:
  1517.         virtual DWORD STDMETHODCALLTYPE GetActions( void) = 0;
  1518.         
  1519.         virtual HRESULT STDMETHODCALLTYPE Write( 
  1520.             /* [in] */ const void *pBuff,
  1521.             /* [in] */ ULONG cb,
  1522.             /* [out] */ ULONG *pcbWritten) = 0;
  1523.         
  1524.         virtual HRESULT STDMETHODCALLTYPE GetRate( 
  1525.             /* [out] */ long *pRateAdjust) = 0;
  1526.         
  1527.         virtual HRESULT STDMETHODCALLTYPE GetVolume( 
  1528.             /* [out] */ USHORT *pusVolume) = 0;
  1529.         
  1530.         virtual HRESULT STDMETHODCALLTYPE GetSkipInfo( 
  1531.             /* [out] */ SPVSKIPTYPE *peType,
  1532.             /* [out] */ long *plNumItems) = 0;
  1533.         
  1534.         virtual HRESULT STDMETHODCALLTYPE CompleteSkip( 
  1535.             /* [in] */ long ulNumSkipped) = 0;
  1536.         
  1537.     };
  1538.     
  1539. #else  /* C style interface */
  1540.     typedef struct ISpTTSEngineSiteVtbl
  1541.     {
  1542.         BEGIN_INTERFACE
  1543.         
  1544.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1545.             ISpTTSEngineSite * This,
  1546.             /* [in] */ REFIID riid,
  1547.             /* [iid_is][out] */ void **ppvObject);
  1548.         
  1549.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1550.             ISpTTSEngineSite * This);
  1551.         
  1552.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1553.             ISpTTSEngineSite * This);
  1554.         
  1555.         HRESULT ( STDMETHODCALLTYPE *AddEvents )( 
  1556.             ISpTTSEngineSite * This,
  1557.             /* [in] */ const SPEVENT *pEventArray,
  1558.             /* [in] */ ULONG ulCount);
  1559.         
  1560.         HRESULT ( STDMETHODCALLTYPE *GetEventInterest )( 
  1561.             ISpTTSEngineSite * This,
  1562.             /* [out] */ ULONGLONG *pullEventInterest);
  1563.         
  1564.         DWORD ( STDMETHODCALLTYPE *GetActions )( 
  1565.             ISpTTSEngineSite * This);
  1566.         
  1567.         HRESULT ( STDMETHODCALLTYPE *Write )( 
  1568.             ISpTTSEngineSite * This,
  1569.             /* [in] */ const void *pBuff,
  1570.             /* [in] */ ULONG cb,
  1571.             /* [out] */ ULONG *pcbWritten);
  1572.         
  1573.         HRESULT ( STDMETHODCALLTYPE *GetRate )( 
  1574.             ISpTTSEngineSite * This,
  1575.             /* [out] */ long *pRateAdjust);
  1576.         
  1577.         HRESULT ( STDMETHODCALLTYPE *GetVolume )( 
  1578.             ISpTTSEngineSite * This,
  1579.             /* [out] */ USHORT *pusVolume);
  1580.         
  1581.         HRESULT ( STDMETHODCALLTYPE *GetSkipInfo )( 
  1582.             ISpTTSEngineSite * This,
  1583.             /* [out] */ SPVSKIPTYPE *peType,
  1584.             /* [out] */ long *plNumItems);
  1585.         
  1586.         HRESULT ( STDMETHODCALLTYPE *CompleteSkip )( 
  1587.             ISpTTSEngineSite * This,
  1588.             /* [in] */ long ulNumSkipped);
  1589.         
  1590.         END_INTERFACE
  1591.     } ISpTTSEngineSiteVtbl;
  1592.     interface ISpTTSEngineSite
  1593.     {
  1594.         CONST_VTBL struct ISpTTSEngineSiteVtbl *lpVtbl;
  1595.     };
  1596.     
  1597. #ifdef COBJMACROS
  1598. #define ISpTTSEngineSite_QueryInterface(This,riid,ppvObject)
  1599.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1600. #define ISpTTSEngineSite_AddRef(This)
  1601.     (This)->lpVtbl -> AddRef(This)
  1602. #define ISpTTSEngineSite_Release(This)
  1603.     (This)->lpVtbl -> Release(This)
  1604. #define ISpTTSEngineSite_AddEvents(This,pEventArray,ulCount)
  1605.     (This)->lpVtbl -> AddEvents(This,pEventArray,ulCount)
  1606. #define ISpTTSEngineSite_GetEventInterest(This,pullEventInterest)
  1607.     (This)->lpVtbl -> GetEventInterest(This,pullEventInterest)
  1608. #define ISpTTSEngineSite_GetActions(This)
  1609.     (This)->lpVtbl -> GetActions(This)
  1610. #define ISpTTSEngineSite_Write(This,pBuff,cb,pcbWritten)
  1611.     (This)->lpVtbl -> Write(This,pBuff,cb,pcbWritten)
  1612. #define ISpTTSEngineSite_GetRate(This,pRateAdjust)
  1613.     (This)->lpVtbl -> GetRate(This,pRateAdjust)
  1614. #define ISpTTSEngineSite_GetVolume(This,pusVolume)
  1615.     (This)->lpVtbl -> GetVolume(This,pusVolume)
  1616. #define ISpTTSEngineSite_GetSkipInfo(This,peType,plNumItems)
  1617.     (This)->lpVtbl -> GetSkipInfo(This,peType,plNumItems)
  1618. #define ISpTTSEngineSite_CompleteSkip(This,ulNumSkipped)
  1619.     (This)->lpVtbl -> CompleteSkip(This,ulNumSkipped)
  1620. #endif /* COBJMACROS */
  1621. #endif  /* C style interface */
  1622. DWORD STDMETHODCALLTYPE ISpTTSEngineSite_GetActions_Proxy( 
  1623.     ISpTTSEngineSite * This);
  1624. void __RPC_STUB ISpTTSEngineSite_GetActions_Stub(
  1625.     IRpcStubBuffer *This,
  1626.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1627.     PRPC_MESSAGE _pRpcMessage,
  1628.     DWORD *_pdwStubPhase);
  1629. HRESULT STDMETHODCALLTYPE ISpTTSEngineSite_Write_Proxy( 
  1630.     ISpTTSEngineSite * This,
  1631.     /* [in] */ const void *pBuff,
  1632.     /* [in] */ ULONG cb,
  1633.     /* [out] */ ULONG *pcbWritten);
  1634. void __RPC_STUB ISpTTSEngineSite_Write_Stub(
  1635.     IRpcStubBuffer *This,
  1636.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1637.     PRPC_MESSAGE _pRpcMessage,
  1638.     DWORD *_pdwStubPhase);
  1639. HRESULT STDMETHODCALLTYPE ISpTTSEngineSite_GetRate_Proxy( 
  1640.     ISpTTSEngineSite * This,
  1641.     /* [out] */ long *pRateAdjust);
  1642. void __RPC_STUB ISpTTSEngineSite_GetRate_Stub(
  1643.     IRpcStubBuffer *This,
  1644.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1645.     PRPC_MESSAGE _pRpcMessage,
  1646.     DWORD *_pdwStubPhase);
  1647. HRESULT STDMETHODCALLTYPE ISpTTSEngineSite_GetVolume_Proxy( 
  1648.     ISpTTSEngineSite * This,
  1649.     /* [out] */ USHORT *pusVolume);
  1650. void __RPC_STUB ISpTTSEngineSite_GetVolume_Stub(
  1651.     IRpcStubBuffer *This,
  1652.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1653.     PRPC_MESSAGE _pRpcMessage,
  1654.     DWORD *_pdwStubPhase);
  1655. HRESULT STDMETHODCALLTYPE ISpTTSEngineSite_GetSkipInfo_Proxy( 
  1656.     ISpTTSEngineSite * This,
  1657.     /* [out] */ SPVSKIPTYPE *peType,
  1658.     /* [out] */ long *plNumItems);
  1659. void __RPC_STUB ISpTTSEngineSite_GetSkipInfo_Stub(
  1660.     IRpcStubBuffer *This,
  1661.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1662.     PRPC_MESSAGE _pRpcMessage,
  1663.     DWORD *_pdwStubPhase);
  1664. HRESULT STDMETHODCALLTYPE ISpTTSEngineSite_CompleteSkip_Proxy( 
  1665.     ISpTTSEngineSite * This,
  1666.     /* [in] */ long ulNumSkipped);
  1667. void __RPC_STUB ISpTTSEngineSite_CompleteSkip_Stub(
  1668.     IRpcStubBuffer *This,
  1669.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1670.     PRPC_MESSAGE _pRpcMessage,
  1671.     DWORD *_pdwStubPhase);
  1672. #endif  /* __ISpTTSEngineSite_INTERFACE_DEFINED__ */
  1673. /* interface __MIDL_itf_sapiddk_0347 */
  1674. /* [local] */ 
  1675. typedef struct SPVTEXTFRAG
  1676.     {
  1677.     struct SPVTEXTFRAG *pNext;
  1678.     SPVSTATE State;
  1679.     LPCWSTR pTextStart;
  1680.     ULONG ulTextLen;
  1681.     ULONG ulTextSrcOffset;
  1682.     }  SPVTEXTFRAG;
  1683. extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0347_v0_0_c_ifspec;
  1684. extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0347_v0_0_s_ifspec;
  1685. #ifndef __ISpTTSEngine_INTERFACE_DEFINED__
  1686. #define __ISpTTSEngine_INTERFACE_DEFINED__
  1687. /* interface ISpTTSEngine */
  1688. /* [unique][helpstring][uuid][local][object] */ 
  1689. EXTERN_C const IID IID_ISpTTSEngine;
  1690. #if defined(__cplusplus) && !defined(CINTERFACE)
  1691.     
  1692.     MIDL_INTERFACE("A74D7C8E-4CC5-4f2f-A6EB-804DEE18500E")
  1693.     ISpTTSEngine : public IUnknown
  1694.     {
  1695.     public:
  1696.         virtual HRESULT STDMETHODCALLTYPE Speak( 
  1697.             /* [in] */ DWORD dwSpeakFlags,
  1698.             /* [in] */ REFGUID rguidFormatId,
  1699.             /* [in] */ const WAVEFORMATEX *pWaveFormatEx,
  1700.             /* [in] */ const SPVTEXTFRAG *pTextFragList,
  1701.             /* [in] */ ISpTTSEngineSite *pOutputSite) = 0;
  1702.         
  1703.         virtual HRESULT STDMETHODCALLTYPE GetOutputFormat( 
  1704.             /* [in] */ const GUID *pTargetFmtId,
  1705.             /* [in] */ const WAVEFORMATEX *pTargetWaveFormatEx,
  1706.             /* [out] */ GUID *pOutputFormatId,
  1707.             /* [out] */ WAVEFORMATEX **ppCoMemOutputWaveFormatEx) = 0;
  1708.