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

模拟服务器

开发平台:

C/C++

  1.             /* [retval][out] */ VARIANT *Pronunciation) = 0;
  2.         
  3.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_DisplayAttributes( 
  4.             /* [retval][out] */ SpeechDisplayAttributes *DisplayAttributes) = 0;
  5.         
  6.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_RequiredConfidence( 
  7.             /* [retval][out] */ SpeechEngineConfidence *RequiredConfidence) = 0;
  8.         
  9.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ActualConfidence( 
  10.             /* [retval][out] */ SpeechEngineConfidence *ActualConfidence) = 0;
  11.         
  12.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_EngineConfidence( 
  13.             /* [retval][out] */ float *EngineConfidence) = 0;
  14.         
  15.     };
  16.     
  17. #else  /* C style interface */
  18.     typedef struct ISpeechPhraseElementVtbl
  19.     {
  20.         BEGIN_INTERFACE
  21.         
  22.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  23.             ISpeechPhraseElement * This,
  24.             /* [in] */ REFIID riid,
  25.             /* [iid_is][out] */ void **ppvObject);
  26.         
  27.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  28.             ISpeechPhraseElement * This);
  29.         
  30.         ULONG ( STDMETHODCALLTYPE *Release )( 
  31.             ISpeechPhraseElement * This);
  32.         
  33.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  34.             ISpeechPhraseElement * This,
  35.             /* [out] */ UINT *pctinfo);
  36.         
  37.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  38.             ISpeechPhraseElement * This,
  39.             /* [in] */ UINT iTInfo,
  40.             /* [in] */ LCID lcid,
  41.             /* [out] */ ITypeInfo **ppTInfo);
  42.         
  43.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  44.             ISpeechPhraseElement * This,
  45.             /* [in] */ REFIID riid,
  46.             /* [size_is][in] */ LPOLESTR *rgszNames,
  47.             /* [in] */ UINT cNames,
  48.             /* [in] */ LCID lcid,
  49.             /* [size_is][out] */ DISPID *rgDispId);
  50.         
  51.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  52.             ISpeechPhraseElement * This,
  53.             /* [in] */ DISPID dispIdMember,
  54.             /* [in] */ REFIID riid,
  55.             /* [in] */ LCID lcid,
  56.             /* [in] */ WORD wFlags,
  57.             /* [out][in] */ DISPPARAMS *pDispParams,
  58.             /* [out] */ VARIANT *pVarResult,
  59.             /* [out] */ EXCEPINFO *pExcepInfo,
  60.             /* [out] */ UINT *puArgErr);
  61.         
  62.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AudioTimeOffset )( 
  63.             ISpeechPhraseElement * This,
  64.             /* [retval][out] */ long *AudioTimeOffset);
  65.         
  66.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AudioSizeTime )( 
  67.             ISpeechPhraseElement * This,
  68.             /* [retval][out] */ long *AudioSizeTime);
  69.         
  70.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AudioStreamOffset )( 
  71.             ISpeechPhraseElement * This,
  72.             /* [retval][out] */ long *AudioStreamOffset);
  73.         
  74.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AudioSizeBytes )( 
  75.             ISpeechPhraseElement * This,
  76.             /* [retval][out] */ long *AudioSizeBytes);
  77.         
  78.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RetainedStreamOffset )( 
  79.             ISpeechPhraseElement * This,
  80.             /* [retval][out] */ long *RetainedStreamOffset);
  81.         
  82.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RetainedSizeBytes )( 
  83.             ISpeechPhraseElement * This,
  84.             /* [retval][out] */ long *RetainedSizeBytes);
  85.         
  86.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DisplayText )( 
  87.             ISpeechPhraseElement * This,
  88.             /* [retval][out] */ BSTR *DisplayText);
  89.         
  90.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LexicalForm )( 
  91.             ISpeechPhraseElement * This,
  92.             /* [retval][out] */ BSTR *LexicalForm);
  93.         
  94.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Pronunciation )( 
  95.             ISpeechPhraseElement * This,
  96.             /* [retval][out] */ VARIANT *Pronunciation);
  97.         
  98.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DisplayAttributes )( 
  99.             ISpeechPhraseElement * This,
  100.             /* [retval][out] */ SpeechDisplayAttributes *DisplayAttributes);
  101.         
  102.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RequiredConfidence )( 
  103.             ISpeechPhraseElement * This,
  104.             /* [retval][out] */ SpeechEngineConfidence *RequiredConfidence);
  105.         
  106.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ActualConfidence )( 
  107.             ISpeechPhraseElement * This,
  108.             /* [retval][out] */ SpeechEngineConfidence *ActualConfidence);
  109.         
  110.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EngineConfidence )( 
  111.             ISpeechPhraseElement * This,
  112.             /* [retval][out] */ float *EngineConfidence);
  113.         
  114.         END_INTERFACE
  115.     } ISpeechPhraseElementVtbl;
  116.     interface ISpeechPhraseElement
  117.     {
  118.         CONST_VTBL struct ISpeechPhraseElementVtbl *lpVtbl;
  119.     };
  120.     
  121. #ifdef COBJMACROS
  122. #define ISpeechPhraseElement_QueryInterface(This,riid,ppvObject)
  123.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  124. #define ISpeechPhraseElement_AddRef(This)
  125.     (This)->lpVtbl -> AddRef(This)
  126. #define ISpeechPhraseElement_Release(This)
  127.     (This)->lpVtbl -> Release(This)
  128. #define ISpeechPhraseElement_GetTypeInfoCount(This,pctinfo)
  129.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  130. #define ISpeechPhraseElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  131.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  132. #define ISpeechPhraseElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  133.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  134. #define ISpeechPhraseElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  135.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  136. #define ISpeechPhraseElement_get_AudioTimeOffset(This,AudioTimeOffset)
  137.     (This)->lpVtbl -> get_AudioTimeOffset(This,AudioTimeOffset)
  138. #define ISpeechPhraseElement_get_AudioSizeTime(This,AudioSizeTime)
  139.     (This)->lpVtbl -> get_AudioSizeTime(This,AudioSizeTime)
  140. #define ISpeechPhraseElement_get_AudioStreamOffset(This,AudioStreamOffset)
  141.     (This)->lpVtbl -> get_AudioStreamOffset(This,AudioStreamOffset)
  142. #define ISpeechPhraseElement_get_AudioSizeBytes(This,AudioSizeBytes)
  143.     (This)->lpVtbl -> get_AudioSizeBytes(This,AudioSizeBytes)
  144. #define ISpeechPhraseElement_get_RetainedStreamOffset(This,RetainedStreamOffset)
  145.     (This)->lpVtbl -> get_RetainedStreamOffset(This,RetainedStreamOffset)
  146. #define ISpeechPhraseElement_get_RetainedSizeBytes(This,RetainedSizeBytes)
  147.     (This)->lpVtbl -> get_RetainedSizeBytes(This,RetainedSizeBytes)
  148. #define ISpeechPhraseElement_get_DisplayText(This,DisplayText)
  149.     (This)->lpVtbl -> get_DisplayText(This,DisplayText)
  150. #define ISpeechPhraseElement_get_LexicalForm(This,LexicalForm)
  151.     (This)->lpVtbl -> get_LexicalForm(This,LexicalForm)
  152. #define ISpeechPhraseElement_get_Pronunciation(This,Pronunciation)
  153.     (This)->lpVtbl -> get_Pronunciation(This,Pronunciation)
  154. #define ISpeechPhraseElement_get_DisplayAttributes(This,DisplayAttributes)
  155.     (This)->lpVtbl -> get_DisplayAttributes(This,DisplayAttributes)
  156. #define ISpeechPhraseElement_get_RequiredConfidence(This,RequiredConfidence)
  157.     (This)->lpVtbl -> get_RequiredConfidence(This,RequiredConfidence)
  158. #define ISpeechPhraseElement_get_ActualConfidence(This,ActualConfidence)
  159.     (This)->lpVtbl -> get_ActualConfidence(This,ActualConfidence)
  160. #define ISpeechPhraseElement_get_EngineConfidence(This,EngineConfidence)
  161.     (This)->lpVtbl -> get_EngineConfidence(This,EngineConfidence)
  162. #endif /* COBJMACROS */
  163. #endif  /* C style interface */
  164. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseElement_get_AudioTimeOffset_Proxy( 
  165.     ISpeechPhraseElement * This,
  166.     /* [retval][out] */ long *AudioTimeOffset);
  167. void __RPC_STUB ISpeechPhraseElement_get_AudioTimeOffset_Stub(
  168.     IRpcStubBuffer *This,
  169.     IRpcChannelBuffer *_pRpcChannelBuffer,
  170.     PRPC_MESSAGE _pRpcMessage,
  171.     DWORD *_pdwStubPhase);
  172. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseElement_get_AudioSizeTime_Proxy( 
  173.     ISpeechPhraseElement * This,
  174.     /* [retval][out] */ long *AudioSizeTime);
  175. void __RPC_STUB ISpeechPhraseElement_get_AudioSizeTime_Stub(
  176.     IRpcStubBuffer *This,
  177.     IRpcChannelBuffer *_pRpcChannelBuffer,
  178.     PRPC_MESSAGE _pRpcMessage,
  179.     DWORD *_pdwStubPhase);
  180. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseElement_get_AudioStreamOffset_Proxy( 
  181.     ISpeechPhraseElement * This,
  182.     /* [retval][out] */ long *AudioStreamOffset);
  183. void __RPC_STUB ISpeechPhraseElement_get_AudioStreamOffset_Stub(
  184.     IRpcStubBuffer *This,
  185.     IRpcChannelBuffer *_pRpcChannelBuffer,
  186.     PRPC_MESSAGE _pRpcMessage,
  187.     DWORD *_pdwStubPhase);
  188. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseElement_get_AudioSizeBytes_Proxy( 
  189.     ISpeechPhraseElement * This,
  190.     /* [retval][out] */ long *AudioSizeBytes);
  191. void __RPC_STUB ISpeechPhraseElement_get_AudioSizeBytes_Stub(
  192.     IRpcStubBuffer *This,
  193.     IRpcChannelBuffer *_pRpcChannelBuffer,
  194.     PRPC_MESSAGE _pRpcMessage,
  195.     DWORD *_pdwStubPhase);
  196. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseElement_get_RetainedStreamOffset_Proxy( 
  197.     ISpeechPhraseElement * This,
  198.     /* [retval][out] */ long *RetainedStreamOffset);
  199. void __RPC_STUB ISpeechPhraseElement_get_RetainedStreamOffset_Stub(
  200.     IRpcStubBuffer *This,
  201.     IRpcChannelBuffer *_pRpcChannelBuffer,
  202.     PRPC_MESSAGE _pRpcMessage,
  203.     DWORD *_pdwStubPhase);
  204. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseElement_get_RetainedSizeBytes_Proxy( 
  205.     ISpeechPhraseElement * This,
  206.     /* [retval][out] */ long *RetainedSizeBytes);
  207. void __RPC_STUB ISpeechPhraseElement_get_RetainedSizeBytes_Stub(
  208.     IRpcStubBuffer *This,
  209.     IRpcChannelBuffer *_pRpcChannelBuffer,
  210.     PRPC_MESSAGE _pRpcMessage,
  211.     DWORD *_pdwStubPhase);
  212. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseElement_get_DisplayText_Proxy( 
  213.     ISpeechPhraseElement * This,
  214.     /* [retval][out] */ BSTR *DisplayText);
  215. void __RPC_STUB ISpeechPhraseElement_get_DisplayText_Stub(
  216.     IRpcStubBuffer *This,
  217.     IRpcChannelBuffer *_pRpcChannelBuffer,
  218.     PRPC_MESSAGE _pRpcMessage,
  219.     DWORD *_pdwStubPhase);
  220. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseElement_get_LexicalForm_Proxy( 
  221.     ISpeechPhraseElement * This,
  222.     /* [retval][out] */ BSTR *LexicalForm);
  223. void __RPC_STUB ISpeechPhraseElement_get_LexicalForm_Stub(
  224.     IRpcStubBuffer *This,
  225.     IRpcChannelBuffer *_pRpcChannelBuffer,
  226.     PRPC_MESSAGE _pRpcMessage,
  227.     DWORD *_pdwStubPhase);
  228. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseElement_get_Pronunciation_Proxy( 
  229.     ISpeechPhraseElement * This,
  230.     /* [retval][out] */ VARIANT *Pronunciation);
  231. void __RPC_STUB ISpeechPhraseElement_get_Pronunciation_Stub(
  232.     IRpcStubBuffer *This,
  233.     IRpcChannelBuffer *_pRpcChannelBuffer,
  234.     PRPC_MESSAGE _pRpcMessage,
  235.     DWORD *_pdwStubPhase);
  236. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseElement_get_DisplayAttributes_Proxy( 
  237.     ISpeechPhraseElement * This,
  238.     /* [retval][out] */ SpeechDisplayAttributes *DisplayAttributes);
  239. void __RPC_STUB ISpeechPhraseElement_get_DisplayAttributes_Stub(
  240.     IRpcStubBuffer *This,
  241.     IRpcChannelBuffer *_pRpcChannelBuffer,
  242.     PRPC_MESSAGE _pRpcMessage,
  243.     DWORD *_pdwStubPhase);
  244. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseElement_get_RequiredConfidence_Proxy( 
  245.     ISpeechPhraseElement * This,
  246.     /* [retval][out] */ SpeechEngineConfidence *RequiredConfidence);
  247. void __RPC_STUB ISpeechPhraseElement_get_RequiredConfidence_Stub(
  248.     IRpcStubBuffer *This,
  249.     IRpcChannelBuffer *_pRpcChannelBuffer,
  250.     PRPC_MESSAGE _pRpcMessage,
  251.     DWORD *_pdwStubPhase);
  252. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseElement_get_ActualConfidence_Proxy( 
  253.     ISpeechPhraseElement * This,
  254.     /* [retval][out] */ SpeechEngineConfidence *ActualConfidence);
  255. void __RPC_STUB ISpeechPhraseElement_get_ActualConfidence_Stub(
  256.     IRpcStubBuffer *This,
  257.     IRpcChannelBuffer *_pRpcChannelBuffer,
  258.     PRPC_MESSAGE _pRpcMessage,
  259.     DWORD *_pdwStubPhase);
  260. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseElement_get_EngineConfidence_Proxy( 
  261.     ISpeechPhraseElement * This,
  262.     /* [retval][out] */ float *EngineConfidence);
  263. void __RPC_STUB ISpeechPhraseElement_get_EngineConfidence_Stub(
  264.     IRpcStubBuffer *This,
  265.     IRpcChannelBuffer *_pRpcChannelBuffer,
  266.     PRPC_MESSAGE _pRpcMessage,
  267.     DWORD *_pdwStubPhase);
  268. #endif  /* __ISpeechPhraseElement_INTERFACE_DEFINED__ */
  269. #ifndef __ISpeechPhraseElements_INTERFACE_DEFINED__
  270. #define __ISpeechPhraseElements_INTERFACE_DEFINED__
  271. /* interface ISpeechPhraseElements */
  272. /* [unique][helpstring][dual][uuid][object] */ 
  273. EXTERN_C const IID IID_ISpeechPhraseElements;
  274. #if defined(__cplusplus) && !defined(CINTERFACE)
  275.     
  276.     MIDL_INTERFACE("0626B328-3478-467d-A0B3-D0853B93DDA3")
  277.     ISpeechPhraseElements : public IDispatch
  278.     {
  279.     public:
  280.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Count( 
  281.             /* [retval][out] */ long *Count) = 0;
  282.         
  283.         virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Item( 
  284.             /* [in] */ long Index,
  285.             /* [retval][out] */ ISpeechPhraseElement **Element) = 0;
  286.         
  287.         virtual /* [id][restricted][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum( 
  288.             /* [retval][out] */ IUnknown **EnumVARIANT) = 0;
  289.         
  290.     };
  291.     
  292. #else  /* C style interface */
  293.     typedef struct ISpeechPhraseElementsVtbl
  294.     {
  295.         BEGIN_INTERFACE
  296.         
  297.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  298.             ISpeechPhraseElements * This,
  299.             /* [in] */ REFIID riid,
  300.             /* [iid_is][out] */ void **ppvObject);
  301.         
  302.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  303.             ISpeechPhraseElements * This);
  304.         
  305.         ULONG ( STDMETHODCALLTYPE *Release )( 
  306.             ISpeechPhraseElements * This);
  307.         
  308.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  309.             ISpeechPhraseElements * This,
  310.             /* [out] */ UINT *pctinfo);
  311.         
  312.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  313.             ISpeechPhraseElements * This,
  314.             /* [in] */ UINT iTInfo,
  315.             /* [in] */ LCID lcid,
  316.             /* [out] */ ITypeInfo **ppTInfo);
  317.         
  318.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  319.             ISpeechPhraseElements * This,
  320.             /* [in] */ REFIID riid,
  321.             /* [size_is][in] */ LPOLESTR *rgszNames,
  322.             /* [in] */ UINT cNames,
  323.             /* [in] */ LCID lcid,
  324.             /* [size_is][out] */ DISPID *rgDispId);
  325.         
  326.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  327.             ISpeechPhraseElements * This,
  328.             /* [in] */ DISPID dispIdMember,
  329.             /* [in] */ REFIID riid,
  330.             /* [in] */ LCID lcid,
  331.             /* [in] */ WORD wFlags,
  332.             /* [out][in] */ DISPPARAMS *pDispParams,
  333.             /* [out] */ VARIANT *pVarResult,
  334.             /* [out] */ EXCEPINFO *pExcepInfo,
  335.             /* [out] */ UINT *puArgErr);
  336.         
  337.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( 
  338.             ISpeechPhraseElements * This,
  339.             /* [retval][out] */ long *Count);
  340.         
  341.         /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Item )( 
  342.             ISpeechPhraseElements * This,
  343.             /* [in] */ long Index,
  344.             /* [retval][out] */ ISpeechPhraseElement **Element);
  345.         
  346.         /* [id][restricted][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( 
  347.             ISpeechPhraseElements * This,
  348.             /* [retval][out] */ IUnknown **EnumVARIANT);
  349.         
  350.         END_INTERFACE
  351.     } ISpeechPhraseElementsVtbl;
  352.     interface ISpeechPhraseElements
  353.     {
  354.         CONST_VTBL struct ISpeechPhraseElementsVtbl *lpVtbl;
  355.     };
  356.     
  357. #ifdef COBJMACROS
  358. #define ISpeechPhraseElements_QueryInterface(This,riid,ppvObject)
  359.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  360. #define ISpeechPhraseElements_AddRef(This)
  361.     (This)->lpVtbl -> AddRef(This)
  362. #define ISpeechPhraseElements_Release(This)
  363.     (This)->lpVtbl -> Release(This)
  364. #define ISpeechPhraseElements_GetTypeInfoCount(This,pctinfo)
  365.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  366. #define ISpeechPhraseElements_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  367.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  368. #define ISpeechPhraseElements_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  369.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  370. #define ISpeechPhraseElements_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  371.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  372. #define ISpeechPhraseElements_get_Count(This,Count)
  373.     (This)->lpVtbl -> get_Count(This,Count)
  374. #define ISpeechPhraseElements_Item(This,Index,Element)
  375.     (This)->lpVtbl -> Item(This,Index,Element)
  376. #define ISpeechPhraseElements_get__NewEnum(This,EnumVARIANT)
  377.     (This)->lpVtbl -> get__NewEnum(This,EnumVARIANT)
  378. #endif /* COBJMACROS */
  379. #endif  /* C style interface */
  380. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseElements_get_Count_Proxy( 
  381.     ISpeechPhraseElements * This,
  382.     /* [retval][out] */ long *Count);
  383. void __RPC_STUB ISpeechPhraseElements_get_Count_Stub(
  384.     IRpcStubBuffer *This,
  385.     IRpcChannelBuffer *_pRpcChannelBuffer,
  386.     PRPC_MESSAGE _pRpcMessage,
  387.     DWORD *_pdwStubPhase);
  388. /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseElements_Item_Proxy( 
  389.     ISpeechPhraseElements * This,
  390.     /* [in] */ long Index,
  391.     /* [retval][out] */ ISpeechPhraseElement **Element);
  392. void __RPC_STUB ISpeechPhraseElements_Item_Stub(
  393.     IRpcStubBuffer *This,
  394.     IRpcChannelBuffer *_pRpcChannelBuffer,
  395.     PRPC_MESSAGE _pRpcMessage,
  396.     DWORD *_pdwStubPhase);
  397. /* [id][restricted][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseElements_get__NewEnum_Proxy( 
  398.     ISpeechPhraseElements * This,
  399.     /* [retval][out] */ IUnknown **EnumVARIANT);
  400. void __RPC_STUB ISpeechPhraseElements_get__NewEnum_Stub(
  401.     IRpcStubBuffer *This,
  402.     IRpcChannelBuffer *_pRpcChannelBuffer,
  403.     PRPC_MESSAGE _pRpcMessage,
  404.     DWORD *_pdwStubPhase);
  405. #endif  /* __ISpeechPhraseElements_INTERFACE_DEFINED__ */
  406. #ifndef __ISpeechPhraseReplacement_INTERFACE_DEFINED__
  407. #define __ISpeechPhraseReplacement_INTERFACE_DEFINED__
  408. /* interface ISpeechPhraseReplacement */
  409. /* [unique][helpstring][dual][uuid][object] */ 
  410. EXTERN_C const IID IID_ISpeechPhraseReplacement;
  411. #if defined(__cplusplus) && !defined(CINTERFACE)
  412.     
  413.     MIDL_INTERFACE("2890A410-53A7-4fb5-94EC-06D4998E3D02")
  414.     ISpeechPhraseReplacement : public IDispatch
  415.     {
  416.     public:
  417.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_DisplayAttributes( 
  418.             /* [retval][out] */ SpeechDisplayAttributes *DisplayAttributes) = 0;
  419.         
  420.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Text( 
  421.             /* [retval][out] */ BSTR *Text) = 0;
  422.         
  423.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_FirstElement( 
  424.             /* [retval][out] */ long *FirstElement) = 0;
  425.         
  426.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_NumberOfElements( 
  427.             /* [retval][out] */ long *NumberOfElements) = 0;
  428.         
  429.     };
  430.     
  431. #else  /* C style interface */
  432.     typedef struct ISpeechPhraseReplacementVtbl
  433.     {
  434.         BEGIN_INTERFACE
  435.         
  436.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  437.             ISpeechPhraseReplacement * This,
  438.             /* [in] */ REFIID riid,
  439.             /* [iid_is][out] */ void **ppvObject);
  440.         
  441.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  442.             ISpeechPhraseReplacement * This);
  443.         
  444.         ULONG ( STDMETHODCALLTYPE *Release )( 
  445.             ISpeechPhraseReplacement * This);
  446.         
  447.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  448.             ISpeechPhraseReplacement * This,
  449.             /* [out] */ UINT *pctinfo);
  450.         
  451.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  452.             ISpeechPhraseReplacement * This,
  453.             /* [in] */ UINT iTInfo,
  454.             /* [in] */ LCID lcid,
  455.             /* [out] */ ITypeInfo **ppTInfo);
  456.         
  457.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  458.             ISpeechPhraseReplacement * This,
  459.             /* [in] */ REFIID riid,
  460.             /* [size_is][in] */ LPOLESTR *rgszNames,
  461.             /* [in] */ UINT cNames,
  462.             /* [in] */ LCID lcid,
  463.             /* [size_is][out] */ DISPID *rgDispId);
  464.         
  465.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  466.             ISpeechPhraseReplacement * This,
  467.             /* [in] */ DISPID dispIdMember,
  468.             /* [in] */ REFIID riid,
  469.             /* [in] */ LCID lcid,
  470.             /* [in] */ WORD wFlags,
  471.             /* [out][in] */ DISPPARAMS *pDispParams,
  472.             /* [out] */ VARIANT *pVarResult,
  473.             /* [out] */ EXCEPINFO *pExcepInfo,
  474.             /* [out] */ UINT *puArgErr);
  475.         
  476.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DisplayAttributes )( 
  477.             ISpeechPhraseReplacement * This,
  478.             /* [retval][out] */ SpeechDisplayAttributes *DisplayAttributes);
  479.         
  480.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Text )( 
  481.             ISpeechPhraseReplacement * This,
  482.             /* [retval][out] */ BSTR *Text);
  483.         
  484.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FirstElement )( 
  485.             ISpeechPhraseReplacement * This,
  486.             /* [retval][out] */ long *FirstElement);
  487.         
  488.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumberOfElements )( 
  489.             ISpeechPhraseReplacement * This,
  490.             /* [retval][out] */ long *NumberOfElements);
  491.         
  492.         END_INTERFACE
  493.     } ISpeechPhraseReplacementVtbl;
  494.     interface ISpeechPhraseReplacement
  495.     {
  496.         CONST_VTBL struct ISpeechPhraseReplacementVtbl *lpVtbl;
  497.     };
  498.     
  499. #ifdef COBJMACROS
  500. #define ISpeechPhraseReplacement_QueryInterface(This,riid,ppvObject)
  501.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  502. #define ISpeechPhraseReplacement_AddRef(This)
  503.     (This)->lpVtbl -> AddRef(This)
  504. #define ISpeechPhraseReplacement_Release(This)
  505.     (This)->lpVtbl -> Release(This)
  506. #define ISpeechPhraseReplacement_GetTypeInfoCount(This,pctinfo)
  507.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  508. #define ISpeechPhraseReplacement_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  509.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  510. #define ISpeechPhraseReplacement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  511.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  512. #define ISpeechPhraseReplacement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  513.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  514. #define ISpeechPhraseReplacement_get_DisplayAttributes(This,DisplayAttributes)
  515.     (This)->lpVtbl -> get_DisplayAttributes(This,DisplayAttributes)
  516. #define ISpeechPhraseReplacement_get_Text(This,Text)
  517.     (This)->lpVtbl -> get_Text(This,Text)
  518. #define ISpeechPhraseReplacement_get_FirstElement(This,FirstElement)
  519.     (This)->lpVtbl -> get_FirstElement(This,FirstElement)
  520. #define ISpeechPhraseReplacement_get_NumberOfElements(This,NumberOfElements)
  521.     (This)->lpVtbl -> get_NumberOfElements(This,NumberOfElements)
  522. #endif /* COBJMACROS */
  523. #endif  /* C style interface */
  524. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseReplacement_get_DisplayAttributes_Proxy( 
  525.     ISpeechPhraseReplacement * This,
  526.     /* [retval][out] */ SpeechDisplayAttributes *DisplayAttributes);
  527. void __RPC_STUB ISpeechPhraseReplacement_get_DisplayAttributes_Stub(
  528.     IRpcStubBuffer *This,
  529.     IRpcChannelBuffer *_pRpcChannelBuffer,
  530.     PRPC_MESSAGE _pRpcMessage,
  531.     DWORD *_pdwStubPhase);
  532. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseReplacement_get_Text_Proxy( 
  533.     ISpeechPhraseReplacement * This,
  534.     /* [retval][out] */ BSTR *Text);
  535. void __RPC_STUB ISpeechPhraseReplacement_get_Text_Stub(
  536.     IRpcStubBuffer *This,
  537.     IRpcChannelBuffer *_pRpcChannelBuffer,
  538.     PRPC_MESSAGE _pRpcMessage,
  539.     DWORD *_pdwStubPhase);
  540. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseReplacement_get_FirstElement_Proxy( 
  541.     ISpeechPhraseReplacement * This,
  542.     /* [retval][out] */ long *FirstElement);
  543. void __RPC_STUB ISpeechPhraseReplacement_get_FirstElement_Stub(
  544.     IRpcStubBuffer *This,
  545.     IRpcChannelBuffer *_pRpcChannelBuffer,
  546.     PRPC_MESSAGE _pRpcMessage,
  547.     DWORD *_pdwStubPhase);
  548. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseReplacement_get_NumberOfElements_Proxy( 
  549.     ISpeechPhraseReplacement * This,
  550.     /* [retval][out] */ long *NumberOfElements);
  551. void __RPC_STUB ISpeechPhraseReplacement_get_NumberOfElements_Stub(
  552.     IRpcStubBuffer *This,
  553.     IRpcChannelBuffer *_pRpcChannelBuffer,
  554.     PRPC_MESSAGE _pRpcMessage,
  555.     DWORD *_pdwStubPhase);
  556. #endif  /* __ISpeechPhraseReplacement_INTERFACE_DEFINED__ */
  557. #ifndef __ISpeechPhraseReplacements_INTERFACE_DEFINED__
  558. #define __ISpeechPhraseReplacements_INTERFACE_DEFINED__
  559. /* interface ISpeechPhraseReplacements */
  560. /* [unique][helpstring][dual][uuid][object] */ 
  561. EXTERN_C const IID IID_ISpeechPhraseReplacements;
  562. #if defined(__cplusplus) && !defined(CINTERFACE)
  563.     
  564.     MIDL_INTERFACE("38BC662F-2257-4525-959E-2069D2596C05")
  565.     ISpeechPhraseReplacements : public IDispatch
  566.     {
  567.     public:
  568.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Count( 
  569.             /* [retval][out] */ long *Count) = 0;
  570.         
  571.         virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Item( 
  572.             /* [in] */ long Index,
  573.             /* [retval][out] */ ISpeechPhraseReplacement **Reps) = 0;
  574.         
  575.         virtual /* [id][restricted][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum( 
  576.             /* [retval][out] */ IUnknown **EnumVARIANT) = 0;
  577.         
  578.     };
  579.     
  580. #else  /* C style interface */
  581.     typedef struct ISpeechPhraseReplacementsVtbl
  582.     {
  583.         BEGIN_INTERFACE
  584.         
  585.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  586.             ISpeechPhraseReplacements * This,
  587.             /* [in] */ REFIID riid,
  588.             /* [iid_is][out] */ void **ppvObject);
  589.         
  590.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  591.             ISpeechPhraseReplacements * This);
  592.         
  593.         ULONG ( STDMETHODCALLTYPE *Release )( 
  594.             ISpeechPhraseReplacements * This);
  595.         
  596.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  597.             ISpeechPhraseReplacements * This,
  598.             /* [out] */ UINT *pctinfo);
  599.         
  600.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  601.             ISpeechPhraseReplacements * This,
  602.             /* [in] */ UINT iTInfo,
  603.             /* [in] */ LCID lcid,
  604.             /* [out] */ ITypeInfo **ppTInfo);
  605.         
  606.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  607.             ISpeechPhraseReplacements * This,
  608.             /* [in] */ REFIID riid,
  609.             /* [size_is][in] */ LPOLESTR *rgszNames,
  610.             /* [in] */ UINT cNames,
  611.             /* [in] */ LCID lcid,
  612.             /* [size_is][out] */ DISPID *rgDispId);
  613.         
  614.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  615.             ISpeechPhraseReplacements * This,
  616.             /* [in] */ DISPID dispIdMember,
  617.             /* [in] */ REFIID riid,
  618.             /* [in] */ LCID lcid,
  619.             /* [in] */ WORD wFlags,
  620.             /* [out][in] */ DISPPARAMS *pDispParams,
  621.             /* [out] */ VARIANT *pVarResult,
  622.             /* [out] */ EXCEPINFO *pExcepInfo,
  623.             /* [out] */ UINT *puArgErr);
  624.         
  625.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( 
  626.             ISpeechPhraseReplacements * This,
  627.             /* [retval][out] */ long *Count);
  628.         
  629.         /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Item )( 
  630.             ISpeechPhraseReplacements * This,
  631.             /* [in] */ long Index,
  632.             /* [retval][out] */ ISpeechPhraseReplacement **Reps);
  633.         
  634.         /* [id][restricted][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( 
  635.             ISpeechPhraseReplacements * This,
  636.             /* [retval][out] */ IUnknown **EnumVARIANT);
  637.         
  638.         END_INTERFACE
  639.     } ISpeechPhraseReplacementsVtbl;
  640.     interface ISpeechPhraseReplacements
  641.     {
  642.         CONST_VTBL struct ISpeechPhraseReplacementsVtbl *lpVtbl;
  643.     };
  644.     
  645. #ifdef COBJMACROS
  646. #define ISpeechPhraseReplacements_QueryInterface(This,riid,ppvObject)
  647.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  648. #define ISpeechPhraseReplacements_AddRef(This)
  649.     (This)->lpVtbl -> AddRef(This)
  650. #define ISpeechPhraseReplacements_Release(This)
  651.     (This)->lpVtbl -> Release(This)
  652. #define ISpeechPhraseReplacements_GetTypeInfoCount(This,pctinfo)
  653.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  654. #define ISpeechPhraseReplacements_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  655.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  656. #define ISpeechPhraseReplacements_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  657.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  658. #define ISpeechPhraseReplacements_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  659.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  660. #define ISpeechPhraseReplacements_get_Count(This,Count)
  661.     (This)->lpVtbl -> get_Count(This,Count)
  662. #define ISpeechPhraseReplacements_Item(This,Index,Reps)
  663.     (This)->lpVtbl -> Item(This,Index,Reps)
  664. #define ISpeechPhraseReplacements_get__NewEnum(This,EnumVARIANT)
  665.     (This)->lpVtbl -> get__NewEnum(This,EnumVARIANT)
  666. #endif /* COBJMACROS */
  667. #endif  /* C style interface */
  668. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseReplacements_get_Count_Proxy( 
  669.     ISpeechPhraseReplacements * This,
  670.     /* [retval][out] */ long *Count);
  671. void __RPC_STUB ISpeechPhraseReplacements_get_Count_Stub(
  672.     IRpcStubBuffer *This,
  673.     IRpcChannelBuffer *_pRpcChannelBuffer,
  674.     PRPC_MESSAGE _pRpcMessage,
  675.     DWORD *_pdwStubPhase);
  676. /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseReplacements_Item_Proxy( 
  677.     ISpeechPhraseReplacements * This,
  678.     /* [in] */ long Index,
  679.     /* [retval][out] */ ISpeechPhraseReplacement **Reps);
  680. void __RPC_STUB ISpeechPhraseReplacements_Item_Stub(
  681.     IRpcStubBuffer *This,
  682.     IRpcChannelBuffer *_pRpcChannelBuffer,
  683.     PRPC_MESSAGE _pRpcMessage,
  684.     DWORD *_pdwStubPhase);
  685. /* [id][restricted][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseReplacements_get__NewEnum_Proxy( 
  686.     ISpeechPhraseReplacements * This,
  687.     /* [retval][out] */ IUnknown **EnumVARIANT);
  688. void __RPC_STUB ISpeechPhraseReplacements_get__NewEnum_Stub(
  689.     IRpcStubBuffer *This,
  690.     IRpcChannelBuffer *_pRpcChannelBuffer,
  691.     PRPC_MESSAGE _pRpcMessage,
  692.     DWORD *_pdwStubPhase);
  693. #endif  /* __ISpeechPhraseReplacements_INTERFACE_DEFINED__ */
  694. #ifndef __ISpeechPhraseProperty_INTERFACE_DEFINED__
  695. #define __ISpeechPhraseProperty_INTERFACE_DEFINED__
  696. /* interface ISpeechPhraseProperty */
  697. /* [unique][helpstring][dual][uuid][object] */ 
  698. EXTERN_C const IID IID_ISpeechPhraseProperty;
  699. #if defined(__cplusplus) && !defined(CINTERFACE)
  700.     
  701.     MIDL_INTERFACE("CE563D48-961E-4732-A2E1-378A42B430BE")
  702.     ISpeechPhraseProperty : public IDispatch
  703.     {
  704.     public:
  705.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Name( 
  706.             /* [retval][out] */ BSTR *Name) = 0;
  707.         
  708.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Id( 
  709.             /* [retval][out] */ long *Id) = 0;
  710.         
  711.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Value( 
  712.             /* [retval][out] */ VARIANT *Value) = 0;
  713.         
  714.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_FirstElement( 
  715.             /* [retval][out] */ long *FirstElement) = 0;
  716.         
  717.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_NumberOfElements( 
  718.             /* [retval][out] */ long *NumberOfElements) = 0;
  719.         
  720.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_EngineConfidence( 
  721.             /* [retval][out] */ float *Confidence) = 0;
  722.         
  723.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Confidence( 
  724.             /* [retval][out] */ SpeechEngineConfidence *Confidence) = 0;
  725.         
  726.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Parent( 
  727.             /* [retval][out] */ ISpeechPhraseProperty **ParentProperty) = 0;
  728.         
  729.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Children( 
  730.             /* [retval][out] */ ISpeechPhraseProperties **Children) = 0;
  731.         
  732.     };
  733.     
  734. #else  /* C style interface */
  735.     typedef struct ISpeechPhrasePropertyVtbl
  736.     {
  737.         BEGIN_INTERFACE
  738.         
  739.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  740.             ISpeechPhraseProperty * This,
  741.             /* [in] */ REFIID riid,
  742.             /* [iid_is][out] */ void **ppvObject);
  743.         
  744.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  745.             ISpeechPhraseProperty * This);
  746.         
  747.         ULONG ( STDMETHODCALLTYPE *Release )( 
  748.             ISpeechPhraseProperty * This);
  749.         
  750.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  751.             ISpeechPhraseProperty * This,
  752.             /* [out] */ UINT *pctinfo);
  753.         
  754.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  755.             ISpeechPhraseProperty * This,
  756.             /* [in] */ UINT iTInfo,
  757.             /* [in] */ LCID lcid,
  758.             /* [out] */ ITypeInfo **ppTInfo);
  759.         
  760.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  761.             ISpeechPhraseProperty * This,
  762.             /* [in] */ REFIID riid,
  763.             /* [size_is][in] */ LPOLESTR *rgszNames,
  764.             /* [in] */ UINT cNames,
  765.             /* [in] */ LCID lcid,
  766.             /* [size_is][out] */ DISPID *rgDispId);
  767.         
  768.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  769.             ISpeechPhraseProperty * This,
  770.             /* [in] */ DISPID dispIdMember,
  771.             /* [in] */ REFIID riid,
  772.             /* [in] */ LCID lcid,
  773.             /* [in] */ WORD wFlags,
  774.             /* [out][in] */ DISPPARAMS *pDispParams,
  775.             /* [out] */ VARIANT *pVarResult,
  776.             /* [out] */ EXCEPINFO *pExcepInfo,
  777.             /* [out] */ UINT *puArgErr);
  778.         
  779.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
  780.             ISpeechPhraseProperty * This,
  781.             /* [retval][out] */ BSTR *Name);
  782.         
  783.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( 
  784.             ISpeechPhraseProperty * This,
  785.             /* [retval][out] */ long *Id);
  786.         
  787.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Value )( 
  788.             ISpeechPhraseProperty * This,
  789.             /* [retval][out] */ VARIANT *Value);
  790.         
  791.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FirstElement )( 
  792.             ISpeechPhraseProperty * This,
  793.             /* [retval][out] */ long *FirstElement);
  794.         
  795.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumberOfElements )( 
  796.             ISpeechPhraseProperty * This,
  797.             /* [retval][out] */ long *NumberOfElements);
  798.         
  799.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EngineConfidence )( 
  800.             ISpeechPhraseProperty * This,
  801.             /* [retval][out] */ float *Confidence);
  802.         
  803.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Confidence )( 
  804.             ISpeechPhraseProperty * This,
  805.             /* [retval][out] */ SpeechEngineConfidence *Confidence);
  806.         
  807.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Parent )( 
  808.             ISpeechPhraseProperty * This,
  809.             /* [retval][out] */ ISpeechPhraseProperty **ParentProperty);
  810.         
  811.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Children )( 
  812.             ISpeechPhraseProperty * This,
  813.             /* [retval][out] */ ISpeechPhraseProperties **Children);
  814.         
  815.         END_INTERFACE
  816.     } ISpeechPhrasePropertyVtbl;
  817.     interface ISpeechPhraseProperty
  818.     {
  819.         CONST_VTBL struct ISpeechPhrasePropertyVtbl *lpVtbl;
  820.     };
  821.     
  822. #ifdef COBJMACROS
  823. #define ISpeechPhraseProperty_QueryInterface(This,riid,ppvObject)
  824.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  825. #define ISpeechPhraseProperty_AddRef(This)
  826.     (This)->lpVtbl -> AddRef(This)
  827. #define ISpeechPhraseProperty_Release(This)
  828.     (This)->lpVtbl -> Release(This)
  829. #define ISpeechPhraseProperty_GetTypeInfoCount(This,pctinfo)
  830.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  831. #define ISpeechPhraseProperty_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  832.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  833. #define ISpeechPhraseProperty_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  834.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  835. #define ISpeechPhraseProperty_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  836.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  837. #define ISpeechPhraseProperty_get_Name(This,Name)
  838.     (This)->lpVtbl -> get_Name(This,Name)
  839. #define ISpeechPhraseProperty_get_Id(This,Id)
  840.     (This)->lpVtbl -> get_Id(This,Id)
  841. #define ISpeechPhraseProperty_get_Value(This,Value)
  842.     (This)->lpVtbl -> get_Value(This,Value)
  843. #define ISpeechPhraseProperty_get_FirstElement(This,FirstElement)
  844.     (This)->lpVtbl -> get_FirstElement(This,FirstElement)
  845. #define ISpeechPhraseProperty_get_NumberOfElements(This,NumberOfElements)
  846.     (This)->lpVtbl -> get_NumberOfElements(This,NumberOfElements)
  847. #define ISpeechPhraseProperty_get_EngineConfidence(This,Confidence)
  848.     (This)->lpVtbl -> get_EngineConfidence(This,Confidence)
  849. #define ISpeechPhraseProperty_get_Confidence(This,Confidence)
  850.     (This)->lpVtbl -> get_Confidence(This,Confidence)
  851. #define ISpeechPhraseProperty_get_Parent(This,ParentProperty)
  852.     (This)->lpVtbl -> get_Parent(This,ParentProperty)
  853. #define ISpeechPhraseProperty_get_Children(This,Children)
  854.     (This)->lpVtbl -> get_Children(This,Children)
  855. #endif /* COBJMACROS */
  856. #endif  /* C style interface */
  857. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseProperty_get_Name_Proxy( 
  858.     ISpeechPhraseProperty * This,
  859.     /* [retval][out] */ BSTR *Name);
  860. void __RPC_STUB ISpeechPhraseProperty_get_Name_Stub(
  861.     IRpcStubBuffer *This,
  862.     IRpcChannelBuffer *_pRpcChannelBuffer,
  863.     PRPC_MESSAGE _pRpcMessage,
  864.     DWORD *_pdwStubPhase);
  865. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseProperty_get_Id_Proxy( 
  866.     ISpeechPhraseProperty * This,
  867.     /* [retval][out] */ long *Id);
  868. void __RPC_STUB ISpeechPhraseProperty_get_Id_Stub(
  869.     IRpcStubBuffer *This,
  870.     IRpcChannelBuffer *_pRpcChannelBuffer,
  871.     PRPC_MESSAGE _pRpcMessage,
  872.     DWORD *_pdwStubPhase);
  873. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseProperty_get_Value_Proxy( 
  874.     ISpeechPhraseProperty * This,
  875.     /* [retval][out] */ VARIANT *Value);
  876. void __RPC_STUB ISpeechPhraseProperty_get_Value_Stub(
  877.     IRpcStubBuffer *This,
  878.     IRpcChannelBuffer *_pRpcChannelBuffer,
  879.     PRPC_MESSAGE _pRpcMessage,
  880.     DWORD *_pdwStubPhase);
  881. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseProperty_get_FirstElement_Proxy( 
  882.     ISpeechPhraseProperty * This,
  883.     /* [retval][out] */ long *FirstElement);
  884. void __RPC_STUB ISpeechPhraseProperty_get_FirstElement_Stub(
  885.     IRpcStubBuffer *This,
  886.     IRpcChannelBuffer *_pRpcChannelBuffer,
  887.     PRPC_MESSAGE _pRpcMessage,
  888.     DWORD *_pdwStubPhase);
  889. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseProperty_get_NumberOfElements_Proxy( 
  890.     ISpeechPhraseProperty * This,
  891.     /* [retval][out] */ long *NumberOfElements);
  892. void __RPC_STUB ISpeechPhraseProperty_get_NumberOfElements_Stub(
  893.     IRpcStubBuffer *This,
  894.     IRpcChannelBuffer *_pRpcChannelBuffer,
  895.     PRPC_MESSAGE _pRpcMessage,
  896.     DWORD *_pdwStubPhase);
  897. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseProperty_get_EngineConfidence_Proxy( 
  898.     ISpeechPhraseProperty * This,
  899.     /* [retval][out] */ float *Confidence);
  900. void __RPC_STUB ISpeechPhraseProperty_get_EngineConfidence_Stub(
  901.     IRpcStubBuffer *This,
  902.     IRpcChannelBuffer *_pRpcChannelBuffer,
  903.     PRPC_MESSAGE _pRpcMessage,
  904.     DWORD *_pdwStubPhase);
  905. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseProperty_get_Confidence_Proxy( 
  906.     ISpeechPhraseProperty * This,
  907.     /* [retval][out] */ SpeechEngineConfidence *Confidence);
  908. void __RPC_STUB ISpeechPhraseProperty_get_Confidence_Stub(
  909.     IRpcStubBuffer *This,
  910.     IRpcChannelBuffer *_pRpcChannelBuffer,
  911.     PRPC_MESSAGE _pRpcMessage,
  912.     DWORD *_pdwStubPhase);
  913. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseProperty_get_Parent_Proxy( 
  914.     ISpeechPhraseProperty * This,
  915.     /* [retval][out] */ ISpeechPhraseProperty **ParentProperty);
  916. void __RPC_STUB ISpeechPhraseProperty_get_Parent_Stub(
  917.     IRpcStubBuffer *This,
  918.     IRpcChannelBuffer *_pRpcChannelBuffer,
  919.     PRPC_MESSAGE _pRpcMessage,
  920.     DWORD *_pdwStubPhase);
  921. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseProperty_get_Children_Proxy( 
  922.     ISpeechPhraseProperty * This,
  923.     /* [retval][out] */ ISpeechPhraseProperties **Children);
  924. void __RPC_STUB ISpeechPhraseProperty_get_Children_Stub(
  925.     IRpcStubBuffer *This,
  926.     IRpcChannelBuffer *_pRpcChannelBuffer,
  927.     PRPC_MESSAGE _pRpcMessage,
  928.     DWORD *_pdwStubPhase);
  929. #endif  /* __ISpeechPhraseProperty_INTERFACE_DEFINED__ */
  930. #ifndef __ISpeechPhraseProperties_INTERFACE_DEFINED__
  931. #define __ISpeechPhraseProperties_INTERFACE_DEFINED__
  932. /* interface ISpeechPhraseProperties */
  933. /* [unique][helpstring][dual][uuid][object] */ 
  934. EXTERN_C const IID IID_ISpeechPhraseProperties;
  935. #if defined(__cplusplus) && !defined(CINTERFACE)
  936.     
  937.     MIDL_INTERFACE("08166B47-102E-4b23-A599-BDB98DBFD1F4")
  938.     ISpeechPhraseProperties : public IDispatch
  939.     {
  940.     public:
  941.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Count( 
  942.             /* [retval][out] */ long *Count) = 0;
  943.         
  944.         virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Item( 
  945.             /* [in] */ long Index,
  946.             /* [retval][out] */ ISpeechPhraseProperty **Property) = 0;
  947.         
  948.         virtual /* [id][restricted][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum( 
  949.             /* [retval][out] */ IUnknown **EnumVARIANT) = 0;
  950.         
  951.     };
  952.     
  953. #else  /* C style interface */
  954.     typedef struct ISpeechPhrasePropertiesVtbl
  955.     {
  956.         BEGIN_INTERFACE
  957.         
  958.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  959.             ISpeechPhraseProperties * This,
  960.             /* [in] */ REFIID riid,
  961.             /* [iid_is][out] */ void **ppvObject);
  962.         
  963.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  964.             ISpeechPhraseProperties * This);
  965.         
  966.         ULONG ( STDMETHODCALLTYPE *Release )( 
  967.             ISpeechPhraseProperties * This);
  968.         
  969.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  970.             ISpeechPhraseProperties * This,
  971.             /* [out] */ UINT *pctinfo);
  972.         
  973.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  974.             ISpeechPhraseProperties * This,
  975.             /* [in] */ UINT iTInfo,
  976.             /* [in] */ LCID lcid,
  977.             /* [out] */ ITypeInfo **ppTInfo);
  978.         
  979.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  980.             ISpeechPhraseProperties * This,
  981.             /* [in] */ REFIID riid,
  982.             /* [size_is][in] */ LPOLESTR *rgszNames,
  983.             /* [in] */ UINT cNames,
  984.             /* [in] */ LCID lcid,
  985.             /* [size_is][out] */ DISPID *rgDispId);
  986.         
  987.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  988.             ISpeechPhraseProperties * This,
  989.             /* [in] */ DISPID dispIdMember,
  990.             /* [in] */ REFIID riid,
  991.             /* [in] */ LCID lcid,
  992.             /* [in] */ WORD wFlags,
  993.             /* [out][in] */ DISPPARAMS *pDispParams,
  994.             /* [out] */ VARIANT *pVarResult,
  995.             /* [out] */ EXCEPINFO *pExcepInfo,
  996.             /* [out] */ UINT *puArgErr);
  997.         
  998.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( 
  999.             ISpeechPhraseProperties * This,
  1000.             /* [retval][out] */ long *Count);
  1001.         
  1002.         /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Item )( 
  1003.             ISpeechPhraseProperties * This,
  1004.             /* [in] */ long Index,
  1005.             /* [retval][out] */ ISpeechPhraseProperty **Property);
  1006.         
  1007.         /* [id][restricted][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( 
  1008.             ISpeechPhraseProperties * This,
  1009.             /* [retval][out] */ IUnknown **EnumVARIANT);
  1010.         
  1011.         END_INTERFACE
  1012.     } ISpeechPhrasePropertiesVtbl;
  1013.     interface ISpeechPhraseProperties
  1014.     {
  1015.         CONST_VTBL struct ISpeechPhrasePropertiesVtbl *lpVtbl;
  1016.     };
  1017.     
  1018. #ifdef COBJMACROS
  1019. #define ISpeechPhraseProperties_QueryInterface(This,riid,ppvObject)
  1020.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1021. #define ISpeechPhraseProperties_AddRef(This)
  1022.     (This)->lpVtbl -> AddRef(This)
  1023. #define ISpeechPhraseProperties_Release(This)
  1024.     (This)->lpVtbl -> Release(This)
  1025. #define ISpeechPhraseProperties_GetTypeInfoCount(This,pctinfo)
  1026.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1027. #define ISpeechPhraseProperties_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1028.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1029. #define ISpeechPhraseProperties_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1030.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1031. #define ISpeechPhraseProperties_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1032.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1033. #define ISpeechPhraseProperties_get_Count(This,Count)
  1034.     (This)->lpVtbl -> get_Count(This,Count)
  1035. #define ISpeechPhraseProperties_Item(This,Index,Property)
  1036.     (This)->lpVtbl -> Item(This,Index,Property)
  1037. #define ISpeechPhraseProperties_get__NewEnum(This,EnumVARIANT)
  1038.     (This)->lpVtbl -> get__NewEnum(This,EnumVARIANT)
  1039. #endif /* COBJMACROS */
  1040. #endif  /* C style interface */
  1041. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseProperties_get_Count_Proxy( 
  1042.     ISpeechPhraseProperties * This,
  1043.     /* [retval][out] */ long *Count);
  1044. void __RPC_STUB ISpeechPhraseProperties_get_Count_Stub(
  1045.     IRpcStubBuffer *This,
  1046.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1047.     PRPC_MESSAGE _pRpcMessage,
  1048.     DWORD *_pdwStubPhase);
  1049. /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseProperties_Item_Proxy( 
  1050.     ISpeechPhraseProperties * This,
  1051.     /* [in] */ long Index,
  1052.     /* [retval][out] */ ISpeechPhraseProperty **Property);
  1053. void __RPC_STUB ISpeechPhraseProperties_Item_Stub(
  1054.     IRpcStubBuffer *This,
  1055.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1056.     PRPC_MESSAGE _pRpcMessage,
  1057.     DWORD *_pdwStubPhase);
  1058. /* [id][restricted][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseProperties_get__NewEnum_Proxy( 
  1059.     ISpeechPhraseProperties * This,
  1060.     /* [retval][out] */ IUnknown **EnumVARIANT);
  1061. void __RPC_STUB ISpeechPhraseProperties_get__NewEnum_Stub(
  1062.     IRpcStubBuffer *This,
  1063.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1064.     PRPC_MESSAGE _pRpcMessage,
  1065.     DWORD *_pdwStubPhase);
  1066. #endif  /* __ISpeechPhraseProperties_INTERFACE_DEFINED__ */
  1067. #ifndef __ISpeechPhraseRule_INTERFACE_DEFINED__
  1068. #define __ISpeechPhraseRule_INTERFACE_DEFINED__
  1069. /* interface ISpeechPhraseRule */
  1070. /* [unique][helpstring][dual][uuid][object] */ 
  1071. EXTERN_C const IID IID_ISpeechPhraseRule;
  1072. #if defined(__cplusplus) && !defined(CINTERFACE)
  1073.     
  1074.     MIDL_INTERFACE("A7BFE112-A4A0-48d9-B602-C313843F6964")
  1075.     ISpeechPhraseRule : public IDispatch
  1076.     {
  1077.     public:
  1078.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Name( 
  1079.             /* [retval][out] */ BSTR *Name) = 0;
  1080.         
  1081.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Id( 
  1082.             /* [retval][out] */ long *Id) = 0;
  1083.         
  1084.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_FirstElement( 
  1085.             /* [retval][out] */ long *FirstElement) = 0;
  1086.         
  1087.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_NumberOfElements( 
  1088.             /* [retval][out] */ long *NumberOfElements) = 0;
  1089.         
  1090.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Parent( 
  1091.             /* [retval][out] */ ISpeechPhraseRule **Parent) = 0;
  1092.         
  1093.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Children( 
  1094.             /* [retval][out] */ ISpeechPhraseRules **Children) = 0;
  1095.         
  1096.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Confidence( 
  1097.             /* [retval][out] */ SpeechEngineConfidence *ActualConfidence) = 0;
  1098.         
  1099.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_EngineConfidence( 
  1100.             /* [retval][out] */ float *EngineConfidence) = 0;
  1101.         
  1102.     };
  1103.     
  1104. #else  /* C style interface */
  1105.     typedef struct ISpeechPhraseRuleVtbl
  1106.     {
  1107.         BEGIN_INTERFACE
  1108.         
  1109.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1110.             ISpeechPhraseRule * This,
  1111.             /* [in] */ REFIID riid,
  1112.             /* [iid_is][out] */ void **ppvObject);
  1113.         
  1114.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1115.             ISpeechPhraseRule * This);
  1116.         
  1117.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1118.             ISpeechPhraseRule * This);
  1119.         
  1120.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1121.             ISpeechPhraseRule * This,
  1122.             /* [out] */ UINT *pctinfo);
  1123.         
  1124.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1125.             ISpeechPhraseRule * This,
  1126.             /* [in] */ UINT iTInfo,
  1127.             /* [in] */ LCID lcid,
  1128.             /* [out] */ ITypeInfo **ppTInfo);
  1129.         
  1130.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1131.             ISpeechPhraseRule * This,
  1132.             /* [in] */ REFIID riid,
  1133.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1134.             /* [in] */ UINT cNames,
  1135.             /* [in] */ LCID lcid,
  1136.             /* [size_is][out] */ DISPID *rgDispId);
  1137.         
  1138.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1139.             ISpeechPhraseRule * This,
  1140.             /* [in] */ DISPID dispIdMember,
  1141.             /* [in] */ REFIID riid,
  1142.             /* [in] */ LCID lcid,
  1143.             /* [in] */ WORD wFlags,
  1144.             /* [out][in] */ DISPPARAMS *pDispParams,
  1145.             /* [out] */ VARIANT *pVarResult,
  1146.             /* [out] */ EXCEPINFO *pExcepInfo,
  1147.             /* [out] */ UINT *puArgErr);
  1148.         
  1149.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
  1150.             ISpeechPhraseRule * This,
  1151.             /* [retval][out] */ BSTR *Name);
  1152.         
  1153.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( 
  1154.             ISpeechPhraseRule * This,
  1155.             /* [retval][out] */ long *Id);
  1156.         
  1157.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FirstElement )( 
  1158.             ISpeechPhraseRule * This,
  1159.             /* [retval][out] */ long *FirstElement);
  1160.         
  1161.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumberOfElements )( 
  1162.             ISpeechPhraseRule * This,
  1163.             /* [retval][out] */ long *NumberOfElements);
  1164.         
  1165.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Parent )( 
  1166.             ISpeechPhraseRule * This,
  1167.             /* [retval][out] */ ISpeechPhraseRule **Parent);
  1168.         
  1169.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Children )( 
  1170.             ISpeechPhraseRule * This,
  1171.             /* [retval][out] */ ISpeechPhraseRules **Children);
  1172.         
  1173.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Confidence )( 
  1174.             ISpeechPhraseRule * This,
  1175.             /* [retval][out] */ SpeechEngineConfidence *ActualConfidence);
  1176.         
  1177.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EngineConfidence )( 
  1178.             ISpeechPhraseRule * This,
  1179.             /* [retval][out] */ float *EngineConfidence);
  1180.         
  1181.         END_INTERFACE
  1182.     } ISpeechPhraseRuleVtbl;
  1183.     interface ISpeechPhraseRule
  1184.     {
  1185.         CONST_VTBL struct ISpeechPhraseRuleVtbl *lpVtbl;
  1186.     };
  1187.     
  1188. #ifdef COBJMACROS
  1189. #define ISpeechPhraseRule_QueryInterface(This,riid,ppvObject)
  1190.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1191. #define ISpeechPhraseRule_AddRef(This)
  1192.     (This)->lpVtbl -> AddRef(This)
  1193. #define ISpeechPhraseRule_Release(This)
  1194.     (This)->lpVtbl -> Release(This)
  1195. #define ISpeechPhraseRule_GetTypeInfoCount(This,pctinfo)
  1196.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1197. #define ISpeechPhraseRule_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1198.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1199. #define ISpeechPhraseRule_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1200.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1201. #define ISpeechPhraseRule_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1202.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1203. #define ISpeechPhraseRule_get_Name(This,Name)
  1204.     (This)->lpVtbl -> get_Name(This,Name)
  1205. #define ISpeechPhraseRule_get_Id(This,Id)
  1206.     (This)->lpVtbl -> get_Id(This,Id)
  1207. #define ISpeechPhraseRule_get_FirstElement(This,FirstElement)
  1208.     (This)->lpVtbl -> get_FirstElement(This,FirstElement)
  1209. #define ISpeechPhraseRule_get_NumberOfElements(This,NumberOfElements)
  1210.     (This)->lpVtbl -> get_NumberOfElements(This,NumberOfElements)
  1211. #define ISpeechPhraseRule_get_Parent(This,Parent)
  1212.     (This)->lpVtbl -> get_Parent(This,Parent)
  1213. #define ISpeechPhraseRule_get_Children(This,Children)
  1214.     (This)->lpVtbl -> get_Children(This,Children)
  1215. #define ISpeechPhraseRule_get_Confidence(This,ActualConfidence)
  1216.     (This)->lpVtbl -> get_Confidence(This,ActualConfidence)
  1217. #define ISpeechPhraseRule_get_EngineConfidence(This,EngineConfidence)
  1218.     (This)->lpVtbl -> get_EngineConfidence(This,EngineConfidence)
  1219. #endif /* COBJMACROS */
  1220. #endif  /* C style interface */
  1221. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseRule_get_Name_Proxy( 
  1222.     ISpeechPhraseRule * This,
  1223.     /* [retval][out] */ BSTR *Name);
  1224. void __RPC_STUB ISpeechPhraseRule_get_Name_Stub(
  1225.     IRpcStubBuffer *This,
  1226.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1227.     PRPC_MESSAGE _pRpcMessage,
  1228.     DWORD *_pdwStubPhase);
  1229. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseRule_get_Id_Proxy( 
  1230.     ISpeechPhraseRule * This,
  1231.     /* [retval][out] */ long *Id);
  1232. void __RPC_STUB ISpeechPhraseRule_get_Id_Stub(
  1233.     IRpcStubBuffer *This,
  1234.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1235.     PRPC_MESSAGE _pRpcMessage,
  1236.     DWORD *_pdwStubPhase);
  1237. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseRule_get_FirstElement_Proxy( 
  1238.     ISpeechPhraseRule * This,
  1239.     /* [retval][out] */ long *FirstElement);
  1240. void __RPC_STUB ISpeechPhraseRule_get_FirstElement_Stub(
  1241.     IRpcStubBuffer *This,
  1242.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1243.     PRPC_MESSAGE _pRpcMessage,
  1244.     DWORD *_pdwStubPhase);
  1245. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseRule_get_NumberOfElements_Proxy( 
  1246.     ISpeechPhraseRule * This,
  1247.     /* [retval][out] */ long *NumberOfElements);
  1248. void __RPC_STUB ISpeechPhraseRule_get_NumberOfElements_Stub(
  1249.     IRpcStubBuffer *This,
  1250.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1251.     PRPC_MESSAGE _pRpcMessage,
  1252.     DWORD *_pdwStubPhase);
  1253. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseRule_get_Parent_Proxy( 
  1254.     ISpeechPhraseRule * This,
  1255.     /* [retval][out] */ ISpeechPhraseRule **Parent);
  1256. void __RPC_STUB ISpeechPhraseRule_get_Parent_Stub(
  1257.     IRpcStubBuffer *This,
  1258.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1259.     PRPC_MESSAGE _pRpcMessage,
  1260.     DWORD *_pdwStubPhase);
  1261. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseRule_get_Children_Proxy( 
  1262.     ISpeechPhraseRule * This,
  1263.     /* [retval][out] */ ISpeechPhraseRules **Children);
  1264. void __RPC_STUB ISpeechPhraseRule_get_Children_Stub(
  1265.     IRpcStubBuffer *This,
  1266.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1267.     PRPC_MESSAGE _pRpcMessage,
  1268.     DWORD *_pdwStubPhase);
  1269. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseRule_get_Confidence_Proxy( 
  1270.     ISpeechPhraseRule * This,
  1271.     /* [retval][out] */ SpeechEngineConfidence *ActualConfidence);
  1272. void __RPC_STUB ISpeechPhraseRule_get_Confidence_Stub(
  1273.     IRpcStubBuffer *This,
  1274.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1275.     PRPC_MESSAGE _pRpcMessage,
  1276.     DWORD *_pdwStubPhase);
  1277. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseRule_get_EngineConfidence_Proxy( 
  1278.     ISpeechPhraseRule * This,
  1279.     /* [retval][out] */ float *EngineConfidence);
  1280. void __RPC_STUB ISpeechPhraseRule_get_EngineConfidence_Stub(
  1281.     IRpcStubBuffer *This,
  1282.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1283.     PRPC_MESSAGE _pRpcMessage,
  1284.     DWORD *_pdwStubPhase);
  1285. #endif  /* __ISpeechPhraseRule_INTERFACE_DEFINED__ */
  1286. #ifndef __ISpeechPhraseRules_INTERFACE_DEFINED__
  1287. #define __ISpeechPhraseRules_INTERFACE_DEFINED__
  1288. /* interface ISpeechPhraseRules */
  1289. /* [unique][helpstring][dual][uuid][object] */ 
  1290. EXTERN_C const IID IID_ISpeechPhraseRules;
  1291. #if defined(__cplusplus) && !defined(CINTERFACE)
  1292.     
  1293.     MIDL_INTERFACE("9047D593-01DD-4b72-81A3-E4A0CA69F407")
  1294.     ISpeechPhraseRules : public IDispatch
  1295.     {
  1296.     public:
  1297.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Count( 
  1298.             /* [retval][out] */ long *Count) = 0;
  1299.         
  1300.         virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Item( 
  1301.             /* [in] */ long Index,
  1302.             /* [retval][out] */ ISpeechPhraseRule **Rule) = 0;
  1303.         
  1304.         virtual /* [id][restricted][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum( 
  1305.             /* [retval][out] */ IUnknown **EnumVARIANT) = 0;
  1306.         
  1307.     };
  1308.     
  1309. #else  /* C style interface */
  1310.     typedef struct ISpeechPhraseRulesVtbl
  1311.     {
  1312.         BEGIN_INTERFACE
  1313.         
  1314.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1315.             ISpeechPhraseRules * This,
  1316.             /* [in] */ REFIID riid,
  1317.             /* [iid_is][out] */ void **ppvObject);
  1318.         
  1319.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1320.             ISpeechPhraseRules * This);
  1321.         
  1322.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1323.             ISpeechPhraseRules * This);
  1324.         
  1325.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1326.             ISpeechPhraseRules * This,
  1327.             /* [out] */ UINT *pctinfo);
  1328.         
  1329.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1330.             ISpeechPhraseRules * This,
  1331.             /* [in] */ UINT iTInfo,
  1332.             /* [in] */ LCID lcid,
  1333.             /* [out] */ ITypeInfo **ppTInfo);
  1334.         
  1335.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1336.             ISpeechPhraseRules * This,
  1337.             /* [in] */ REFIID riid,
  1338.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1339.             /* [in] */ UINT cNames,
  1340.             /* [in] */ LCID lcid,
  1341.             /* [size_is][out] */ DISPID *rgDispId);
  1342.         
  1343.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1344.             ISpeechPhraseRules * This,
  1345.             /* [in] */ DISPID dispIdMember,
  1346.             /* [in] */ REFIID riid,
  1347.             /* [in] */ LCID lcid,
  1348.             /* [in] */ WORD wFlags,
  1349.             /* [out][in] */ DISPPARAMS *pDispParams,
  1350.             /* [out] */ VARIANT *pVarResult,
  1351.             /* [out] */ EXCEPINFO *pExcepInfo,
  1352.             /* [out] */ UINT *puArgErr);
  1353.         
  1354.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( 
  1355.             ISpeechPhraseRules * This,
  1356.             /* [retval][out] */ long *Count);
  1357.         
  1358.         /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Item )( 
  1359.             ISpeechPhraseRules * This,
  1360.             /* [in] */ long Index,
  1361.             /* [retval][out] */ ISpeechPhraseRule **Rule);
  1362.         
  1363.         /* [id][restricted][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( 
  1364.             ISpeechPhraseRules * This,
  1365.             /* [retval][out] */ IUnknown **EnumVARIANT);
  1366.         
  1367.         END_INTERFACE
  1368.     } ISpeechPhraseRulesVtbl;
  1369.     interface ISpeechPhraseRules
  1370.     {
  1371.         CONST_VTBL struct ISpeechPhraseRulesVtbl *lpVtbl;
  1372.     };
  1373.     
  1374. #ifdef COBJMACROS
  1375. #define ISpeechPhraseRules_QueryInterface(This,riid,ppvObject)
  1376.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1377. #define ISpeechPhraseRules_AddRef(This)
  1378.     (This)->lpVtbl -> AddRef(This)
  1379. #define ISpeechPhraseRules_Release(This)
  1380.     (This)->lpVtbl -> Release(This)
  1381. #define ISpeechPhraseRules_GetTypeInfoCount(This,pctinfo)
  1382.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1383. #define ISpeechPhraseRules_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1384.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1385. #define ISpeechPhraseRules_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1386.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1387. #define ISpeechPhraseRules_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1388.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1389. #define ISpeechPhraseRules_get_Count(This,Count)
  1390.     (This)->lpVtbl -> get_Count(This,Count)
  1391. #define ISpeechPhraseRules_Item(This,Index,Rule)
  1392.     (This)->lpVtbl -> Item(This,Index,Rule)
  1393. #define ISpeechPhraseRules_get__NewEnum(This,EnumVARIANT)
  1394.     (This)->lpVtbl -> get__NewEnum(This,EnumVARIANT)
  1395. #endif /* COBJMACROS */
  1396. #endif  /* C style interface */
  1397. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseRules_get_Count_Proxy( 
  1398.     ISpeechPhraseRules * This,
  1399.     /* [retval][out] */ long *Count);
  1400. void __RPC_STUB ISpeechPhraseRules_get_Count_Stub(
  1401.     IRpcStubBuffer *This,
  1402.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1403.     PRPC_MESSAGE _pRpcMessage,
  1404.     DWORD *_pdwStubPhase);
  1405. /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseRules_Item_Proxy( 
  1406.     ISpeechPhraseRules * This,
  1407.     /* [in] */ long Index,
  1408.     /* [retval][out] */ ISpeechPhraseRule **Rule);
  1409. void __RPC_STUB ISpeechPhraseRules_Item_Stub(
  1410.     IRpcStubBuffer *This,
  1411.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1412.     PRPC_MESSAGE _pRpcMessage,
  1413.     DWORD *_pdwStubPhase);
  1414. /* [id][restricted][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseRules_get__NewEnum_Proxy( 
  1415.     ISpeechPhraseRules * This,
  1416.     /* [retval][out] */ IUnknown **EnumVARIANT);
  1417. void __RPC_STUB ISpeechPhraseRules_get__NewEnum_Stub(
  1418.     IRpcStubBuffer *This,
  1419.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1420.     PRPC_MESSAGE _pRpcMessage,
  1421.     DWORD *_pdwStubPhase);
  1422. #endif  /* __ISpeechPhraseRules_INTERFACE_DEFINED__ */
  1423. #ifndef __ISpeechLexicon_INTERFACE_DEFINED__
  1424. #define __ISpeechLexicon_INTERFACE_DEFINED__
  1425. /* interface ISpeechLexicon */
  1426. /* [unique][helpstring][dual][uuid][object] */ 
  1427. EXTERN_C const IID IID_ISpeechLexicon;
  1428. #if defined(__cplusplus) && !defined(CINTERFACE)
  1429.     
  1430.     MIDL_INTERFACE("3DA7627A-C7AE-4b23-8708-638C50362C25")
  1431.     ISpeechLexicon : public IDispatch
  1432.     {
  1433.     public:
  1434.         virtual /* [hidden][id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_GenerationId( 
  1435.             /* [retval][out] */ long *GenerationId) = 0;
  1436.         
  1437.         virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE GetWords( 
  1438.             /* [defaultvalue][in] */ SpeechLexiconType Flags,
  1439.             /* [defaultvalue][out] */ long *GenerationID,
  1440.             /* [retval][out] */ ISpeechLexiconWords **Words) = 0;
  1441.         
  1442.         virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE AddPronunciation( 
  1443.             /* [in] */ BSTR bstrWord,
  1444.             /* [in] */ SpeechLanguageId LangId,
  1445.             /* [defaultvalue][in] */ SpeechPartOfSpeech PartOfSpeech = SPSUnknown,
  1446.             /* [defaultvalue][in] */ BSTR bstrPronunciation = L"") = 0;
  1447.         
  1448.         virtual /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE AddPronunciationByPhoneIds( 
  1449.             /* [in] */ BSTR bstrWord,
  1450.             /* [in] */ SpeechLanguageId LangId,
  1451.             /* [defaultvalue][in] */ SpeechPartOfSpeech PartOfSpeech = SPSUnknown,
  1452.             /* [defaultvalue][in] */ VARIANT *PhoneIds = 0) = 0;
  1453.         
  1454.         virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE RemovePronunciation( 
  1455.             /* [in] */ BSTR bstrWord,
  1456.             /* [in] */ SpeechLanguageId LangId,
  1457.             /* [defaultvalue][in] */ SpeechPartOfSpeech PartOfSpeech = SPSUnknown,
  1458.             /* [defaultvalue][in] */ BSTR bstrPronunciation = L"") = 0;
  1459.         
  1460.         virtual /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE RemovePronunciationByPhoneIds( 
  1461.             /* [in] */ BSTR bstrWord,
  1462.             /* [in] */ SpeechLanguageId LangId,
  1463.             /* [defaultvalue][in] */ SpeechPartOfSpeech PartOfSpeech = SPSUnknown,
  1464.             /* [defaultvalue][in] */ VARIANT *PhoneIds = 0) = 0;
  1465.         
  1466.         virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE GetPronunciations( 
  1467.             /* [in] */ BSTR bstrWord,
  1468.             /* [defaultvalue][in] */ SpeechLanguageId LangId,
  1469.             /* [defaultvalue][in] */ SpeechLexiconType TypeFlags,
  1470.             /* [retval][out] */ ISpeechLexiconPronunciations **ppPronunciations) = 0;
  1471.         
  1472.         virtual /* [hidden][id][helpstring] */ HRESULT STDMETHODCALLTYPE GetGenerationChange( 
  1473.             /* [out][in] */ long *GenerationID,
  1474.             /* [retval][out] */ ISpeechLexiconWords **ppWords) = 0;
  1475.         
  1476.     };
  1477.     
  1478. #else  /* C style interface */
  1479.     typedef struct ISpeechLexiconVtbl
  1480.     {
  1481.         BEGIN_INTERFACE
  1482.         
  1483.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1484.             ISpeechLexicon * This,
  1485.             /* [in] */ REFIID riid,
  1486.             /* [iid_is][out] */ void **ppvObject);
  1487.         
  1488.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1489.             ISpeechLexicon * This);
  1490.         
  1491.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1492.             ISpeechLexicon * This);
  1493.         
  1494.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1495.             ISpeechLexicon * This,
  1496.             /* [out] */ UINT *pctinfo);
  1497.         
  1498.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1499.             ISpeechLexicon * This,
  1500.             /* [in] */ UINT iTInfo,
  1501.             /* [in] */ LCID lcid,
  1502.             /* [out] */ ITypeInfo **ppTInfo);
  1503.         
  1504.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1505.             ISpeechLexicon * This,
  1506.             /* [in] */ REFIID riid,
  1507.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1508.             /* [in] */ UINT cNames,
  1509.             /* [in] */ LCID lcid,
  1510.             /* [size_is][out] */ DISPID *rgDispId);
  1511.         
  1512.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1513.             ISpeechLexicon * This,
  1514.             /* [in] */ DISPID dispIdMember,
  1515.             /* [in] */ REFIID riid,
  1516.             /* [in] */ LCID lcid,
  1517.             /* [in] */ WORD wFlags,
  1518.             /* [out][in] */ DISPPARAMS *pDispParams,
  1519.             /* [out] */ VARIANT *pVarResult,
  1520.             /* [out] */ EXCEPINFO *pExcepInfo,
  1521.             /* [out] */ UINT *puArgErr);
  1522.         
  1523.         /* [hidden][id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_GenerationId )( 
  1524.             ISpeechLexicon * This,
  1525.             /* [retval][out] */ long *GenerationId);
  1526.         
  1527.         /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetWords )( 
  1528.             ISpeechLexicon * This,
  1529.             /* [defaultvalue][in] */ SpeechLexiconType Flags,
  1530.             /* [defaultvalue][out] */ long *GenerationID,
  1531.             /* [retval][out] */ ISpeechLexiconWords **Words);
  1532.         
  1533.         /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddPronunciation )( 
  1534.             ISpeechLexicon * This,
  1535.             /* [in] */ BSTR bstrWord,
  1536.             /* [in] */ SpeechLanguageId LangId,
  1537.             /* [defaultvalue][in] */ SpeechPartOfSpeech PartOfSpeech,
  1538.             /* [defaultvalue][in] */ BSTR bstrPronunciation);
  1539.         
  1540.         /* [id][hidden][helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddPronunciationByPhoneIds )( 
  1541.             ISpeechLexicon * This,
  1542.             /* [in] */ BSTR bstrWord,
  1543.             /* [in] */ SpeechLanguageId LangId,
  1544.             /* [defaultvalue][in] */ SpeechPartOfSpeech PartOfSpeech,
  1545.             /* [defaultvalue][in] */ VARIANT *PhoneIds);
  1546.         
  1547.         /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemovePronunciation )( 
  1548.             ISpeechLexicon * This,
  1549.             /* [in] */ BSTR bstrWord,
  1550.             /* [in] */ SpeechLanguageId LangId,
  1551.             /* [defaultvalue][in] */ SpeechPartOfSpeech PartOfSpeech,
  1552.             /* [defaultvalue][in] */ BSTR bstrPronunciation);
  1553.         
  1554.         /* [id][hidden][helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemovePronunciationByPhoneIds )( 
  1555.             ISpeechLexicon * This,
  1556.             /* [in] */ BSTR bstrWord,
  1557.             /* [in] */ SpeechLanguageId LangId,
  1558.             /* [defaultvalue][in] */ SpeechPartOfSpeech PartOfSpeech,
  1559.             /* [defaultvalue][in] */ VARIANT *PhoneIds);
  1560.         
  1561.         /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetPronunciations )( 
  1562.             ISpeechLexicon * This,
  1563.             /* [in] */ BSTR bstrWord,
  1564.             /* [defaultvalue][in] */ SpeechLanguageId LangId,
  1565.             /* [defaultvalue][in] */ SpeechLexiconType TypeFlags,
  1566.             /* [retval][out] */ ISpeechLexiconPronunciations **ppPronunciations);
  1567.         
  1568.         /* [hidden][id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetGenerationChange )( 
  1569.             ISpeechLexicon * This,
  1570.             /* [out][in] */ long *GenerationID,
  1571.             /* [retval][out] */ ISpeechLexiconWords **ppWords);
  1572.         
  1573.         END_INTERFACE
  1574.     } ISpeechLexiconVtbl;
  1575.     interface ISpeechLexicon
  1576.     {
  1577.         CONST_VTBL struct ISpeechLexiconVtbl *lpVtbl;
  1578.     };
  1579.     
  1580. #ifdef COBJMACROS
  1581. #define ISpeechLexicon_QueryInterface(This,riid,ppvObject)
  1582.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1583. #define ISpeechLexicon_AddRef(This)
  1584.     (This)->lpVtbl -> AddRef(This)
  1585. #define ISpeechLexicon_Release(This)
  1586.     (This)->lpVtbl -> Release(This)
  1587. #define ISpeechLexicon_GetTypeInfoCount(This,pctinfo)
  1588.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1589. #define ISpeechLexicon_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1590.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1591. #define ISpeechLexicon_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1592.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1593. #define ISpeechLexicon_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1594.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1595. #define ISpeechLexicon_get_GenerationId(This,GenerationId)
  1596.     (This)->lpVtbl -> get_GenerationId(This,GenerationId)
  1597. #define ISpeechLexicon_GetWords(This,Flags,GenerationID,Words)
  1598.     (This)->lpVtbl -> GetWords(This,Flags,GenerationID,Words)
  1599. #define ISpeechLexicon_AddPronunciation(This,bstrWord,LangId,PartOfSpeech,bstrPronunciation)
  1600.     (This)->lpVtbl -> AddPronunciation(This,bstrWord,LangId,PartOfSpeech,bstrPronunciation)
  1601. #define ISpeechLexicon_AddPronunciationByPhoneIds(This,bstrWord,LangId,PartOfSpeech,PhoneIds)
  1602.     (This)->lpVtbl -> AddPronunciationByPhoneIds(This,bstrWord,LangId,PartOfSpeech,PhoneIds)
  1603. #define ISpeechLexicon_RemovePronunciation(This,bstrWord,LangId,PartOfSpeech,bstrPronunciation)
  1604.     (This)->lpVtbl -> RemovePronunciation(This,bstrWord,LangId,PartOfSpeech,bstrPronunciation)
  1605. #define ISpeechLexicon_RemovePronunciationByPhoneIds(This,bstrWord,LangId,PartOfSpeech,PhoneIds)
  1606.     (This)->lpVtbl -> RemovePronunciationByPhoneIds(This,bstrWord,LangId,PartOfSpeech,PhoneIds)
  1607. #define ISpeechLexicon_GetPronunciations(This,bstrWord,LangId,TypeFlags,ppPronunciations)
  1608.     (This)->lpVtbl -> GetPronunciations(This,bstrWord,LangId,TypeFlags,ppPronunciations)
  1609. #define ISpeechLexicon_GetGenerationChange(This,GenerationID,ppWords)
  1610.     (This)->lpVtbl -> GetGenerationChange(This,GenerationID,ppWords)
  1611. #endif /* COBJMACROS */
  1612. #endif  /* C style interface */
  1613. /* [hidden][id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechLexicon_get_GenerationId_Proxy( 
  1614.     ISpeechLexicon * This,
  1615.     /* [retval][out] */ long *GenerationId);
  1616. void __RPC_STUB ISpeechLexicon_get_GenerationId_Stub(
  1617.     IRpcStubBuffer *This,
  1618.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1619.     PRPC_MESSAGE _pRpcMessage,
  1620.     DWORD *_pdwStubPhase);
  1621. /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechLexicon_GetWords_Proxy( 
  1622.     ISpeechLexicon * This,
  1623.     /* [defaultvalue][in] */ SpeechLexiconType Flags,
  1624.     /* [defaultvalue][out] */ long *GenerationID,
  1625.     /* [retval][out] */ ISpeechLexiconWords **Words);
  1626. void __RPC_STUB ISpeechLexicon_GetWords_Stub(
  1627.     IRpcStubBuffer *This,
  1628.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1629.     PRPC_MESSAGE _pRpcMessage,
  1630.     DWORD *_pdwStubPhase);
  1631. /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechLexicon_AddPronunciation_Proxy( 
  1632.     ISpeechLexicon * This,
  1633.     /* [in] */ BSTR bstrWord,
  1634.     /* [in] */ SpeechLanguageId LangId,
  1635.     /* [defaultvalue][in] */ SpeechPartOfSpeech PartOfSpeech,
  1636.     /* [defaultvalue][in] */ BSTR bstrPronunciation);
  1637. void __RPC_STUB ISpeechLexicon_AddPronunciation_Stub(
  1638.     IRpcStubBuffer *This,
  1639.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1640.     PRPC_MESSAGE _pRpcMessage,
  1641.     DWORD *_pdwStubPhase);
  1642. /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechLexicon_AddPronunciationByPhoneIds_Proxy( 
  1643.     ISpeechLexicon * This,
  1644.     /* [in] */ BSTR bstrWord,
  1645.     /* [in] */ SpeechLanguageId LangId,
  1646.     /* [defaultvalue][in] */ SpeechPartOfSpeech PartOfSpeech,
  1647.     /* [defaultvalue][in] */ VARIANT *PhoneIds);
  1648. void __RPC_STUB ISpeechLexicon_AddPronunciationByPhoneIds_Stub(
  1649.     IRpcStubBuffer *This,
  1650.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1651.     PRPC_MESSAGE _pRpcMessage,
  1652.     DWORD *_pdwStubPhase);
  1653. /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechLexicon_RemovePronunciation_Proxy( 
  1654.     ISpeechLexicon * This,
  1655.     /* [in] */ BSTR bstrWord,
  1656.     /* [in] */ SpeechLanguageId LangId,
  1657.     /* [defaultvalue][in] */ SpeechPartOfSpeech PartOfSpeech,
  1658.     /* [defaultvalue][in] */ BSTR bstrPronunciation);
  1659. void __RPC_STUB ISpeechLexicon_RemovePronunciation_Stub(
  1660.     IRpcStubBuffer *This,
  1661.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1662.     PRPC_MESSAGE _pRpcMessage,
  1663.     DWORD *_pdwStubPhase);
  1664. /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechLexicon_RemovePronunciationByPhoneIds_Proxy( 
  1665.     ISpeechLexicon * This,
  1666.     /* [in] */ BSTR bstrWord,
  1667.     /* [in] */ SpeechLanguageId LangId,
  1668.     /* [defaultvalue][in] */ SpeechPartOfSpeech PartOfSpeech,
  1669.     /* [defaultvalue][in] */ VARIANT *PhoneIds);
  1670. void __RPC_STUB ISpeechLexicon_RemovePronunciationByPhoneIds_Stub(
  1671.     IRpcStubBuffer *This,
  1672.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1673.     PRPC_MESSAGE _pRpcMessage,
  1674.     DWORD *_pdwStubPhase);
  1675. /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechLexicon_GetPronunciations_Proxy( 
  1676.     ISpeechLexicon * This,
  1677.     /* [in] */ BSTR bstrWord,
  1678.     /* [defaultvalue][in] */ SpeechLanguageId LangId,
  1679.     /* [defaultvalue][in] */ SpeechLexiconType TypeFlags,
  1680.     /* [retval][out] */ ISpeechLexiconPronunciations **ppPronunciations);
  1681. void __RPC_STUB ISpeechLexicon_GetPronunciations_Stub(
  1682.     IRpcStubBuffer *This,
  1683.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1684.     PRPC_MESSAGE _pRpcMessage,
  1685.     DWORD *_pdwStubPhase);
  1686. /* [hidden][id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechLexicon_GetGenerationChange_Proxy( 
  1687.     ISpeechLexicon * This,
  1688.     /* [out][in] */ long *GenerationID,
  1689.     /* [retval][out] */ ISpeechLexiconWords **ppWords);
  1690. void __RPC_STUB ISpeechLexicon_GetGenerationChange_Stub(
  1691.     IRpcStubBuffer *This,
  1692.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1693.     PRPC_MESSAGE _pRpcMessage,
  1694.     DWORD *_pdwStubPhase);
  1695. #endif  /* __ISpeechLexicon_INTERFACE_DEFINED__ */
  1696. #ifndef __ISpeechLexiconWords_INTERFACE_DEFINED__
  1697. #define __ISpeechLexiconWords_INTERFACE_DEFINED__
  1698. /* interface ISpeechLexiconWords */
  1699. /* [unique][helpstring][dual][uuid][object] */ 
  1700. EXTERN_C const IID IID_ISpeechLexiconWords;
  1701. #if defined(__cplusplus) && !defined(CINTERFACE)
  1702.     
  1703.     MIDL_INTERFACE("8D199862-415E-47d5-AC4F-FAA608B424E6")
  1704.     ISpeechLexiconWords : public IDispatch
  1705.     {
  1706.     public:
  1707.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Count( 
  1708.             /* [retval][out] */ long *Count) = 0;
  1709.         
  1710.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Item( 
  1711.             /* [in] */ long Index,
  1712.             /* [retval][out] */ ISpeechLexiconWord **Word) = 0;
  1713.         
  1714.         virtual /* [restricted][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum( 
  1715.             /* [retval][out] */ IUnknown **EnumVARIANT) = 0;
  1716.         
  1717.     };
  1718.     
  1719. #else  /* C style interface */
  1720.     typedef struct ISpeechLexiconWordsVtbl
  1721.     {
  1722.         BEGIN_INTERFACE
  1723.         
  1724.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1725.             ISpeechLexiconWords * This,
  1726.             /* [in] */ REFIID riid,
  1727.             /* [iid_is][out] */ void **ppvObject);
  1728.         
  1729.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1730.             ISpeechLexiconWords * This);
  1731.         
  1732.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1733.             ISpeechLexiconWords * This);
  1734.         
  1735.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1736.             ISpeechLexiconWords * This,
  1737.             /* [out] */ UINT *pctinfo);
  1738.         
  1739.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1740.             ISpeechLexiconWords * This,
  1741.             /* [in] */ UINT iTInfo,
  1742.             /* [in] */ LCID lcid,
  1743.             /* [out] */ ITypeInfo **ppTInfo);
  1744.         
  1745.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1746.             ISpeechLexiconWords * This,
  1747.             /* [in] */ REFIID riid,
  1748.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1749.             /* [in] */ UINT cNames,
  1750.             /* [in] */ LCID lcid,
  1751.             /* [size_is][out] */ DISPID *rgDispId);
  1752.         
  1753.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1754.             ISpeechLexiconWords * This,
  1755.             /* [in] */ DISPID dispIdMember,
  1756.             /* [in] */ REFIID riid,
  1757.             /* [in] */ LCID lcid,
  1758.             /* [in] */ WORD wFlags,
  1759.             /* [out][in] */ DISPPARAMS *pDispParams,
  1760.             /* [out] */ VARIANT *pVarResult,
  1761.             /* [out] */ EXCEPINFO *pExcepInfo,
  1762.             /* [out] */ UINT *puArgErr);
  1763.         
  1764.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( 
  1765.             ISpeechLexiconWords * This,
  1766.             /* [retval][out] */ long *Count);
  1767.         
  1768.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Item )( 
  1769.             ISpeechLexiconWords * This,
  1770.             /* [in] */ long Index,
  1771.             /* [retval][out] */ ISpeechLexiconWord **Word);
  1772.         
  1773.         /* [restricted][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( 
  1774.             ISpeechLexiconWords * This,
  1775.             /* [retval][out] */ IUnknown **EnumVARIANT);
  1776.         
  1777.         END_INTERFACE
  1778.     } ISpeechLexiconWordsVtbl;
  1779.     interface ISpeechLexiconWords
  1780.     {
  1781.         CONST_VTBL struct ISpeechLexiconWordsVtbl *lpVtbl;
  1782.     };
  1783.     
  1784. #ifdef COBJMACROS
  1785. #define ISpeechLexiconWords_QueryInterface(This,riid,ppvObject)
  1786.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1787. #define ISpeechLexiconWords_AddRef(This)
  1788.     (This)->lpVtbl -> AddRef(This)
  1789. #define ISpeechLexiconWords_Release(This)
  1790.     (This)->lpVtbl -> Release(This)
  1791. #define ISpeechLexiconWords_GetTypeInfoCount(This,pctinfo)
  1792.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1793. #define ISpeechLexiconWords_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1794.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1795. #define ISpeechLexiconWords_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1796.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1797. #define ISpeechLexiconWords_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1798.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1799. #define ISpeechLexiconWords_get_Count(This,Count)
  1800.     (This)->lpVtbl -> get_Count(This,Count)
  1801. #define ISpeechLexiconWords_Item(This,Index,Word)
  1802.     (This)->lpVtbl -> Item(This,Index,Word)
  1803. #define ISpeechLexiconWords_get__NewEnum(This,EnumVARIANT)
  1804.     (This)->lpVtbl -> get__NewEnum(This,EnumVARIANT)
  1805. #endif /* COBJMACROS */
  1806. #endif  /* C style interface */
  1807. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISpeechLexiconWords_get_Count_Proxy( 
  1808.     ISpeechLexiconWords * This,
  1809.     /* [retval][out] */ long *Count);
  1810. void __RPC_STUB ISpeechLexiconWords_get_Count_Stub(
  1811.     IRpcStubBuffer *This,
  1812.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1813.     PRPC_MESSAGE _pRpcMessage,
  1814.     DWORD *_pdwStubPhase);
  1815. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISpeechLexiconWords_Item_Proxy( 
  1816.     ISpeechLexiconWords * This,
  1817.     /* [in] */ long Index,
  1818.     /* [retval][out] */ ISpeechLexiconWord **Word);
  1819. void __RPC_STUB ISpeechLexiconWords_Item_Stub(
  1820.     IRpcStubBuffer *This,
  1821.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1822.     PRPC_MESSAGE _pRpcMessage,
  1823.     DWORD *_pdwStubPhase);
  1824. /* [restricted][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISpeechLexiconWords_get__NewEnum_Proxy( 
  1825.     ISpeechLexiconWords * This,
  1826.     /* [retval][out] */ IUnknown **EnumVARIANT);
  1827. void __RPC_STUB ISpeechLexiconWords_get__NewEnum_Stub(
  1828.     IRpcStubBuffer *This,
  1829.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1830.     PRPC_MESSAGE _pRpcMessage,
  1831.     DWORD *_pdwStubPhase);
  1832. #endif  /* __ISpeechLexiconWords_INTERFACE_DEFINED__ */
  1833. #ifndef __ISpeechLexiconWord_INTERFACE_DEFINED__
  1834. #define __ISpeechLexiconWord_INTERFACE_DEFINED__
  1835. /* interface ISpeechLexiconWord */
  1836. /* [unique][helpstring][dual][uuid][object] */ 
  1837. EXTERN_C const IID IID_ISpeechLexiconWord;
  1838. #if defined(__cplusplus) && !defined(CINTERFACE)
  1839.     
  1840.     MIDL_INTERFACE("4E5B933C-C9BE-48ed-8842-1EE51BB1D4FF")
  1841.     ISpeechLexiconWord : public IDispatch
  1842.     {
  1843.     public:
  1844.         virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_LangId( 
  1845.             /* [retval][out] */ SpeechLanguageId *LangId) = 0;
  1846.         
  1847.         virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Type( 
  1848.             /* [retval][out] */ SpeechWordType *WordType) = 0;
  1849.         
  1850.         virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Word( 
  1851.             /* [retval][out] */ BSTR *Word) = 0;
  1852.         
  1853.         virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Pronunciations( 
  1854.             /* [retval][out] */ ISpeechLexiconPronunciations **Pronunciations) = 0;
  1855.         
  1856.     };
  1857.     
  1858. #else  /* C style interface */
  1859.     typedef struct ISpeechLexiconWordVtbl
  1860.     {
  1861.         BEGIN_INTERFACE
  1862.         
  1863.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1864.             ISpeechLexiconWord * This,
  1865.             /* [in] */ REFIID riid,
  1866.             /* [iid_is][out] */ void **ppvObject);
  1867.         
  1868.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1869.             ISpeechLexiconWord * This);
  1870.         
  1871.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1872.             ISpeechLexiconWord * This);
  1873.         
  1874.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1875.             ISpeechLexiconWord * This,
  1876.             /* [out] */ UINT *pctinfo);
  1877.         
  1878.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1879.             ISpeechLexiconWord * This,
  1880.             /* [in] */ UINT iTInfo,
  1881.             /* [in] */ LCID lcid,
  1882.             /* [out] */ ITypeInfo **ppTInfo);
  1883.         
  1884.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1885.             ISpeechLexiconWord * This,
  1886.             /* [in] */ REFIID riid,
  1887.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1888.             /* [in] */ UINT cNames,
  1889.             /* [in] */ LCID lcid,
  1890.             /* [size_is][out] */ DISPID *rgDispId);
  1891.         
  1892.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1893.             ISpeechLexiconWord * This,
  1894.             /* [in] */ DISPID dispIdMember,
  1895.             /* [in] */ REFIID riid,
  1896.             /* [in] */ LCID lcid,
  1897.             /* [in] */ WORD wFlags,
  1898.             /* [out][in] */ DISPPARAMS *pDispParams,
  1899.             /* [out] */ VARIANT *pVarResult,
  1900.             /* [out] */ EXCEPINFO *pExcepInfo,
  1901.             /* [out] */ UINT *puArgErr);
  1902.         
  1903.         /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_LangId )( 
  1904.             ISpeechLexiconWord * This,
  1905.             /* [retval][out] */ SpeechLanguageId *LangId);
  1906.         
  1907.         /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Type )( 
  1908.             ISpeechLexiconWord * This,
  1909.             /* [retval][out] */ SpeechWordType *WordType);
  1910.         
  1911.         /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Word )( 
  1912.             ISpeechLexiconWord * This,
  1913.             /* [retval][out] */ BSTR *Word);
  1914.         
  1915.         /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Pronunciations )( 
  1916.             ISpeechLexiconWord * This,
  1917.             /* [retval][out] */ ISpeechLexiconPronunciations **Pronunciations);
  1918.         
  1919.         END_INTERFACE
  1920.     } ISpeechLexiconWordVtbl;
  1921.     interface ISpeechLexiconWord
  1922.     {
  1923.         CONST_VTBL struct ISpeechLexiconWordVtbl *lpVtbl;
  1924.     };
  1925.     
  1926. #ifdef COBJMACROS
  1927. #define ISpeechLexiconWord_QueryInterface(This,riid,ppvObject)
  1928.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1929. #define ISpeechLexiconWord_AddRef(This)
  1930.     (This)->lpVtbl -> AddRef(This)
  1931. #define ISpeechLexiconWord_Release(This)
  1932.     (This)->lpVtbl -> Release(This)
  1933. #define ISpeechLexiconWord_GetTypeInfoCount(This,pctinfo)
  1934.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1935. #define ISpeechLexiconWord_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1936.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1937. #define ISpeechLexiconWord_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1938.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1939. #define ISpeechLexiconWord_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1940.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1941. #define ISpeechLexiconWord_get_LangId(This,LangId)
  1942.     (This)->lpVtbl -> get_LangId(This,LangId)
  1943. #define ISpeechLexiconWord_get_Type(This,WordType)
  1944.     (This)->lpVtbl -> get_Type(This,WordType)
  1945. #define ISpeechLexiconWord_get_Word(This,Word)
  1946.     (This)->lpVtbl -> get_Word(This,Word)
  1947. #define ISpeechLexiconWord_get_Pronunciations(This,Pronunciations)
  1948.     (This)->lpVtbl -> get_Pronunciations(This,Pronunciations)
  1949. #endif /* COBJMACROS */
  1950. #endif  /* C style interface */
  1951. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ISpeechLexiconWord_get_LangId_Proxy( 
  1952.     ISpeechLexiconWord * This,
  1953.     /* [retval][out] */ SpeechLanguageId *LangId);
  1954. void __RPC_STUB ISpeechLexiconWord_get_LangId_Stub(
  1955.     IRpcStubBuffer *This,
  1956.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1957.     PRPC_MESSAGE _pRpcMessage,
  1958.     DWORD *_pdwStubPhase);
  1959. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ISpeechLexiconWord_get_Type_Proxy( 
  1960.     ISpeechLexiconWord * This,
  1961.     /* [retval][out] */ SpeechWordType *WordType);
  1962. void __RPC_STUB ISpeechLexiconWord_get_Type_Stub(
  1963.     IRpcStubBuffer *This,
  1964.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1965.     PRPC_MESSAGE _pRpcMessage,
  1966.     DWORD *_pdwStubPhase);
  1967. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ISpeechLexiconWord_get_Word_Proxy( 
  1968.     ISpeechLexiconWord * This,
  1969.     /* [retval][out] */ BSTR *Word);
  1970. void __RPC_STUB ISpeechLexiconWord_get_Word_Stub(
  1971.     IRpcStubBuffer *This,
  1972.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1973.     PRPC_MESSAGE _pRpcMessage,
  1974.     DWORD *_pdwStubPhase);
  1975. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ISpeechLexiconWord_get_Pronunciations_Proxy( 
  1976.     ISpeechLexiconWord * This,
  1977.     /* [retval][out] */ ISpeechLexiconPronunciations **Pronunciations);
  1978. void __RPC_STUB ISpeechLexiconWord_get_Pronunciations_Stub(
  1979.     IRpcStubBuffer *This,
  1980.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1981.     PRPC_MESSAGE _pRpcMessage,
  1982.     DWORD *_pdwStubPhase);
  1983. #endif  /* __ISpeechLexiconWord_INTERFACE_DEFINED__ */
  1984. #ifndef __ISpeechLexiconPronunciations_INTERFACE_DEFINED__
  1985. #define __ISpeechLexiconPronunciations_INTERFACE_DEFINED__
  1986. /* interface ISpeechLexiconPronunciations */
  1987. /* [unique][helpstring][dual][uuid][object] */ 
  1988. EXTERN_C const IID IID_ISpeechLexiconPronunciations;
  1989. #if defined(__cplusplus) && !defined(CINTERFACE)
  1990.     
  1991.     MIDL_INTERFACE("72829128-5682-4704-A0D4-3E2BB6F2EAD3")
  1992.     ISpeechLexiconPronunciations : public IDispatch
  1993.     {
  1994.     public:
  1995.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Count( 
  1996.             /* [retval][out] */ long *Count) = 0;
  1997.         
  1998.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Item( 
  1999.             /* [in] */ long Index,
  2000.             /* [retval][out] */ ISpeechLexiconPronunciation **Pronunciation) = 0;
  2001.         
  2002.         virtual /* [restricted][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum( 
  2003.             /* [retval][out] */ IUnknown **EnumVARIANT) = 0;
  2004.         
  2005.     };
  2006.     
  2007. #else  /* C style interface */
  2008.     typedef struct ISpeechLexiconPronunciationsVtbl
  2009.     {
  2010.         BEGIN_INTERFACE
  2011.         
  2012.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2013.             ISpeechLexiconPronunciations * This,
  2014.             /* [in] */ REFIID riid,
  2015.             /* [iid_is][out] */ void **ppvObject);
  2016.         
  2017.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2018.             ISpeechLexiconPronunciations * This);
  2019.         
  2020.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2021.             ISpeechLexiconPronunciations * This);
  2022.         
  2023.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2024.             ISpeechLexiconPronunciations * This,
  2025.             /* [out] */ UINT *pctinfo);
  2026.         
  2027.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2028.             ISpeechLexiconPronunciations * This,
  2029.             /* [in] */ UINT iTInfo,
  2030.             /* [in] */ LCID lcid,
  2031.             /* [out] */ ITypeInfo **ppTInfo);
  2032.         
  2033.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2034.             ISpeechLexiconPronunciations * This,
  2035.             /* [in] */ REFIID riid,
  2036.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2037.             /* [in] */ UINT cNames,
  2038.             /* [in] */ LCID lcid,
  2039.             /* [size_is][out] */ DISPID *rgDispId);
  2040.         
  2041.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2042.             ISpeechLexiconPronunciations * This,
  2043.             /* [in] */ DISPID dispIdMember,
  2044.             /* [in] */ REFIID riid,
  2045.             /* [in] */ LCID lcid,
  2046.             /* [in] */ WORD wFlags,
  2047.             /* [out][in] */ DISPPARAMS *pDispParams,
  2048.             /* [out] */ VARIANT *pVarResult,
  2049.             /* [out] */ EXCEPINFO *pExcepInfo,
  2050.             /* [out] */ UINT *puArgErr);
  2051.         
  2052.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( 
  2053.             ISpeechLexiconPronunciations * This,
  2054.             /* [retval][out] */ long *Count);
  2055.         
  2056.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Item )( 
  2057.             ISpeechLexiconPronunciations * This,
  2058.             /* [in] */ long Index,
  2059.             /* [retval][out] */ ISpeechLexiconPronunciation **Pronunciation);
  2060.         
  2061.         /* [restricted][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( 
  2062.             ISpeechLexiconPronunciations * This,
  2063.             /* [retval][out] */ IUnknown **EnumVARIANT);
  2064.         
  2065.         END_INTERFACE
  2066.     } ISpeechLexiconPronunciationsVtbl;
  2067.     interface ISpeechLexiconPronunciations
  2068.     {
  2069.         CONST_VTBL struct ISpeechLexiconPronunciationsVtbl *lpVtbl;
  2070.     };
  2071.     
  2072. #ifdef COBJMACROS
  2073. #define ISpeechLexiconPronunciations_QueryInterface(This,riid,ppvObject)
  2074.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2075. #define ISpeechLexiconPronunciations_AddRef(This)
  2076.     (This)->lpVtbl -> AddRef(This)
  2077. #define ISpeechLexiconPronunciations_Release(This)
  2078.     (This)->lpVtbl -> Release(This)
  2079. #define ISpeechLexiconPronunciations_GetTypeInfoCount(This,pctinfo)
  2080.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2081. #define ISpeechLexiconPronunciations_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2082.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2083. #define ISpeechLexiconPronunciations_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2084.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2085. #define ISpeechLexiconPronunciations_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2086.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2087. #define ISpeechLexiconPronunciations_get_Count(This,Count)
  2088.     (This)->lpVtbl -> get_Count(This,Count)
  2089. #define ISpeechLexiconPronunciations_Item(This,Index,Pronunciation)
  2090.     (This)->lpVtbl -> Item(This,Index,Pronunciation)
  2091. #define ISpeechLexiconPronunciations_get__NewEnum(This,EnumVARIANT)
  2092.     (This)->lpVtbl -> get__NewEnum(This,EnumVARIANT)
  2093. #endif /* COBJMACROS */
  2094. #endif  /* C style interface */
  2095. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISpeechLexiconPronunciations_get_Count_Proxy( 
  2096.     ISpeechLexiconPronunciations * This,
  2097.     /* [retval][out] */ long *Count);
  2098. void __RPC_STUB ISpeechLexiconPronunciations_get_Count_Stub(
  2099.     IRpcStubBuffer *This,
  2100.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2101.     PRPC_MESSAGE _pRpcMessage,
  2102.     DWORD *_pdwStubPhase);
  2103. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISpeechLexiconPronunciations_Item_Proxy( 
  2104.     ISpeechLexiconPronunciations * This,
  2105.     /* [in] */ long Index,
  2106.     /* [retval][out] */ ISpeechLexiconPronunciation **Pronunciation);
  2107. void __RPC_STUB ISpeechLexiconPronunciations_Item_Stub(
  2108.     IRpcStubBuffer *This,
  2109.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2110.     PRPC_MESSAGE _pRpcMessage,
  2111.     DWORD *_pdwStubPhase);
  2112. /* [restricted][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISpeechLexiconPronunciations_get__NewEnum_Proxy( 
  2113.     ISpeechLexiconPronunciations * This,
  2114.     /* [retval][out] */ IUnknown **EnumVARIANT);
  2115. void __RPC_STUB ISpeechLexiconPronunciations_get__NewEnum_Stub(
  2116.     IRpcStubBuffer *This,
  2117.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2118.     PRPC_MESSAGE _pRpcMessage,
  2119.     DWORD *_pdwStubPhase);
  2120. #endif  /* __ISpeechLexiconPronunciations_INTERFACE_DEFINED__ */
  2121. #ifndef __ISpeechLexiconPronunciation_INTERFACE_DEFINED__
  2122. #define __ISpeechLexiconPronunciation_INTERFACE_DEFINED__
  2123. /* interface ISpeechLexiconPronunciation */
  2124. /* [unique][helpstring][dual][uuid][object] */ 
  2125. EXTERN_C const IID IID_ISpeechLexiconPronunciation;
  2126. #if defined(__cplusplus) && !defined(CINTERFACE)
  2127.     
  2128.     MIDL_INTERFACE("95252C5D-9E43-4f4a-9899-48EE73352F9F")
  2129.     ISpeechLexiconPronunciation : public IDispatch
  2130.     {
  2131.     public:
  2132.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Type( 
  2133.             /* [retval][out] */ SpeechLexiconType *LexiconType) = 0;
  2134.         
  2135.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_LangId( 
  2136.             /* [retval][out] */ SpeechLanguageId *LangId) = 0;
  2137.         
  2138.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_PartOfSpeech( 
  2139.             /* [retval][out] */ SpeechPartOfSpeech *PartOfSpeech) = 0;
  2140.         
  2141.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_PhoneIds( 
  2142.             /* [retval][out] */ VARIANT *PhoneIds) = 0;
  2143.         
  2144.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Symbolic( 
  2145.             /* [retval][out] */ BSTR *Symbolic) = 0;
  2146.         
  2147.     };
  2148.     
  2149. #else  /* C style interface */
  2150.     typedef struct ISpeechLexiconPronunciationVtbl
  2151.     {
  2152.         BEGIN_INTERFACE
  2153.         
  2154.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2155.             ISpeechLexiconPronunciation * This,
  2156.             /* [in] */ REFIID riid,
  2157.             /* [iid_is][out] */ void **ppvObject);
  2158.         
  2159.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2160.             ISpeechLexiconPronunciation * This);
  2161.         
  2162.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2163.             ISpeechLexiconPronunciation * This);
  2164.         
  2165.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2166.             ISpeechLexiconPronunciation * This,
  2167.             /* [out] */ UINT *pctinfo);
  2168.         
  2169.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2170.             ISpeechLexiconPronunciation * This,
  2171.             /* [in] */ UINT iTInfo,
  2172.             /* [in] */ LCID lcid,
  2173.             /* [out] */ ITypeInfo **ppTInfo);
  2174.         
  2175.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2176.             ISpeechLexiconPronunciation * This,
  2177.             /* [in] */ REFIID riid,
  2178.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2179.             /* [in] */ UINT cNames,
  2180.             /* [in] */ LCID lcid,
  2181.             /* [size_is][out] */ DISPID *rgDispId);
  2182.         
  2183.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2184.             ISpeechLexiconPronunciation * This,
  2185.             /* [in] */ DISPID dispIdMember,
  2186.             /* [in] */ REFIID riid,
  2187.             /* [in] */ LCID lcid,
  2188.             /* [in] */ WORD wFlags,
  2189.             /* [out][in] */ DISPPARAMS *pDispParams,
  2190.             /* [out] */ VARIANT *pVarResult,
  2191.             /* [out] */ EXCEPINFO *pExcepInfo,
  2192.             /* [out] */ UINT *puArgErr);
  2193.         
  2194.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Type )( 
  2195.             ISpeechLexiconPronunciation * This,
  2196.             /* [retval][out] */ SpeechLexiconType *LexiconType);
  2197.         
  2198.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_LangId )( 
  2199.             ISpeechLexiconPronunciation * This,
  2200.             /* [retval][out] */ SpeechLanguageId *LangId);
  2201.         
  2202.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_PartOfSpeech )( 
  2203.             ISpeechLexiconPronunciation * This,
  2204.             /* [retval][out] */ SpeechPartOfSpeech *PartOfSpeech);
  2205.         
  2206.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_PhoneIds )( 
  2207.             ISpeechLexiconPronunciation * This,
  2208.             /* [retval][out] */ VARIANT *PhoneIds);
  2209.         
  2210.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Symbolic )( 
  2211.             ISpeechLexiconPronunciation * This,
  2212.             /* [retval][out] */ BSTR *Symbolic);
  2213.         
  2214.         END_INTERFACE
  2215.     } ISpeechLexiconPronunciationVtbl;
  2216.     interface ISpeechLexiconPronunciation
  2217.     {
  2218.         CONST_VTBL struct ISpeechLexiconPronunciationVtbl *lpVtbl;
  2219.     };
  2220.     
  2221. #ifdef COBJMACROS
  2222. #define ISpeechLexiconPronunciation_QueryInterface(This,riid,ppvObject)
  2223.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2224. #define ISpeechLexiconPronunciation_AddRef(This)
  2225.     (This)->lpVtbl -> AddRef(This)
  2226. #define ISpeechLexiconPronunciation_Release(This)
  2227.     (This)->lpVtbl -> Release(This)
  2228. #define ISpeechLexiconPronunciation_GetTypeInfoCount(This,pctinfo)
  2229.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2230. #define ISpeechLexiconPronunciation_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2231.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2232. #define ISpeechLexiconPronunciation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2233.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2234. #define ISpeechLexiconPronunciation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2235.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2236. #define ISpeechLexiconPronunciation_get_Type(This,LexiconType)
  2237.     (This)->lpVtbl -> get_Type(This,LexiconType)
  2238. #define ISpeechLexiconPronunciation_get_LangId(This,LangId)
  2239.     (This)->lpVtbl -> get_LangId(This,LangId)
  2240. #define ISpeechLexiconPronunciation_get_PartOfSpeech(This,PartOfSpeech)
  2241.     (This)->lpVtbl -> get_PartOfSpeech(This,PartOfSpeech)
  2242. #define ISpeechLexiconPronunciation_get_PhoneIds(This,PhoneIds)
  2243.     (This)->lpVtbl -> get_PhoneIds(This,PhoneIds)
  2244. #define ISpeechLexiconPronunciation_get_Symbolic(This,Symbolic)
  2245.     (This)->lpVtbl -> get_Symbolic(This,Symbolic)
  2246. #endif /* COBJMACROS */
  2247. #endif  /* C style interface */
  2248. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISpeechLexiconPronunciation_get_Type_Proxy( 
  2249.     ISpeechLexiconPronunciation * This,
  2250.     /* [retval][out] */ SpeechLexiconType *LexiconType);
  2251. void __RPC_STUB ISpeechLexiconPronunciation_get_Type_Stub(
  2252.     IRpcStubBuffer *This,
  2253.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2254.     PRPC_MESSAGE _pRpcMessage,
  2255.     DWORD *_pdwStubPhase);
  2256. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISpeechLexiconPronunciation_get_LangId_Proxy( 
  2257.     ISpeechLexiconPronunciation * This,
  2258.     /* [retval][out] */ SpeechLanguageId *LangId);
  2259. void __RPC_STUB ISpeechLexiconPronunciation_get_LangId_Stub(
  2260.     IRpcStubBuffer *This,
  2261.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2262.     PRPC_MESSAGE _pRpcMessage,
  2263.     DWORD *_pdwStubPhase);
  2264. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISpeechLexiconPronunciation_get_PartOfSpeech_Proxy( 
  2265.     ISpeechLexiconPronunciation * This,
  2266.     /* [retval][out] */ SpeechPartOfSpeech *PartOfSpeech);
  2267. void __RPC_STUB ISpeechLexiconPronunciation_get_PartOfSpeech_Stub(
  2268.     IRpcStubBuffer *This,
  2269.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2270.     PRPC_MESSAGE _pRpcMessage,
  2271.     DWORD *_pdwStubPhase);
  2272. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISpeechLexiconPronunciation_get_PhoneIds_Proxy( 
  2273.     ISpeechLexiconPronunciation * This,
  2274.     /* [retval][out] */ VARIANT *PhoneIds);
  2275. void __RPC_STUB ISpeechLexiconPronunciation_get_PhoneIds_Stub(
  2276.     IRpcStubBuffer *This,
  2277.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2278.     PRPC_MESSAGE _pRpcMessage,
  2279.     DWORD *_pdwStubPhase);
  2280. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISpeechLexiconPronunciation_get_Symbolic_Proxy( 
  2281.     ISpeechLexiconPronunciation * This,
  2282.     /* [retval][out] */ BSTR *Symbolic);
  2283. void __RPC_STUB ISpeechLexiconPronunciation_get_Symbolic_Stub(
  2284.     IRpcStubBuffer *This,
  2285.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2286.     PRPC_MESSAGE _pRpcMessage,
  2287.     DWORD *_pdwStubPhase);
  2288. #endif  /* __ISpeechLexiconPronunciation_INTERFACE_DEFINED__ */
  2289. #ifndef __SpeechStringConstants_MODULE_DEFINED__
  2290. #define __SpeechStringConstants_MODULE_DEFINED__
  2291. /* module SpeechStringConstants */
  2292. /* [uuid] */ 
  2293. const BSTR SpeechRegistryUserRoot = L"HKEY_CURRENT_USERSOFTWAREMicrosoftSpeech";
  2294. const BSTR SpeechRegistryLocalMachineRoot = L"HKEY_LOCAL_MACHINESOFTWAREMicrosoftSpeech";
  2295. const BSTR SpeechCategoryAudioOut = L"HKEY_LOCAL_MACHINESOFTWAREMicrosoftSpeechAudioOutput";
  2296. const BSTR SpeechCategoryAudioIn = L"HKEY_LOCAL_MACHINESOFTWAREMicrosoftSpeechAudioInput";
  2297. const BSTR SpeechCategoryVoices = L"HKEY_LOCAL_MACHINESOFTWAREMicrosoftSpeechVoices";
  2298. const BSTR SpeechCategoryRecognizers = L"HKEY_LOCAL_MACHINESOFTWAREMicrosoftSpeechRecognizers";
  2299. const BSTR SpeechCategoryAppLexicons = L"HKEY_LOCAL_MACHINESOFTWAREMicrosoftSpeechAppLexicons";
  2300. const BSTR SpeechCategoryPhoneConverters = L"HKEY_LOCAL_MACHINESOFTWAREMicrosoftSpeechPhoneConverters";
  2301. const BSTR SpeechCategoryRecoProfiles = L"HKEY_CURRENT_USERSOFTWAREMicrosoftSpeechRecoProfiles";
  2302. const BSTR SpeechTokenIdUserLexicon = L"HKEY_CURRENT_USERSOFTWAREMicrosoftSpeechCurrentUserLexicon";
  2303. const BSTR SpeechTokenValueCLSID = L"CLSID";
  2304. const BSTR SpeechTokenKeyFiles = L"Files";
  2305. const BSTR SpeechTokenKeyUI = L"UI";
  2306. const BSTR SpeechTokenKeyAttributes = L"Attributes";
  2307. const BSTR SpeechVoiceCategoryTTSRate = L"DefaultTTSRate";
  2308. const BSTR SpeechPropertyResourceUsage = L"ResourceUsage";
  2309. const BSTR SpeechPropertyHighConfidenceThreshold = L"HighConfidenceThreshold";
  2310. const BSTR SpeechPropertyNormalConfidenceThreshold = L"NormalConfidenceThreshold";
  2311. const BSTR SpeechPropertyLowConfidenceThreshold = L"LowConfidenceThreshold";
  2312. const BSTR SpeechPropertyResponseSpeed = L"ResponseSpeed";
  2313. const BSTR SpeechPropertyComplexResponseSpeed = L"ComplexResponseSpeed";
  2314. const BSTR SpeechPropertyAdaptationOn = L"AdaptationOn";
  2315. const BSTR SpeechDictationTopicSpelling = L"Spelling";
  2316. const BSTR SpeechGrammarTagWildcard = L"...";
  2317. const BSTR SpeechGrammarTagDictation = L"*";
  2318. const BSTR SpeechGrammarTagUnlimitedDictation = L"*+";
  2319. const BSTR SpeechEngineProperties = L"EngineProperties";
  2320. const BSTR SpeechAddRemoveWord = L"AddRemoveWord";
  2321. const BSTR SpeechUserTraining = L"UserTraining";
  2322. const BSTR SpeechMicTraining = L"MicTraining";
  2323. const BSTR SpeechRecoProfileProperties = L"RecoProfileProperties";
  2324. const BSTR SpeechAudioProperties = L"AudioProperties";
  2325. const BSTR SpeechAudioVolume = L"AudioVolume";
  2326. const BSTR SpeechVoiceSkipTypeSentence = L"Sentence";
  2327. const BSTR SpeechAudioFormatGUIDWave = L"{C31ADBAE-527F-4ff5-A230-F62BB61FF70C}";
  2328. const BSTR SpeechAudioFormatGUIDText = L"{7CEEF9F9-3D13-11d2-9EE7-00C04F797396}";
  2329. #endif /* __SpeechStringConstants_MODULE_DEFINED__ */
  2330. #ifndef __SpeechConstants_MODULE_DEFINED__
  2331. #define __SpeechConstants_MODULE_DEFINED__
  2332. /* module SpeechConstants */
  2333. /* [uuid] */ 
  2334. const float Speech_Default_Weight = DEFAULT_WEIGHT;
  2335. const LONG Speech_Max_Word_Length = SP_MAX_WORD_LENGTH;
  2336. const LONG Speech_Max_Pron_Length = SP_MAX_PRON_LENGTH;
  2337. const LONG Speech_StreamPos_Asap = SP_STREAMPOS_ASAP;
  2338. const LONG Speech_StreamPos_RealTime = SP_STREAMPOS_REALTIME;
  2339. const LONG SpeechAllElements = SPPR_ALL_ELEMENTS;
  2340. #endif /* __SpeechConstants_MODULE_DEFINED__ */
  2341. #ifndef __ISpeechPhraseInfoBuilder_INTERFACE_DEFINED__
  2342. #define __ISpeechPhraseInfoBuilder_INTERFACE_DEFINED__
  2343. /* interface ISpeechPhraseInfoBuilder */
  2344. /* [unique][helpstring][dual][uuid][object] */ 
  2345. EXTERN_C const IID IID_ISpeechPhraseInfoBuilder;
  2346. #if defined(__cplusplus) && !defined(CINTERFACE)
  2347.     
  2348.     MIDL_INTERFACE("3B151836-DF3A-4E0A-846C-D2ADC9334333")
  2349.     ISpeechPhraseInfoBuilder : public IDispatch
  2350.     {
  2351.     public:
  2352.         virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE RestorePhraseFromMemory( 
  2353.             /* [in] */ VARIANT *PhraseInMemory,
  2354.             /* [retval][out] */ ISpeechPhraseInfo **PhraseInfo) = 0;
  2355.         
  2356.     };
  2357.     
  2358. #else  /* C style interface */
  2359.     typedef struct ISpeechPhraseInfoBuilderVtbl
  2360.     {
  2361.         BEGIN_INTERFACE
  2362.         
  2363.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2364.             ISpeechPhraseInfoBuilder * This,
  2365.             /* [in] */ REFIID riid,
  2366.             /* [iid_is][out] */ void **ppvObject);
  2367.         
  2368.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2369.             ISpeechPhraseInfoBuilder * This);
  2370.         
  2371.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2372.             ISpeechPhraseInfoBuilder * This);
  2373.         
  2374.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2375.             ISpeechPhraseInfoBuilder * This,
  2376.             /* [out] */ UINT *pctinfo);
  2377.         
  2378.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2379.             ISpeechPhraseInfoBuilder * This,
  2380.             /* [in] */ UINT iTInfo,
  2381.             /* [in] */ LCID lcid,
  2382.             /* [out] */ ITypeInfo **ppTInfo);
  2383.         
  2384.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2385.             ISpeechPhraseInfoBuilder * This,
  2386.             /* [in] */ REFIID riid,
  2387.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2388.             /* [in] */ UINT cNames,
  2389.             /* [in] */ LCID lcid,
  2390.             /* [size_is][out] */ DISPID *rgDispId);
  2391.         
  2392.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2393.             ISpeechPhraseInfoBuilder * This,
  2394.             /* [in] */ DISPID dispIdMember,
  2395.             /* [in] */ REFIID riid,
  2396.             /* [in] */ LCID lcid,
  2397.             /* [in] */ WORD wFlags,
  2398.             /* [out][in] */ DISPPARAMS *pDispParams,
  2399.             /* [out] */ VARIANT *pVarResult,
  2400.             /* [out] */ EXCEPINFO *pExcepInfo,
  2401.             /* [out] */ UINT *puArgErr);
  2402.         
  2403.         /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *RestorePhraseFromMemory )( 
  2404.             ISpeechPhraseInfoBuilder * This,
  2405.             /* [in] */ VARIANT *PhraseInMemory,
  2406.             /* [retval][out] */ ISpeechPhraseInfo **PhraseInfo);
  2407.         
  2408.         END_INTERFACE
  2409.     } ISpeechPhraseInfoBuilderVtbl;
  2410.     interface ISpeechPhraseInfoBuilder
  2411.     {
  2412.         CONST_VTBL struct ISpeechPhraseInfoBuilderVtbl *lpVtbl;
  2413.     };
  2414.     
  2415. #ifdef COBJMACROS
  2416. #define ISpeechPhraseInfoBuilder_QueryInterface(This,riid,ppvObject)
  2417.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2418. #define ISpeechPhraseInfoBuilder_AddRef(This)
  2419.     (This)->lpVtbl -> AddRef(This)
  2420. #define ISpeechPhraseInfoBuilder_Release(This)
  2421.     (This)->lpVtbl -> Release(This)
  2422. #define ISpeechPhraseInfoBuilder_GetTypeInfoCount(This,pctinfo)
  2423.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2424. #define ISpeechPhraseInfoBuilder_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2425.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2426. #define ISpeechPhraseInfoBuilder_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2427.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2428. #define ISpeechPhraseInfoBuilder_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2429.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2430. #define ISpeechPhraseInfoBuilder_RestorePhraseFromMemory(This,PhraseInMemory,PhraseInfo)
  2431.     (This)->lpVtbl -> RestorePhraseFromMemory(This,PhraseInMemory,PhraseInfo)
  2432. #endif /* COBJMACROS */
  2433. #endif  /* C style interface */
  2434. /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseInfoBuilder_RestorePhraseFromMemory_Proxy( 
  2435.     ISpeechPhraseInfoBuilder * This,
  2436.     /* [in] */ VARIANT *PhraseInMemory,
  2437.     /* [retval][out] */ ISpeechPhraseInfo **PhraseInfo);
  2438. void __RPC_STUB ISpeechPhraseInfoBuilder_RestorePhraseFromMemory_Stub(
  2439.     IRpcStubBuffer *This,
  2440.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2441.     PRPC_MESSAGE _pRpcMessage,
  2442.     DWORD *_pdwStubPhase);
  2443. #endif  /* __ISpeechPhraseInfoBuilder_INTERFACE_DEFINED__ */
  2444. #ifndef __ISpeechPhoneConverter_INTERFACE_DEFINED__
  2445. #define __ISpeechPhoneConverter_INTERFACE_DEFINED__
  2446. /* interface ISpeechPhoneConverter */
  2447. /* [unique][helpstring][dual][uuid][object] */ 
  2448. EXTERN_C const IID IID_ISpeechPhoneConverter;
  2449. #if defined(__cplusplus) && !defined(CINTERFACE)
  2450.     
  2451.     MIDL_INTERFACE("C3E4F353-433F-43d6-89A1-6A62A7054C3D")
  2452.     ISpeechPhoneConverter : public IDispatch
  2453.     {
  2454.     public:
  2455.         virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_LanguageId( 
  2456.             /* [retval][out] */ SpeechLanguageId *LanguageId) = 0;
  2457.         
  2458.         virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_LanguageId( 
  2459.             /* [in] */ SpeechLanguageId LanguageId) = 0;
  2460.         
  2461.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PhoneToId( 
  2462.             /* [in] */ const BSTR Phonemes,
  2463.             /* [retval][out] */ VARIANT *IdArray) = 0;
  2464.         
  2465.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IdToPhone( 
  2466.             /* [in] */ const VARIANT IdArray,
  2467.             /* [retval][out] */ BSTR *Phonemes) = 0;
  2468.         
  2469.     };
  2470.     
  2471. #else  /* C style interface */
  2472.     typedef struct ISpeechPhoneConverterVtbl
  2473.     {
  2474.         BEGIN_INTERFACE
  2475.         
  2476.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2477.             ISpeechPhoneConverter * This,
  2478.             /* [in] */ REFIID riid,
  2479.             /* [iid_is][out] */ void **ppvObject);
  2480.         
  2481.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2482.             ISpeechPhoneConverter * This);
  2483.         
  2484.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2485.             ISpeechPhoneConverter * This);
  2486.         
  2487.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2488.             ISpeechPhoneConverter * This,
  2489.             /* [out] */ UINT *pctinfo);
  2490.         
  2491.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2492.             ISpeechPhoneConverter * This,
  2493.             /* [in] */ UINT iTInfo,
  2494.             /* [in] */ LCID lcid,
  2495.             /* [out] */ ITypeInfo **ppTInfo);
  2496.         
  2497.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2498.             ISpeechPhoneConverter * This,
  2499.             /* [in] */ REFIID riid,
  2500.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2501.             /* [in] */ UINT cNames,
  2502.             /* [in] */ LCID lcid,
  2503.             /* [size_is][out] */ DISPID *rgDispId);
  2504.         
  2505.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2506.             ISpeechPhoneConverter * This,
  2507.             /* [in] */ DISPID dispIdMember,
  2508.             /* [in] */ REFIID riid,
  2509.             /* [in] */ LCID lcid,
  2510.             /* [in] */ WORD wFlags,
  2511.             /* [out][in] */ DISPPARAMS *pDispParams,
  2512.             /* [out] */ VARIANT *pVarResult,
  2513.             /* [out] */ EXCEPINFO *pExcepInfo,
  2514.             /* [out] */ UINT *puArgErr);
  2515.         
  2516.         /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LanguageId )( 
  2517.             ISpeechPhoneConverter * This,
  2518.             /* [retval][out] */ SpeechLanguageId *LanguageId);
  2519.         
  2520.         /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_LanguageId )( 
  2521.             ISpeechPhoneConverter * This,
  2522.             /* [in] */ SpeechLanguageId LanguageId);
  2523.         
  2524.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PhoneToId )( 
  2525.             ISpeechPhoneConverter * This,
  2526.             /* [in] */ const BSTR Phonemes,
  2527.             /* [retval][out] */ VARIANT *IdArray);
  2528.         
  2529.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IdToPhone )( 
  2530.             ISpeechPhoneConverter * This,
  2531.             /* [in] */ const VARIANT IdArray,
  2532.             /* [retval][out] */ BSTR *Phonemes);
  2533.         
  2534.         END_INTERFACE
  2535.     } ISpeechPhoneConverterVtbl;
  2536.     interface ISpeechPhoneConverter
  2537.     {
  2538.         CONST_VTBL struct ISpeechPhoneConverterVtbl *lpVtbl;
  2539.     };
  2540.     
  2541. #ifdef COBJMACROS
  2542. #define ISpeechPhoneConverter_QueryInterface(This,riid,ppvObject)
  2543.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2544. #define ISpeechPhoneConverter_AddRef(This)
  2545.     (This)->lpVtbl -> AddRef(This)
  2546. #define ISpeechPhoneConverter_Release(This)
  2547.     (This)->lpVtbl -> Release(This)
  2548. #define ISpeechPhoneConverter_GetTypeInfoCount(This,pctinfo)
  2549.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2550. #define ISpeechPhoneConverter_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2551.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2552. #define ISpeechPhoneConverter_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2553.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2554. #define ISpeechPhoneConverter_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2555.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2556. #define ISpeechPhoneConverter_get_LanguageId(This,LanguageId)
  2557.     (This)->lpVtbl -> get_LanguageId(This,LanguageId)
  2558. #define ISpeechPhoneConverter_put_LanguageId(This,LanguageId)
  2559.     (This)->lpVtbl -> put_LanguageId(This,LanguageId)
  2560. #define ISpeechPhoneConverter_PhoneToId(This,Phonemes,IdArray)
  2561.     (This)->lpVtbl -> PhoneToId(This,Phonemes,IdArray)
  2562. #define ISpeechPhoneConverter_IdToPhone(This,IdArray,Phonemes)
  2563.     (This)->lpVtbl -> IdToPhone(This,IdArray,Phonemes)
  2564. #endif /* COBJMACROS */
  2565. #endif  /* C style interface */
  2566. /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhoneConverter_get_LanguageId_Proxy( 
  2567.     ISpeechPhoneConverter * This,
  2568.     /* [retval][out] */ SpeechLanguageId *LanguageId);
  2569. void __RPC_STUB ISpeechPhoneConverter_get_LanguageId_Stub(
  2570.     IRpcStubBuffer *This,
  2571.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2572.     PRPC_MESSAGE _pRpcMessage,
  2573.     DWORD *_pdwStubPhase);
  2574. /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechPhoneConverter_put_LanguageId_Proxy( 
  2575.     ISpeechPhoneConverter * This,
  2576.     /* [in] */ SpeechLanguageId LanguageId);
  2577. void __RPC_STUB ISpeechPhoneConverter_put_LanguageId_Stub(
  2578.     IRpcStubBuffer *This,
  2579.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2580.     PRPC_MESSAGE _pRpcMessage,
  2581.     DWORD *_pdwStubPhase);
  2582. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISpeechPhoneConverter_PhoneToId_Proxy( 
  2583.     ISpeechPhoneConverter * This,
  2584.     /* [in] */ const BSTR Phonemes,
  2585.     /* [retval][out] */ VARIANT *IdArray);
  2586. void __RPC_STUB ISpeechPhoneConverter_PhoneToId_Stub(
  2587.     IRpcStubBuffer *This,
  2588.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2589.     PRPC_MESSAGE _pRpcMessage,
  2590.     DWORD *_pdwStubPhase);
  2591. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISpeechPhoneConverter_IdToPhone_Proxy( 
  2592.     ISpeechPhoneConverter * This,
  2593.     /* [in] */ const VARIANT IdArray,
  2594.     /* [retval][out] */ BSTR *Phonemes);
  2595. void __RPC_STUB ISpeechPhoneConverter_IdToPhone_Stub(
  2596.     IRpcStubBuffer *This,
  2597.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2598.     PRPC_MESSAGE _pRpcMessage,
  2599.     DWORD *_pdwStubPhase);
  2600. #endif  /* __ISpeechPhoneConverter_INTERFACE_DEFINED__ */
  2601. EXTERN_C const CLSID CLSID_SpNotifyTranslator;
  2602. #ifdef __cplusplus
  2603. class DECLSPEC_UUID("E2AE5372-5D40-11D2-960E-00C04F8EE628")
  2604. SpNotifyTranslator;
  2605. #endif
  2606. EXTERN_C const CLSID CLSID_SpObjectTokenCategory;
  2607. #ifdef __cplusplus
  2608. class DECLSPEC_UUID("A910187F-0C7A-45AC-92CC-59EDAFB77B53")
  2609. SpObjectTokenCategory;
  2610. #endif
  2611. EXTERN_C const CLSID CLSID_SpObjectToken;
  2612. #ifdef __cplusplus
  2613. class DECLSPEC_UUID("EF411752-3736-4CB4-9C8C-8EF4CCB58EFE")
  2614. SpObjectToken;
  2615. #endif
  2616. EXTERN_C const CLSID CLSID_SpResourceManager;
  2617. #ifdef __cplusplus
  2618. class DECLSPEC_UUID("96749373-3391-11D2-9EE3-00C04F797396")
  2619. SpResourceManager;
  2620. #endif
  2621. EXTERN_C const CLSID CLSID_SpStreamFormatConverter;
  2622. #ifdef __cplusplus
  2623. class DECLSPEC_UUID("7013943A-E2EC-11D2-A086-00C04F8EF9B5")
  2624. SpStreamFormatConverter;
  2625. #endif
  2626. EXTERN_C const CLSID CLSID_SpMMAudioEnum;
  2627. #ifdef __cplusplus
  2628. class DECLSPEC_UUID("AB1890A0-E91F-11D2-BB91-00C04F8EE6C0")
  2629. SpMMAudioEnum;
  2630. #endif
  2631. EXTERN_C const CLSID CLSID_SpMMAudioIn;
  2632. #ifdef __cplusplus
  2633. class DECLSPEC_UUID("CF3D2E50-53F2-11D2-960C-00C04F8EE628")
  2634. SpMMAudioIn;
  2635. #endif
  2636. EXTERN_C const CLSID CLSID_SpMMAudioOut;
  2637. #ifdef __cplusplus
  2638. class DECLSPEC_UUID("A8C680EB-3D32-11D2-9EE7-00C04F797396")
  2639. SpMMAudioOut;
  2640. #endif
  2641. EXTERN_C const CLSID CLSID_SpRecPlayAudio;
  2642. #ifdef __cplusplus
  2643. class DECLSPEC_UUID("FEE225FC-7AFD-45E9-95D0-5A318079D911")
  2644. SpRecPlayAudio;
  2645. #endif
  2646. EXTERN_C const CLSID CLSID_SpStream;
  2647. #ifdef __cplusplus
  2648. class DECLSPEC_UUID("715D9C59-4442-11D2-9605-00C04F8EE628")
  2649. SpStream;
  2650. #endif
  2651. EXTERN_C const CLSID CLSID_SpVoice;
  2652. #ifdef __cplusplus
  2653. class DECLSPEC_UUID("96749377-3391-11D2-9EE3-00C04F797396")
  2654. SpVoice;
  2655. #endif
  2656. EXTERN_C const CLSID CLSID_SpSharedRecoContext;
  2657. #ifdef __cplusplus
  2658. class DECLSPEC_UUID("47206204-5ECA-11D2-960F-00C04F8EE628")
  2659. SpSharedRecoContext;
  2660. #endif
  2661. EXTERN_C const CLSID CLSID_SpInprocRecognizer;
  2662. #ifdef __cplusplus
  2663. class DECLSPEC_UUID("41B89B6B-9399-11D2-9623-00C04F8EE628")
  2664. SpInprocRecognizer;
  2665. #endif
  2666. EXTERN_C const CLSID CLSID_SpSharedRecognizer;
  2667. #ifdef __cplusplus
  2668. class DECLSPEC_UUID("3BEE4890-4FE9-4A37-8C1E-5E7E12791C1F")
  2669. SpSharedRecognizer;
  2670. #endif
  2671. EXTERN_C const CLSID CLSID_SpLexicon;
  2672. #ifdef __cplusplus
  2673. class DECLSPEC_UUID("0655E396-25D0-11D3-9C26-00C04F8EF87C")
  2674. SpLexicon;
  2675. #endif
  2676. EXTERN_C const CLSID CLSID_SpUnCompressedLexicon;
  2677. #ifdef __cplusplus
  2678. class DECLSPEC_UUID("C9E37C15-DF92-4727-85D6-72E5EEB6995A")
  2679. SpUnCompressedLexicon;
  2680. #endif
  2681. EXTERN_C const CLSID CLSID_SpCompressedLexicon;
  2682. #ifdef __cplusplus
  2683. class DECLSPEC_UUID("90903716-2F42-11D3-9C26-00C04F8EF87C")
  2684. SpCompressedLexicon;
  2685. #endif
  2686. EXTERN_C const CLSID CLSID_SpPhoneConverter;
  2687. #ifdef __cplusplus
  2688. class DECLSPEC_UUID("9185F743-1143-4C28-86B5-BFF14F20E5C8")
  2689. SpPhoneConverter;
  2690. #endif
  2691. EXTERN_C const CLSID CLSID_SpNullPhoneConverter;
  2692. #ifdef __cplusplus
  2693. class DECLSPEC_UUID("455F24E9-7396-4A16-9715-7C0FDBE3EFE3")
  2694. SpNullPhoneConverter;
  2695. #endif
  2696. EXTERN_C const CLSID CLSID_SpTextSelectionInformation;
  2697. #ifdef __cplusplus
  2698. class DECLSPEC_UUID("0F92030A-CBFD-4AB8-A164-FF5985547FF6")
  2699. SpTextSelectionInformation;
  2700. #endif
  2701. EXTERN_C const CLSID CLSID_SpPhraseInfoBuilder;
  2702. #ifdef __cplusplus
  2703. class DECLSPEC_UUID("C23FC28D-C55F-4720-8B32-91F73C2BD5D1")
  2704. SpPhraseInfoBuilder;
  2705. #endif
  2706. EXTERN_C const CLSID CLSID_SpAudioFormat;
  2707. #ifdef __cplusplus
  2708. class DECLSPEC_UUID("9EF96870-E160-4792-820D-48CF0649E4EC")
  2709. SpAudioFormat;
  2710. #endif
  2711. EXTERN_C const CLSID CLSID_SpWaveFormatEx;
  2712. #ifdef __cplusplus
  2713. class DECLSPEC_UUID("C79A574C-63BE-44b9-801F-283F87F898BE")
  2714. SpWaveFormatEx;
  2715. #endif
  2716. EXTERN_C const CLSID CLSID_SpInProcRecoContext;
  2717. #ifdef __cplusplus
  2718. class DECLSPEC_UUID("73AD6842-ACE0-45E8-A4DD-8795881A2C2A")
  2719. SpInProcRecoContext;
  2720. #endif
  2721. EXTERN_C const CLSID CLSID_SpCustomStream;
  2722. #ifdef __cplusplus
  2723. class DECLSPEC_UUID("8DBEF13F-1948-4aa8-8CF0-048EEBED95D8")
  2724. SpCustomStream;
  2725. #endif
  2726. EXTERN_C const CLSID CLSID_SpFileStream;
  2727. #ifdef __cplusplus
  2728. class DECLSPEC_UUID("947812B3-2AE1-4644-BA86-9E90DED7EC91")
  2729. SpFileStream;
  2730. #endif
  2731. EXTERN_C const CLSID CLSID_SpMemoryStream;
  2732. #ifdef __cplusplus
  2733. class DECLSPEC_UUID("5FB7EF7D-DFF4-468a-B6B7-2FCBD188F994")
  2734. SpMemoryStream;
  2735. #endif
  2736. #endif /* __SpeechLib_LIBRARY_DEFINED__ */
  2737. /* Additional Prototypes for ALL interfaces */
  2738. /* end of Additional Prototypes */
  2739. #ifdef __cplusplus
  2740. }
  2741. #endif
  2742. #endif