sapi.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:856k
- /* [in] */ ISpeechTextSelectionInformation *Info) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE SetTextSelection(
- /* [in] */ ISpeechTextSelectionInformation *Info) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE IsPronounceable(
- /* [in] */ const BSTR Word,
- /* [retval][out] */ SpeechWordPronounceable *WordPronounceable) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechRecoGrammarVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechRecoGrammar * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechRecoGrammar * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechRecoGrammar * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechRecoGrammar * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechRecoGrammar * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechRecoGrammar * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechRecoGrammar * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )(
- ISpeechRecoGrammar * This,
- /* [retval][out] */ VARIANT *Id);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RecoContext )(
- ISpeechRecoGrammar * This,
- /* [retval][out] */ ISpeechRecoContext **RecoContext);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_State )(
- ISpeechRecoGrammar * This,
- /* [in] */ SpeechGrammarState State);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
- ISpeechRecoGrammar * This,
- /* [retval][out] */ SpeechGrammarState *State);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Rules )(
- ISpeechRecoGrammar * This,
- /* [retval][out] */ ISpeechGrammarRules **Rules);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Reset )(
- ISpeechRecoGrammar * This,
- /* [defaultvalue][in] */ SpeechLanguageId NewLanguage);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *CmdLoadFromFile )(
- ISpeechRecoGrammar * This,
- /* [in] */ const BSTR FileName,
- /* [defaultvalue][in] */ SpeechLoadOption LoadOption);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *CmdLoadFromObject )(
- ISpeechRecoGrammar * This,
- /* [in] */ const BSTR ClassId,
- /* [in] */ const BSTR GrammarName,
- /* [defaultvalue][in] */ SpeechLoadOption LoadOption);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *CmdLoadFromResource )(
- ISpeechRecoGrammar * This,
- /* [in] */ long hModule,
- /* [in] */ VARIANT ResourceName,
- /* [in] */ VARIANT ResourceType,
- /* [in] */ SpeechLanguageId LanguageId,
- /* [defaultvalue][in] */ SpeechLoadOption LoadOption);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *CmdLoadFromMemory )(
- ISpeechRecoGrammar * This,
- /* [in] */ VARIANT GrammarData,
- /* [defaultvalue][in] */ SpeechLoadOption LoadOption);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *CmdLoadFromProprietaryGrammar )(
- ISpeechRecoGrammar * This,
- /* [in] */ const BSTR ProprietaryGuid,
- /* [in] */ const BSTR ProprietaryString,
- /* [in] */ VARIANT ProprietaryData,
- /* [defaultvalue][in] */ SpeechLoadOption LoadOption);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *CmdSetRuleState )(
- ISpeechRecoGrammar * This,
- /* [in] */ const BSTR Name,
- /* [in] */ SpeechRuleState State);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *CmdSetRuleIdState )(
- ISpeechRecoGrammar * This,
- /* [in] */ long RuleId,
- /* [in] */ SpeechRuleState State);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *DictationLoad )(
- ISpeechRecoGrammar * This,
- /* [defaultvalue][in] */ const BSTR TopicName,
- /* [defaultvalue][in] */ SpeechLoadOption LoadOption);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *DictationUnload )(
- ISpeechRecoGrammar * This);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *DictationSetState )(
- ISpeechRecoGrammar * This,
- /* [in] */ SpeechRuleState State);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetWordSequenceData )(
- ISpeechRecoGrammar * This,
- /* [in] */ const BSTR Text,
- /* [in] */ long TextLength,
- /* [in] */ ISpeechTextSelectionInformation *Info);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetTextSelection )(
- ISpeechRecoGrammar * This,
- /* [in] */ ISpeechTextSelectionInformation *Info);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *IsPronounceable )(
- ISpeechRecoGrammar * This,
- /* [in] */ const BSTR Word,
- /* [retval][out] */ SpeechWordPronounceable *WordPronounceable);
-
- END_INTERFACE
- } ISpeechRecoGrammarVtbl;
- interface ISpeechRecoGrammar
- {
- CONST_VTBL struct ISpeechRecoGrammarVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechRecoGrammar_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechRecoGrammar_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechRecoGrammar_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechRecoGrammar_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechRecoGrammar_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechRecoGrammar_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechRecoGrammar_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechRecoGrammar_get_Id(This,Id)
- (This)->lpVtbl -> get_Id(This,Id)
- #define ISpeechRecoGrammar_get_RecoContext(This,RecoContext)
- (This)->lpVtbl -> get_RecoContext(This,RecoContext)
- #define ISpeechRecoGrammar_put_State(This,State)
- (This)->lpVtbl -> put_State(This,State)
- #define ISpeechRecoGrammar_get_State(This,State)
- (This)->lpVtbl -> get_State(This,State)
- #define ISpeechRecoGrammar_get_Rules(This,Rules)
- (This)->lpVtbl -> get_Rules(This,Rules)
- #define ISpeechRecoGrammar_Reset(This,NewLanguage)
- (This)->lpVtbl -> Reset(This,NewLanguage)
- #define ISpeechRecoGrammar_CmdLoadFromFile(This,FileName,LoadOption)
- (This)->lpVtbl -> CmdLoadFromFile(This,FileName,LoadOption)
- #define ISpeechRecoGrammar_CmdLoadFromObject(This,ClassId,GrammarName,LoadOption)
- (This)->lpVtbl -> CmdLoadFromObject(This,ClassId,GrammarName,LoadOption)
- #define ISpeechRecoGrammar_CmdLoadFromResource(This,hModule,ResourceName,ResourceType,LanguageId,LoadOption)
- (This)->lpVtbl -> CmdLoadFromResource(This,hModule,ResourceName,ResourceType,LanguageId,LoadOption)
- #define ISpeechRecoGrammar_CmdLoadFromMemory(This,GrammarData,LoadOption)
- (This)->lpVtbl -> CmdLoadFromMemory(This,GrammarData,LoadOption)
- #define ISpeechRecoGrammar_CmdLoadFromProprietaryGrammar(This,ProprietaryGuid,ProprietaryString,ProprietaryData,LoadOption)
- (This)->lpVtbl -> CmdLoadFromProprietaryGrammar(This,ProprietaryGuid,ProprietaryString,ProprietaryData,LoadOption)
- #define ISpeechRecoGrammar_CmdSetRuleState(This,Name,State)
- (This)->lpVtbl -> CmdSetRuleState(This,Name,State)
- #define ISpeechRecoGrammar_CmdSetRuleIdState(This,RuleId,State)
- (This)->lpVtbl -> CmdSetRuleIdState(This,RuleId,State)
- #define ISpeechRecoGrammar_DictationLoad(This,TopicName,LoadOption)
- (This)->lpVtbl -> DictationLoad(This,TopicName,LoadOption)
- #define ISpeechRecoGrammar_DictationUnload(This)
- (This)->lpVtbl -> DictationUnload(This)
- #define ISpeechRecoGrammar_DictationSetState(This,State)
- (This)->lpVtbl -> DictationSetState(This,State)
- #define ISpeechRecoGrammar_SetWordSequenceData(This,Text,TextLength,Info)
- (This)->lpVtbl -> SetWordSequenceData(This,Text,TextLength,Info)
- #define ISpeechRecoGrammar_SetTextSelection(This,Info)
- (This)->lpVtbl -> SetTextSelection(This,Info)
- #define ISpeechRecoGrammar_IsPronounceable(This,Word,WordPronounceable)
- (This)->lpVtbl -> IsPronounceable(This,Word,WordPronounceable)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoGrammar_get_Id_Proxy(
- ISpeechRecoGrammar * This,
- /* [retval][out] */ VARIANT *Id);
- void __RPC_STUB ISpeechRecoGrammar_get_Id_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoGrammar_get_RecoContext_Proxy(
- ISpeechRecoGrammar * This,
- /* [retval][out] */ ISpeechRecoContext **RecoContext);
- void __RPC_STUB ISpeechRecoGrammar_get_RecoContext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechRecoGrammar_put_State_Proxy(
- ISpeechRecoGrammar * This,
- /* [in] */ SpeechGrammarState State);
- void __RPC_STUB ISpeechRecoGrammar_put_State_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoGrammar_get_State_Proxy(
- ISpeechRecoGrammar * This,
- /* [retval][out] */ SpeechGrammarState *State);
- void __RPC_STUB ISpeechRecoGrammar_get_State_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoGrammar_get_Rules_Proxy(
- ISpeechRecoGrammar * This,
- /* [retval][out] */ ISpeechGrammarRules **Rules);
- void __RPC_STUB ISpeechRecoGrammar_get_Rules_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoGrammar_Reset_Proxy(
- ISpeechRecoGrammar * This,
- /* [defaultvalue][in] */ SpeechLanguageId NewLanguage);
- void __RPC_STUB ISpeechRecoGrammar_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoGrammar_CmdLoadFromFile_Proxy(
- ISpeechRecoGrammar * This,
- /* [in] */ const BSTR FileName,
- /* [defaultvalue][in] */ SpeechLoadOption LoadOption);
- void __RPC_STUB ISpeechRecoGrammar_CmdLoadFromFile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoGrammar_CmdLoadFromObject_Proxy(
- ISpeechRecoGrammar * This,
- /* [in] */ const BSTR ClassId,
- /* [in] */ const BSTR GrammarName,
- /* [defaultvalue][in] */ SpeechLoadOption LoadOption);
- void __RPC_STUB ISpeechRecoGrammar_CmdLoadFromObject_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoGrammar_CmdLoadFromResource_Proxy(
- ISpeechRecoGrammar * This,
- /* [in] */ long hModule,
- /* [in] */ VARIANT ResourceName,
- /* [in] */ VARIANT ResourceType,
- /* [in] */ SpeechLanguageId LanguageId,
- /* [defaultvalue][in] */ SpeechLoadOption LoadOption);
- void __RPC_STUB ISpeechRecoGrammar_CmdLoadFromResource_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoGrammar_CmdLoadFromMemory_Proxy(
- ISpeechRecoGrammar * This,
- /* [in] */ VARIANT GrammarData,
- /* [defaultvalue][in] */ SpeechLoadOption LoadOption);
- void __RPC_STUB ISpeechRecoGrammar_CmdLoadFromMemory_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoGrammar_CmdLoadFromProprietaryGrammar_Proxy(
- ISpeechRecoGrammar * This,
- /* [in] */ const BSTR ProprietaryGuid,
- /* [in] */ const BSTR ProprietaryString,
- /* [in] */ VARIANT ProprietaryData,
- /* [defaultvalue][in] */ SpeechLoadOption LoadOption);
- void __RPC_STUB ISpeechRecoGrammar_CmdLoadFromProprietaryGrammar_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoGrammar_CmdSetRuleState_Proxy(
- ISpeechRecoGrammar * This,
- /* [in] */ const BSTR Name,
- /* [in] */ SpeechRuleState State);
- void __RPC_STUB ISpeechRecoGrammar_CmdSetRuleState_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoGrammar_CmdSetRuleIdState_Proxy(
- ISpeechRecoGrammar * This,
- /* [in] */ long RuleId,
- /* [in] */ SpeechRuleState State);
- void __RPC_STUB ISpeechRecoGrammar_CmdSetRuleIdState_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoGrammar_DictationLoad_Proxy(
- ISpeechRecoGrammar * This,
- /* [defaultvalue][in] */ const BSTR TopicName,
- /* [defaultvalue][in] */ SpeechLoadOption LoadOption);
- void __RPC_STUB ISpeechRecoGrammar_DictationLoad_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoGrammar_DictationUnload_Proxy(
- ISpeechRecoGrammar * This);
- void __RPC_STUB ISpeechRecoGrammar_DictationUnload_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoGrammar_DictationSetState_Proxy(
- ISpeechRecoGrammar * This,
- /* [in] */ SpeechRuleState State);
- void __RPC_STUB ISpeechRecoGrammar_DictationSetState_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoGrammar_SetWordSequenceData_Proxy(
- ISpeechRecoGrammar * This,
- /* [in] */ const BSTR Text,
- /* [in] */ long TextLength,
- /* [in] */ ISpeechTextSelectionInformation *Info);
- void __RPC_STUB ISpeechRecoGrammar_SetWordSequenceData_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoGrammar_SetTextSelection_Proxy(
- ISpeechRecoGrammar * This,
- /* [in] */ ISpeechTextSelectionInformation *Info);
- void __RPC_STUB ISpeechRecoGrammar_SetTextSelection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoGrammar_IsPronounceable_Proxy(
- ISpeechRecoGrammar * This,
- /* [in] */ const BSTR Word,
- /* [retval][out] */ SpeechWordPronounceable *WordPronounceable);
- void __RPC_STUB ISpeechRecoGrammar_IsPronounceable_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechRecoGrammar_INTERFACE_DEFINED__ */
- #ifndef ___ISpeechRecoContextEvents_DISPINTERFACE_DEFINED__
- #define ___ISpeechRecoContextEvents_DISPINTERFACE_DEFINED__
- /* dispinterface _ISpeechRecoContextEvents */
- /* [uuid] */
- EXTERN_C const IID DIID__ISpeechRecoContextEvents;
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("7B8FCB42-0E9D-4f00-A048-7B04D6179D3D")
- _ISpeechRecoContextEvents : public IDispatch
- {
- };
-
- #else /* C style interface */
- typedef struct _ISpeechRecoContextEventsVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- _ISpeechRecoContextEvents * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- _ISpeechRecoContextEvents * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- _ISpeechRecoContextEvents * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- _ISpeechRecoContextEvents * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- _ISpeechRecoContextEvents * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- _ISpeechRecoContextEvents * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- _ISpeechRecoContextEvents * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- END_INTERFACE
- } _ISpeechRecoContextEventsVtbl;
- interface _ISpeechRecoContextEvents
- {
- CONST_VTBL struct _ISpeechRecoContextEventsVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define _ISpeechRecoContextEvents_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define _ISpeechRecoContextEvents_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define _ISpeechRecoContextEvents_Release(This)
- (This)->lpVtbl -> Release(This)
- #define _ISpeechRecoContextEvents_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define _ISpeechRecoContextEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define _ISpeechRecoContextEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define _ISpeechRecoContextEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* ___ISpeechRecoContextEvents_DISPINTERFACE_DEFINED__ */
- #ifndef __ISpeechGrammarRule_INTERFACE_DEFINED__
- #define __ISpeechGrammarRule_INTERFACE_DEFINED__
- /* interface ISpeechGrammarRule */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechGrammarRule;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("AFE719CF-5DD1-44f2-999C-7A399F1CFCCC")
- ISpeechGrammarRule : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Attributes(
- /* [retval][out] */ SpeechRuleAttributes *Attributes) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_InitialState(
- /* [retval][out] */ ISpeechGrammarRuleState **State) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
- /* [retval][out] */ BSTR *Name) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Id(
- /* [retval][out] */ long *Id) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Clear( void) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE AddResource(
- /* [in] */ const BSTR ResourceName,
- /* [in] */ const BSTR ResourceValue) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE AddState(
- /* [retval][out] */ ISpeechGrammarRuleState **State) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechGrammarRuleVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechGrammarRule * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechGrammarRule * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechGrammarRule * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechGrammarRule * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechGrammarRule * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechGrammarRule * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechGrammarRule * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Attributes )(
- ISpeechGrammarRule * This,
- /* [retval][out] */ SpeechRuleAttributes *Attributes);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InitialState )(
- ISpeechGrammarRule * This,
- /* [retval][out] */ ISpeechGrammarRuleState **State);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
- ISpeechGrammarRule * This,
- /* [retval][out] */ BSTR *Name);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )(
- ISpeechGrammarRule * This,
- /* [retval][out] */ long *Id);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Clear )(
- ISpeechGrammarRule * This);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddResource )(
- ISpeechGrammarRule * This,
- /* [in] */ const BSTR ResourceName,
- /* [in] */ const BSTR ResourceValue);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddState )(
- ISpeechGrammarRule * This,
- /* [retval][out] */ ISpeechGrammarRuleState **State);
-
- END_INTERFACE
- } ISpeechGrammarRuleVtbl;
- interface ISpeechGrammarRule
- {
- CONST_VTBL struct ISpeechGrammarRuleVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechGrammarRule_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechGrammarRule_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechGrammarRule_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechGrammarRule_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechGrammarRule_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechGrammarRule_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechGrammarRule_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechGrammarRule_get_Attributes(This,Attributes)
- (This)->lpVtbl -> get_Attributes(This,Attributes)
- #define ISpeechGrammarRule_get_InitialState(This,State)
- (This)->lpVtbl -> get_InitialState(This,State)
- #define ISpeechGrammarRule_get_Name(This,Name)
- (This)->lpVtbl -> get_Name(This,Name)
- #define ISpeechGrammarRule_get_Id(This,Id)
- (This)->lpVtbl -> get_Id(This,Id)
- #define ISpeechGrammarRule_Clear(This)
- (This)->lpVtbl -> Clear(This)
- #define ISpeechGrammarRule_AddResource(This,ResourceName,ResourceValue)
- (This)->lpVtbl -> AddResource(This,ResourceName,ResourceValue)
- #define ISpeechGrammarRule_AddState(This,State)
- (This)->lpVtbl -> AddState(This,State)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRule_get_Attributes_Proxy(
- ISpeechGrammarRule * This,
- /* [retval][out] */ SpeechRuleAttributes *Attributes);
- void __RPC_STUB ISpeechGrammarRule_get_Attributes_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRule_get_InitialState_Proxy(
- ISpeechGrammarRule * This,
- /* [retval][out] */ ISpeechGrammarRuleState **State);
- void __RPC_STUB ISpeechGrammarRule_get_InitialState_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRule_get_Name_Proxy(
- ISpeechGrammarRule * This,
- /* [retval][out] */ BSTR *Name);
- void __RPC_STUB ISpeechGrammarRule_get_Name_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRule_get_Id_Proxy(
- ISpeechGrammarRule * This,
- /* [retval][out] */ long *Id);
- void __RPC_STUB ISpeechGrammarRule_get_Id_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRule_Clear_Proxy(
- ISpeechGrammarRule * This);
- void __RPC_STUB ISpeechGrammarRule_Clear_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRule_AddResource_Proxy(
- ISpeechGrammarRule * This,
- /* [in] */ const BSTR ResourceName,
- /* [in] */ const BSTR ResourceValue);
- void __RPC_STUB ISpeechGrammarRule_AddResource_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRule_AddState_Proxy(
- ISpeechGrammarRule * This,
- /* [retval][out] */ ISpeechGrammarRuleState **State);
- void __RPC_STUB ISpeechGrammarRule_AddState_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechGrammarRule_INTERFACE_DEFINED__ */
- #ifndef __ISpeechGrammarRules_INTERFACE_DEFINED__
- #define __ISpeechGrammarRules_INTERFACE_DEFINED__
- /* interface ISpeechGrammarRules */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechGrammarRules;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("6FFA3B44-FC2D-40d1-8AFC-32911C7F1AD1")
- ISpeechGrammarRules : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
- /* [retval][out] */ long *Count) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE FindRule(
- /* [in] */ VARIANT RuleNameOrId,
- /* [retval][out] */ ISpeechGrammarRule **Rule) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Item(
- /* [in] */ long Index,
- /* [retval][out] */ ISpeechGrammarRule **Rule) = 0;
-
- virtual /* [restricted][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
- /* [retval][out] */ IUnknown **EnumVARIANT) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Dynamic(
- /* [retval][out] */ VARIANT_BOOL *Dynamic) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Add(
- /* [in] */ BSTR RuleName,
- /* [in] */ SpeechRuleAttributes Attributes,
- /* [defaultvalue][in] */ long RuleId,
- /* [retval][out] */ ISpeechGrammarRule **Rule) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Commit( void) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE CommitAndSave(
- /* [out] */ BSTR *ErrorText,
- /* [retval][out] */ VARIANT *SaveStream) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechGrammarRulesVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechGrammarRules * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechGrammarRules * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechGrammarRules * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechGrammarRules * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechGrammarRules * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechGrammarRules * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechGrammarRules * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
- ISpeechGrammarRules * This,
- /* [retval][out] */ long *Count);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *FindRule )(
- ISpeechGrammarRules * This,
- /* [in] */ VARIANT RuleNameOrId,
- /* [retval][out] */ ISpeechGrammarRule **Rule);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Item )(
- ISpeechGrammarRules * This,
- /* [in] */ long Index,
- /* [retval][out] */ ISpeechGrammarRule **Rule);
-
- /* [restricted][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
- ISpeechGrammarRules * This,
- /* [retval][out] */ IUnknown **EnumVARIANT);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Dynamic )(
- ISpeechGrammarRules * This,
- /* [retval][out] */ VARIANT_BOOL *Dynamic);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Add )(
- ISpeechGrammarRules * This,
- /* [in] */ BSTR RuleName,
- /* [in] */ SpeechRuleAttributes Attributes,
- /* [defaultvalue][in] */ long RuleId,
- /* [retval][out] */ ISpeechGrammarRule **Rule);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Commit )(
- ISpeechGrammarRules * This);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *CommitAndSave )(
- ISpeechGrammarRules * This,
- /* [out] */ BSTR *ErrorText,
- /* [retval][out] */ VARIANT *SaveStream);
-
- END_INTERFACE
- } ISpeechGrammarRulesVtbl;
- interface ISpeechGrammarRules
- {
- CONST_VTBL struct ISpeechGrammarRulesVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechGrammarRules_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechGrammarRules_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechGrammarRules_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechGrammarRules_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechGrammarRules_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechGrammarRules_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechGrammarRules_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechGrammarRules_get_Count(This,Count)
- (This)->lpVtbl -> get_Count(This,Count)
- #define ISpeechGrammarRules_FindRule(This,RuleNameOrId,Rule)
- (This)->lpVtbl -> FindRule(This,RuleNameOrId,Rule)
- #define ISpeechGrammarRules_Item(This,Index,Rule)
- (This)->lpVtbl -> Item(This,Index,Rule)
- #define ISpeechGrammarRules_get__NewEnum(This,EnumVARIANT)
- (This)->lpVtbl -> get__NewEnum(This,EnumVARIANT)
- #define ISpeechGrammarRules_get_Dynamic(This,Dynamic)
- (This)->lpVtbl -> get_Dynamic(This,Dynamic)
- #define ISpeechGrammarRules_Add(This,RuleName,Attributes,RuleId,Rule)
- (This)->lpVtbl -> Add(This,RuleName,Attributes,RuleId,Rule)
- #define ISpeechGrammarRules_Commit(This)
- (This)->lpVtbl -> Commit(This)
- #define ISpeechGrammarRules_CommitAndSave(This,ErrorText,SaveStream)
- (This)->lpVtbl -> CommitAndSave(This,ErrorText,SaveStream)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRules_get_Count_Proxy(
- ISpeechGrammarRules * This,
- /* [retval][out] */ long *Count);
- void __RPC_STUB ISpeechGrammarRules_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRules_FindRule_Proxy(
- ISpeechGrammarRules * This,
- /* [in] */ VARIANT RuleNameOrId,
- /* [retval][out] */ ISpeechGrammarRule **Rule);
- void __RPC_STUB ISpeechGrammarRules_FindRule_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRules_Item_Proxy(
- ISpeechGrammarRules * This,
- /* [in] */ long Index,
- /* [retval][out] */ ISpeechGrammarRule **Rule);
- void __RPC_STUB ISpeechGrammarRules_Item_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [restricted][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRules_get__NewEnum_Proxy(
- ISpeechGrammarRules * This,
- /* [retval][out] */ IUnknown **EnumVARIANT);
- void __RPC_STUB ISpeechGrammarRules_get__NewEnum_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRules_get_Dynamic_Proxy(
- ISpeechGrammarRules * This,
- /* [retval][out] */ VARIANT_BOOL *Dynamic);
- void __RPC_STUB ISpeechGrammarRules_get_Dynamic_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRules_Add_Proxy(
- ISpeechGrammarRules * This,
- /* [in] */ BSTR RuleName,
- /* [in] */ SpeechRuleAttributes Attributes,
- /* [defaultvalue][in] */ long RuleId,
- /* [retval][out] */ ISpeechGrammarRule **Rule);
- void __RPC_STUB ISpeechGrammarRules_Add_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRules_Commit_Proxy(
- ISpeechGrammarRules * This);
- void __RPC_STUB ISpeechGrammarRules_Commit_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRules_CommitAndSave_Proxy(
- ISpeechGrammarRules * This,
- /* [out] */ BSTR *ErrorText,
- /* [retval][out] */ VARIANT *SaveStream);
- void __RPC_STUB ISpeechGrammarRules_CommitAndSave_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechGrammarRules_INTERFACE_DEFINED__ */
- #ifndef __ISpeechGrammarRuleState_INTERFACE_DEFINED__
- #define __ISpeechGrammarRuleState_INTERFACE_DEFINED__
- /* interface ISpeechGrammarRuleState */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechGrammarRuleState;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("D4286F2C-EE67-45ae-B928-28D695362EDA")
- ISpeechGrammarRuleState : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Rule(
- /* [retval][out] */ ISpeechGrammarRule **Rule) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Transitions(
- /* [retval][out] */ ISpeechGrammarRuleStateTransitions **Transitions) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE AddWordTransition(
- /* [in] */ ISpeechGrammarRuleState *DestState,
- /* [in] */ const BSTR Words,
- /* [defaultvalue][in] */ const BSTR Separators = L" ",
- /* [defaultvalue][in] */ SpeechGrammarWordType Type = SGLexical,
- /* [defaultvalue][in] */ const BSTR PropertyName = L"",
- /* [defaultvalue][in] */ long PropertyId = 0,
- /* [defaultvalue][in] */ VARIANT *PropertyValue = 0,
- /* [defaultvalue][in] */ float Weight = 1) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE AddRuleTransition(
- /* [in] */ ISpeechGrammarRuleState *DestinationState,
- /* [in] */ ISpeechGrammarRule *Rule,
- /* [defaultvalue][in] */ const BSTR PropertyName = L"",
- /* [defaultvalue][in] */ long PropertyId = 0,
- /* [defaultvalue][in] */ VARIANT *PropertyValue = 0,
- /* [defaultvalue][in] */ float Weight = 1) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE AddSpecialTransition(
- /* [in] */ ISpeechGrammarRuleState *DestinationState,
- /* [in] */ SpeechSpecialTransitionType Type,
- /* [defaultvalue][in] */ const BSTR PropertyName = L"",
- /* [defaultvalue][in] */ long PropertyId = 0,
- /* [defaultvalue][in] */ VARIANT *PropertyValue = 0,
- /* [defaultvalue][in] */ float Weight = 1) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechGrammarRuleStateVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechGrammarRuleState * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechGrammarRuleState * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechGrammarRuleState * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechGrammarRuleState * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechGrammarRuleState * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechGrammarRuleState * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechGrammarRuleState * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Rule )(
- ISpeechGrammarRuleState * This,
- /* [retval][out] */ ISpeechGrammarRule **Rule);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Transitions )(
- ISpeechGrammarRuleState * This,
- /* [retval][out] */ ISpeechGrammarRuleStateTransitions **Transitions);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddWordTransition )(
- ISpeechGrammarRuleState * This,
- /* [in] */ ISpeechGrammarRuleState *DestState,
- /* [in] */ const BSTR Words,
- /* [defaultvalue][in] */ const BSTR Separators,
- /* [defaultvalue][in] */ SpeechGrammarWordType Type,
- /* [defaultvalue][in] */ const BSTR PropertyName,
- /* [defaultvalue][in] */ long PropertyId,
- /* [defaultvalue][in] */ VARIANT *PropertyValue,
- /* [defaultvalue][in] */ float Weight);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddRuleTransition )(
- ISpeechGrammarRuleState * This,
- /* [in] */ ISpeechGrammarRuleState *DestinationState,
- /* [in] */ ISpeechGrammarRule *Rule,
- /* [defaultvalue][in] */ const BSTR PropertyName,
- /* [defaultvalue][in] */ long PropertyId,
- /* [defaultvalue][in] */ VARIANT *PropertyValue,
- /* [defaultvalue][in] */ float Weight);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddSpecialTransition )(
- ISpeechGrammarRuleState * This,
- /* [in] */ ISpeechGrammarRuleState *DestinationState,
- /* [in] */ SpeechSpecialTransitionType Type,
- /* [defaultvalue][in] */ const BSTR PropertyName,
- /* [defaultvalue][in] */ long PropertyId,
- /* [defaultvalue][in] */ VARIANT *PropertyValue,
- /* [defaultvalue][in] */ float Weight);
-
- END_INTERFACE
- } ISpeechGrammarRuleStateVtbl;
- interface ISpeechGrammarRuleState
- {
- CONST_VTBL struct ISpeechGrammarRuleStateVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechGrammarRuleState_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechGrammarRuleState_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechGrammarRuleState_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechGrammarRuleState_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechGrammarRuleState_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechGrammarRuleState_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechGrammarRuleState_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechGrammarRuleState_get_Rule(This,Rule)
- (This)->lpVtbl -> get_Rule(This,Rule)
- #define ISpeechGrammarRuleState_get_Transitions(This,Transitions)
- (This)->lpVtbl -> get_Transitions(This,Transitions)
- #define ISpeechGrammarRuleState_AddWordTransition(This,DestState,Words,Separators,Type,PropertyName,PropertyId,PropertyValue,Weight)
- (This)->lpVtbl -> AddWordTransition(This,DestState,Words,Separators,Type,PropertyName,PropertyId,PropertyValue,Weight)
- #define ISpeechGrammarRuleState_AddRuleTransition(This,DestinationState,Rule,PropertyName,PropertyId,PropertyValue,Weight)
- (This)->lpVtbl -> AddRuleTransition(This,DestinationState,Rule,PropertyName,PropertyId,PropertyValue,Weight)
- #define ISpeechGrammarRuleState_AddSpecialTransition(This,DestinationState,Type,PropertyName,PropertyId,PropertyValue,Weight)
- (This)->lpVtbl -> AddSpecialTransition(This,DestinationState,Type,PropertyName,PropertyId,PropertyValue,Weight)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRuleState_get_Rule_Proxy(
- ISpeechGrammarRuleState * This,
- /* [retval][out] */ ISpeechGrammarRule **Rule);
- void __RPC_STUB ISpeechGrammarRuleState_get_Rule_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRuleState_get_Transitions_Proxy(
- ISpeechGrammarRuleState * This,
- /* [retval][out] */ ISpeechGrammarRuleStateTransitions **Transitions);
- void __RPC_STUB ISpeechGrammarRuleState_get_Transitions_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRuleState_AddWordTransition_Proxy(
- ISpeechGrammarRuleState * This,
- /* [in] */ ISpeechGrammarRuleState *DestState,
- /* [in] */ const BSTR Words,
- /* [defaultvalue][in] */ const BSTR Separators,
- /* [defaultvalue][in] */ SpeechGrammarWordType Type,
- /* [defaultvalue][in] */ const BSTR PropertyName,
- /* [defaultvalue][in] */ long PropertyId,
- /* [defaultvalue][in] */ VARIANT *PropertyValue,
- /* [defaultvalue][in] */ float Weight);
- void __RPC_STUB ISpeechGrammarRuleState_AddWordTransition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRuleState_AddRuleTransition_Proxy(
- ISpeechGrammarRuleState * This,
- /* [in] */ ISpeechGrammarRuleState *DestinationState,
- /* [in] */ ISpeechGrammarRule *Rule,
- /* [defaultvalue][in] */ const BSTR PropertyName,
- /* [defaultvalue][in] */ long PropertyId,
- /* [defaultvalue][in] */ VARIANT *PropertyValue,
- /* [defaultvalue][in] */ float Weight);
- void __RPC_STUB ISpeechGrammarRuleState_AddRuleTransition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRuleState_AddSpecialTransition_Proxy(
- ISpeechGrammarRuleState * This,
- /* [in] */ ISpeechGrammarRuleState *DestinationState,
- /* [in] */ SpeechSpecialTransitionType Type,
- /* [defaultvalue][in] */ const BSTR PropertyName,
- /* [defaultvalue][in] */ long PropertyId,
- /* [defaultvalue][in] */ VARIANT *PropertyValue,
- /* [defaultvalue][in] */ float Weight);
- void __RPC_STUB ISpeechGrammarRuleState_AddSpecialTransition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechGrammarRuleState_INTERFACE_DEFINED__ */
- #ifndef __ISpeechGrammarRuleStateTransition_INTERFACE_DEFINED__
- #define __ISpeechGrammarRuleStateTransition_INTERFACE_DEFINED__
- /* interface ISpeechGrammarRuleStateTransition */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechGrammarRuleStateTransition;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("CAFD1DB1-41D1-4a06-9863-E2E81DA17A9A")
- ISpeechGrammarRuleStateTransition : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Type(
- /* [retval][out] */ SpeechGrammarRuleStateTransitionType *Type) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Text(
- /* [retval][out] */ BSTR *Text) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Rule(
- /* [retval][out] */ ISpeechGrammarRule **Rule) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Weight(
- /* [retval][out] */ VARIANT *Weight) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_PropertyName(
- /* [retval][out] */ BSTR *PropertyName) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_PropertyId(
- /* [retval][out] */ long *PropertyId) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_PropertyValue(
- /* [retval][out] */ VARIANT *PropertyValue) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_NextState(
- /* [retval][out] */ ISpeechGrammarRuleState **NextState) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechGrammarRuleStateTransitionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechGrammarRuleStateTransition * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechGrammarRuleStateTransition * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechGrammarRuleStateTransition * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechGrammarRuleStateTransition * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechGrammarRuleStateTransition * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechGrammarRuleStateTransition * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechGrammarRuleStateTransition * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Type )(
- ISpeechGrammarRuleStateTransition * This,
- /* [retval][out] */ SpeechGrammarRuleStateTransitionType *Type);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Text )(
- ISpeechGrammarRuleStateTransition * This,
- /* [retval][out] */ BSTR *Text);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Rule )(
- ISpeechGrammarRuleStateTransition * This,
- /* [retval][out] */ ISpeechGrammarRule **Rule);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Weight )(
- ISpeechGrammarRuleStateTransition * This,
- /* [retval][out] */ VARIANT *Weight);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PropertyName )(
- ISpeechGrammarRuleStateTransition * This,
- /* [retval][out] */ BSTR *PropertyName);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PropertyId )(
- ISpeechGrammarRuleStateTransition * This,
- /* [retval][out] */ long *PropertyId);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PropertyValue )(
- ISpeechGrammarRuleStateTransition * This,
- /* [retval][out] */ VARIANT *PropertyValue);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NextState )(
- ISpeechGrammarRuleStateTransition * This,
- /* [retval][out] */ ISpeechGrammarRuleState **NextState);
-
- END_INTERFACE
- } ISpeechGrammarRuleStateTransitionVtbl;
- interface ISpeechGrammarRuleStateTransition
- {
- CONST_VTBL struct ISpeechGrammarRuleStateTransitionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechGrammarRuleStateTransition_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechGrammarRuleStateTransition_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechGrammarRuleStateTransition_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechGrammarRuleStateTransition_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechGrammarRuleStateTransition_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechGrammarRuleStateTransition_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechGrammarRuleStateTransition_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechGrammarRuleStateTransition_get_Type(This,Type)
- (This)->lpVtbl -> get_Type(This,Type)
- #define ISpeechGrammarRuleStateTransition_get_Text(This,Text)
- (This)->lpVtbl -> get_Text(This,Text)
- #define ISpeechGrammarRuleStateTransition_get_Rule(This,Rule)
- (This)->lpVtbl -> get_Rule(This,Rule)
- #define ISpeechGrammarRuleStateTransition_get_Weight(This,Weight)
- (This)->lpVtbl -> get_Weight(This,Weight)
- #define ISpeechGrammarRuleStateTransition_get_PropertyName(This,PropertyName)
- (This)->lpVtbl -> get_PropertyName(This,PropertyName)
- #define ISpeechGrammarRuleStateTransition_get_PropertyId(This,PropertyId)
- (This)->lpVtbl -> get_PropertyId(This,PropertyId)
- #define ISpeechGrammarRuleStateTransition_get_PropertyValue(This,PropertyValue)
- (This)->lpVtbl -> get_PropertyValue(This,PropertyValue)
- #define ISpeechGrammarRuleStateTransition_get_NextState(This,NextState)
- (This)->lpVtbl -> get_NextState(This,NextState)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRuleStateTransition_get_Type_Proxy(
- ISpeechGrammarRuleStateTransition * This,
- /* [retval][out] */ SpeechGrammarRuleStateTransitionType *Type);
- void __RPC_STUB ISpeechGrammarRuleStateTransition_get_Type_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRuleStateTransition_get_Text_Proxy(
- ISpeechGrammarRuleStateTransition * This,
- /* [retval][out] */ BSTR *Text);
- void __RPC_STUB ISpeechGrammarRuleStateTransition_get_Text_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRuleStateTransition_get_Rule_Proxy(
- ISpeechGrammarRuleStateTransition * This,
- /* [retval][out] */ ISpeechGrammarRule **Rule);
- void __RPC_STUB ISpeechGrammarRuleStateTransition_get_Rule_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRuleStateTransition_get_Weight_Proxy(
- ISpeechGrammarRuleStateTransition * This,
- /* [retval][out] */ VARIANT *Weight);
- void __RPC_STUB ISpeechGrammarRuleStateTransition_get_Weight_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRuleStateTransition_get_PropertyName_Proxy(
- ISpeechGrammarRuleStateTransition * This,
- /* [retval][out] */ BSTR *PropertyName);
- void __RPC_STUB ISpeechGrammarRuleStateTransition_get_PropertyName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRuleStateTransition_get_PropertyId_Proxy(
- ISpeechGrammarRuleStateTransition * This,
- /* [retval][out] */ long *PropertyId);
- void __RPC_STUB ISpeechGrammarRuleStateTransition_get_PropertyId_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRuleStateTransition_get_PropertyValue_Proxy(
- ISpeechGrammarRuleStateTransition * This,
- /* [retval][out] */ VARIANT *PropertyValue);
- void __RPC_STUB ISpeechGrammarRuleStateTransition_get_PropertyValue_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRuleStateTransition_get_NextState_Proxy(
- ISpeechGrammarRuleStateTransition * This,
- /* [retval][out] */ ISpeechGrammarRuleState **NextState);
- void __RPC_STUB ISpeechGrammarRuleStateTransition_get_NextState_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechGrammarRuleStateTransition_INTERFACE_DEFINED__ */
- #ifndef __ISpeechGrammarRuleStateTransitions_INTERFACE_DEFINED__
- #define __ISpeechGrammarRuleStateTransitions_INTERFACE_DEFINED__
- /* interface ISpeechGrammarRuleStateTransitions */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechGrammarRuleStateTransitions;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("EABCE657-75BC-44a2-AA7F-C56476742963")
- ISpeechGrammarRuleStateTransitions : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
- /* [retval][out] */ long *Count) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Item(
- /* [in] */ long Index,
- /* [retval][out] */ ISpeechGrammarRuleStateTransition **Transition) = 0;
-
- virtual /* [id][restricted][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
- /* [retval][out] */ IUnknown **EnumVARIANT) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechGrammarRuleStateTransitionsVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechGrammarRuleStateTransitions * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechGrammarRuleStateTransitions * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechGrammarRuleStateTransitions * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechGrammarRuleStateTransitions * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechGrammarRuleStateTransitions * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechGrammarRuleStateTransitions * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechGrammarRuleStateTransitions * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
- ISpeechGrammarRuleStateTransitions * This,
- /* [retval][out] */ long *Count);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Item )(
- ISpeechGrammarRuleStateTransitions * This,
- /* [in] */ long Index,
- /* [retval][out] */ ISpeechGrammarRuleStateTransition **Transition);
-
- /* [id][restricted][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
- ISpeechGrammarRuleStateTransitions * This,
- /* [retval][out] */ IUnknown **EnumVARIANT);
-
- END_INTERFACE
- } ISpeechGrammarRuleStateTransitionsVtbl;
- interface ISpeechGrammarRuleStateTransitions
- {
- CONST_VTBL struct ISpeechGrammarRuleStateTransitionsVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechGrammarRuleStateTransitions_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechGrammarRuleStateTransitions_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechGrammarRuleStateTransitions_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechGrammarRuleStateTransitions_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechGrammarRuleStateTransitions_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechGrammarRuleStateTransitions_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechGrammarRuleStateTransitions_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechGrammarRuleStateTransitions_get_Count(This,Count)
- (This)->lpVtbl -> get_Count(This,Count)
- #define ISpeechGrammarRuleStateTransitions_Item(This,Index,Transition)
- (This)->lpVtbl -> Item(This,Index,Transition)
- #define ISpeechGrammarRuleStateTransitions_get__NewEnum(This,EnumVARIANT)
- (This)->lpVtbl -> get__NewEnum(This,EnumVARIANT)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRuleStateTransitions_get_Count_Proxy(
- ISpeechGrammarRuleStateTransitions * This,
- /* [retval][out] */ long *Count);
- void __RPC_STUB ISpeechGrammarRuleStateTransitions_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRuleStateTransitions_Item_Proxy(
- ISpeechGrammarRuleStateTransitions * This,
- /* [in] */ long Index,
- /* [retval][out] */ ISpeechGrammarRuleStateTransition **Transition);
- void __RPC_STUB ISpeechGrammarRuleStateTransitions_Item_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][restricted][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechGrammarRuleStateTransitions_get__NewEnum_Proxy(
- ISpeechGrammarRuleStateTransitions * This,
- /* [retval][out] */ IUnknown **EnumVARIANT);
- void __RPC_STUB ISpeechGrammarRuleStateTransitions_get__NewEnum_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechGrammarRuleStateTransitions_INTERFACE_DEFINED__ */
- #ifndef __ISpeechTextSelectionInformation_INTERFACE_DEFINED__
- #define __ISpeechTextSelectionInformation_INTERFACE_DEFINED__
- /* interface ISpeechTextSelectionInformation */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechTextSelectionInformation;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("3B9C7E7A-6EEE-4DED-9092-11657279ADBE")
- ISpeechTextSelectionInformation : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_ActiveOffset(
- /* [in] */ long ActiveOffset) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ActiveOffset(
- /* [retval][out] */ long *ActiveOffset) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_ActiveLength(
- /* [in] */ long ActiveLength) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ActiveLength(
- /* [retval][out] */ long *ActiveLength) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_SelectionOffset(
- /* [in] */ long SelectionOffset) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_SelectionOffset(
- /* [retval][out] */ long *SelectionOffset) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_SelectionLength(
- /* [in] */ long SelectionLength) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_SelectionLength(
- /* [retval][out] */ long *SelectionLength) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechTextSelectionInformationVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechTextSelectionInformation * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechTextSelectionInformation * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechTextSelectionInformation * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechTextSelectionInformation * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechTextSelectionInformation * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechTextSelectionInformation * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechTextSelectionInformation * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ActiveOffset )(
- ISpeechTextSelectionInformation * This,
- /* [in] */ long ActiveOffset);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveOffset )(
- ISpeechTextSelectionInformation * This,
- /* [retval][out] */ long *ActiveOffset);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ActiveLength )(
- ISpeechTextSelectionInformation * This,
- /* [in] */ long ActiveLength);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveLength )(
- ISpeechTextSelectionInformation * This,
- /* [retval][out] */ long *ActiveLength);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SelectionOffset )(
- ISpeechTextSelectionInformation * This,
- /* [in] */ long SelectionOffset);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SelectionOffset )(
- ISpeechTextSelectionInformation * This,
- /* [retval][out] */ long *SelectionOffset);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SelectionLength )(
- ISpeechTextSelectionInformation * This,
- /* [in] */ long SelectionLength);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SelectionLength )(
- ISpeechTextSelectionInformation * This,
- /* [retval][out] */ long *SelectionLength);
-
- END_INTERFACE
- } ISpeechTextSelectionInformationVtbl;
- interface ISpeechTextSelectionInformation
- {
- CONST_VTBL struct ISpeechTextSelectionInformationVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechTextSelectionInformation_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechTextSelectionInformation_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechTextSelectionInformation_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechTextSelectionInformation_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechTextSelectionInformation_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechTextSelectionInformation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechTextSelectionInformation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechTextSelectionInformation_put_ActiveOffset(This,ActiveOffset)
- (This)->lpVtbl -> put_ActiveOffset(This,ActiveOffset)
- #define ISpeechTextSelectionInformation_get_ActiveOffset(This,ActiveOffset)
- (This)->lpVtbl -> get_ActiveOffset(This,ActiveOffset)
- #define ISpeechTextSelectionInformation_put_ActiveLength(This,ActiveLength)
- (This)->lpVtbl -> put_ActiveLength(This,ActiveLength)
- #define ISpeechTextSelectionInformation_get_ActiveLength(This,ActiveLength)
- (This)->lpVtbl -> get_ActiveLength(This,ActiveLength)
- #define ISpeechTextSelectionInformation_put_SelectionOffset(This,SelectionOffset)
- (This)->lpVtbl -> put_SelectionOffset(This,SelectionOffset)
- #define ISpeechTextSelectionInformation_get_SelectionOffset(This,SelectionOffset)
- (This)->lpVtbl -> get_SelectionOffset(This,SelectionOffset)
- #define ISpeechTextSelectionInformation_put_SelectionLength(This,SelectionLength)
- (This)->lpVtbl -> put_SelectionLength(This,SelectionLength)
- #define ISpeechTextSelectionInformation_get_SelectionLength(This,SelectionLength)
- (This)->lpVtbl -> get_SelectionLength(This,SelectionLength)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechTextSelectionInformation_put_ActiveOffset_Proxy(
- ISpeechTextSelectionInformation * This,
- /* [in] */ long ActiveOffset);
- void __RPC_STUB ISpeechTextSelectionInformation_put_ActiveOffset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechTextSelectionInformation_get_ActiveOffset_Proxy(
- ISpeechTextSelectionInformation * This,
- /* [retval][out] */ long *ActiveOffset);
- void __RPC_STUB ISpeechTextSelectionInformation_get_ActiveOffset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechTextSelectionInformation_put_ActiveLength_Proxy(
- ISpeechTextSelectionInformation * This,
- /* [in] */ long ActiveLength);
- void __RPC_STUB ISpeechTextSelectionInformation_put_ActiveLength_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechTextSelectionInformation_get_ActiveLength_Proxy(
- ISpeechTextSelectionInformation * This,
- /* [retval][out] */ long *ActiveLength);
- void __RPC_STUB ISpeechTextSelectionInformation_get_ActiveLength_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechTextSelectionInformation_put_SelectionOffset_Proxy(
- ISpeechTextSelectionInformation * This,
- /* [in] */ long SelectionOffset);
- void __RPC_STUB ISpeechTextSelectionInformation_put_SelectionOffset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechTextSelectionInformation_get_SelectionOffset_Proxy(
- ISpeechTextSelectionInformation * This,
- /* [retval][out] */ long *SelectionOffset);
- void __RPC_STUB ISpeechTextSelectionInformation_get_SelectionOffset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechTextSelectionInformation_put_SelectionLength_Proxy(
- ISpeechTextSelectionInformation * This,
- /* [in] */ long SelectionLength);
- void __RPC_STUB ISpeechTextSelectionInformation_put_SelectionLength_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechTextSelectionInformation_get_SelectionLength_Proxy(
- ISpeechTextSelectionInformation * This,
- /* [retval][out] */ long *SelectionLength);
- void __RPC_STUB ISpeechTextSelectionInformation_get_SelectionLength_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechTextSelectionInformation_INTERFACE_DEFINED__ */
- #ifndef __ISpeechRecoResult_INTERFACE_DEFINED__
- #define __ISpeechRecoResult_INTERFACE_DEFINED__
- /* interface ISpeechRecoResult */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechRecoResult;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("ED2879CF-CED9-4ee6-A534-DE0191D5468D")
- ISpeechRecoResult : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_RecoContext(
- /* [retval][out] */ ISpeechRecoContext **RecoContext) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Times(
- /* [retval][out] */ ISpeechRecoResultTimes **Times) = 0;
-
- virtual /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE putref_AudioFormat(
- /* [in] */ ISpeechAudioFormat *Format) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AudioFormat(
- /* [retval][out] */ ISpeechAudioFormat **Format) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_PhraseInfo(
- /* [retval][out] */ ISpeechPhraseInfo **PhraseInfo) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Alternates(
- /* [in] */ long RequestCount,
- /* [defaultvalue][in] */ long StartElement,
- /* [defaultvalue][in] */ long Elements,
- /* [retval][out] */ ISpeechPhraseAlternates **Alternates) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Audio(
- /* [defaultvalue][in] */ long StartElement,
- /* [defaultvalue][in] */ long Elements,
- /* [retval][out] */ ISpeechMemoryStream **Stream) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE SpeakAudio(
- /* [defaultvalue][in] */ long StartElement,
- /* [defaultvalue][in] */ long Elements,
- /* [defaultvalue][in] */ SpeechVoiceSpeakFlags Flags,
- /* [retval][out] */ long *StreamNumber) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE SaveToMemory(
- /* [retval][out] */ VARIANT *ResultBlock) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE DiscardResultInfo(
- /* [in] */ SpeechDiscardType ValueTypes) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechRecoResultVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechRecoResult * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechRecoResult * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechRecoResult * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechRecoResult * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechRecoResult * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechRecoResult * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechRecoResult * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RecoContext )(
- ISpeechRecoResult * This,
- /* [retval][out] */ ISpeechRecoContext **RecoContext);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Times )(
- ISpeechRecoResult * This,
- /* [retval][out] */ ISpeechRecoResultTimes **Times);
-
- /* [id][helpstring][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_AudioFormat )(
- ISpeechRecoResult * This,
- /* [in] */ ISpeechAudioFormat *Format);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AudioFormat )(
- ISpeechRecoResult * This,
- /* [retval][out] */ ISpeechAudioFormat **Format);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PhraseInfo )(
- ISpeechRecoResult * This,
- /* [retval][out] */ ISpeechPhraseInfo **PhraseInfo);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Alternates )(
- ISpeechRecoResult * This,
- /* [in] */ long RequestCount,
- /* [defaultvalue][in] */ long StartElement,
- /* [defaultvalue][in] */ long Elements,
- /* [retval][out] */ ISpeechPhraseAlternates **Alternates);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Audio )(
- ISpeechRecoResult * This,
- /* [defaultvalue][in] */ long StartElement,
- /* [defaultvalue][in] */ long Elements,
- /* [retval][out] */ ISpeechMemoryStream **Stream);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *SpeakAudio )(
- ISpeechRecoResult * This,
- /* [defaultvalue][in] */ long StartElement,
- /* [defaultvalue][in] */ long Elements,
- /* [defaultvalue][in] */ SpeechVoiceSpeakFlags Flags,
- /* [retval][out] */ long *StreamNumber);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *SaveToMemory )(
- ISpeechRecoResult * This,
- /* [retval][out] */ VARIANT *ResultBlock);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *DiscardResultInfo )(
- ISpeechRecoResult * This,
- /* [in] */ SpeechDiscardType ValueTypes);
-
- END_INTERFACE
- } ISpeechRecoResultVtbl;
- interface ISpeechRecoResult
- {
- CONST_VTBL struct ISpeechRecoResultVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechRecoResult_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechRecoResult_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechRecoResult_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechRecoResult_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechRecoResult_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechRecoResult_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechRecoResult_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechRecoResult_get_RecoContext(This,RecoContext)
- (This)->lpVtbl -> get_RecoContext(This,RecoContext)
- #define ISpeechRecoResult_get_Times(This,Times)
- (This)->lpVtbl -> get_Times(This,Times)
- #define ISpeechRecoResult_putref_AudioFormat(This,Format)
- (This)->lpVtbl -> putref_AudioFormat(This,Format)
- #define ISpeechRecoResult_get_AudioFormat(This,Format)
- (This)->lpVtbl -> get_AudioFormat(This,Format)
- #define ISpeechRecoResult_get_PhraseInfo(This,PhraseInfo)
- (This)->lpVtbl -> get_PhraseInfo(This,PhraseInfo)
- #define ISpeechRecoResult_Alternates(This,RequestCount,StartElement,Elements,Alternates)
- (This)->lpVtbl -> Alternates(This,RequestCount,StartElement,Elements,Alternates)
- #define ISpeechRecoResult_Audio(This,StartElement,Elements,Stream)
- (This)->lpVtbl -> Audio(This,StartElement,Elements,Stream)
- #define ISpeechRecoResult_SpeakAudio(This,StartElement,Elements,Flags,StreamNumber)
- (This)->lpVtbl -> SpeakAudio(This,StartElement,Elements,Flags,StreamNumber)
- #define ISpeechRecoResult_SaveToMemory(This,ResultBlock)
- (This)->lpVtbl -> SaveToMemory(This,ResultBlock)
- #define ISpeechRecoResult_DiscardResultInfo(This,ValueTypes)
- (This)->lpVtbl -> DiscardResultInfo(This,ValueTypes)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoResult_get_RecoContext_Proxy(
- ISpeechRecoResult * This,
- /* [retval][out] */ ISpeechRecoContext **RecoContext);
- void __RPC_STUB ISpeechRecoResult_get_RecoContext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoResult_get_Times_Proxy(
- ISpeechRecoResult * This,
- /* [retval][out] */ ISpeechRecoResultTimes **Times);
- void __RPC_STUB ISpeechRecoResult_get_Times_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE ISpeechRecoResult_putref_AudioFormat_Proxy(
- ISpeechRecoResult * This,
- /* [in] */ ISpeechAudioFormat *Format);
- void __RPC_STUB ISpeechRecoResult_putref_AudioFormat_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoResult_get_AudioFormat_Proxy(
- ISpeechRecoResult * This,
- /* [retval][out] */ ISpeechAudioFormat **Format);
- void __RPC_STUB ISpeechRecoResult_get_AudioFormat_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoResult_get_PhraseInfo_Proxy(
- ISpeechRecoResult * This,
- /* [retval][out] */ ISpeechPhraseInfo **PhraseInfo);
- void __RPC_STUB ISpeechRecoResult_get_PhraseInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoResult_Alternates_Proxy(
- ISpeechRecoResult * This,
- /* [in] */ long RequestCount,
- /* [defaultvalue][in] */ long StartElement,
- /* [defaultvalue][in] */ long Elements,
- /* [retval][out] */ ISpeechPhraseAlternates **Alternates);
- void __RPC_STUB ISpeechRecoResult_Alternates_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoResult_Audio_Proxy(
- ISpeechRecoResult * This,
- /* [defaultvalue][in] */ long StartElement,
- /* [defaultvalue][in] */ long Elements,
- /* [retval][out] */ ISpeechMemoryStream **Stream);
- void __RPC_STUB ISpeechRecoResult_Audio_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoResult_SpeakAudio_Proxy(
- ISpeechRecoResult * This,
- /* [defaultvalue][in] */ long StartElement,
- /* [defaultvalue][in] */ long Elements,
- /* [defaultvalue][in] */ SpeechVoiceSpeakFlags Flags,
- /* [retval][out] */ long *StreamNumber);
- void __RPC_STUB ISpeechRecoResult_SpeakAudio_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoResult_SaveToMemory_Proxy(
- ISpeechRecoResult * This,
- /* [retval][out] */ VARIANT *ResultBlock);
- void __RPC_STUB ISpeechRecoResult_SaveToMemory_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoResult_DiscardResultInfo_Proxy(
- ISpeechRecoResult * This,
- /* [in] */ SpeechDiscardType ValueTypes);
- void __RPC_STUB ISpeechRecoResult_DiscardResultInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechRecoResult_INTERFACE_DEFINED__ */
- #ifndef __ISpeechRecoResultTimes_INTERFACE_DEFINED__
- #define __ISpeechRecoResultTimes_INTERFACE_DEFINED__
- /* interface ISpeechRecoResultTimes */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechRecoResultTimes;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("62B3B8FB-F6E7-41be-BDCB-056B1C29EFC0")
- ISpeechRecoResultTimes : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_StreamTime(
- /* [retval][out] */ VARIANT *Time) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Length(
- /* [retval][out] */ VARIANT *Length) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_TickCount(
- /* [retval][out] */ long *TickCount) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_OffsetFromStart(
- /* [retval][out] */ VARIANT *OffsetFromStart) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechRecoResultTimesVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechRecoResultTimes * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechRecoResultTimes * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechRecoResultTimes * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechRecoResultTimes * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechRecoResultTimes * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechRecoResultTimes * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechRecoResultTimes * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_StreamTime )(
- ISpeechRecoResultTimes * This,
- /* [retval][out] */ VARIANT *Time);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Length )(
- ISpeechRecoResultTimes * This,
- /* [retval][out] */ VARIANT *Length);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TickCount )(
- ISpeechRecoResultTimes * This,
- /* [retval][out] */ long *TickCount);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OffsetFromStart )(
- ISpeechRecoResultTimes * This,
- /* [retval][out] */ VARIANT *OffsetFromStart);
-
- END_INTERFACE
- } ISpeechRecoResultTimesVtbl;
- interface ISpeechRecoResultTimes
- {
- CONST_VTBL struct ISpeechRecoResultTimesVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechRecoResultTimes_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechRecoResultTimes_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechRecoResultTimes_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechRecoResultTimes_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechRecoResultTimes_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechRecoResultTimes_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechRecoResultTimes_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechRecoResultTimes_get_StreamTime(This,Time)
- (This)->lpVtbl -> get_StreamTime(This,Time)
- #define ISpeechRecoResultTimes_get_Length(This,Length)
- (This)->lpVtbl -> get_Length(This,Length)
- #define ISpeechRecoResultTimes_get_TickCount(This,TickCount)
- (This)->lpVtbl -> get_TickCount(This,TickCount)
- #define ISpeechRecoResultTimes_get_OffsetFromStart(This,OffsetFromStart)
- (This)->lpVtbl -> get_OffsetFromStart(This,OffsetFromStart)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoResultTimes_get_StreamTime_Proxy(
- ISpeechRecoResultTimes * This,
- /* [retval][out] */ VARIANT *Time);
- void __RPC_STUB ISpeechRecoResultTimes_get_StreamTime_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoResultTimes_get_Length_Proxy(
- ISpeechRecoResultTimes * This,
- /* [retval][out] */ VARIANT *Length);
- void __RPC_STUB ISpeechRecoResultTimes_get_Length_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoResultTimes_get_TickCount_Proxy(
- ISpeechRecoResultTimes * This,
- /* [retval][out] */ long *TickCount);
- void __RPC_STUB ISpeechRecoResultTimes_get_TickCount_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoResultTimes_get_OffsetFromStart_Proxy(
- ISpeechRecoResultTimes * This,
- /* [retval][out] */ VARIANT *OffsetFromStart);
- void __RPC_STUB ISpeechRecoResultTimes_get_OffsetFromStart_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechRecoResultTimes_INTERFACE_DEFINED__ */
- #ifndef __ISpeechPhraseAlternate_INTERFACE_DEFINED__
- #define __ISpeechPhraseAlternate_INTERFACE_DEFINED__
- /* interface ISpeechPhraseAlternate */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechPhraseAlternate;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("27864A2A-2B9F-4cb8-92D3-0D2722FD1E73")
- ISpeechPhraseAlternate : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_RecoResult(
- /* [retval][out] */ ISpeechRecoResult **RecoResult) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_StartElementInResult(
- /* [retval][out] */ long *StartElement) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_NumberOfElementsInResult(
- /* [retval][out] */ long *NumberOfElements) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_PhraseInfo(
- /* [retval][out] */ ISpeechPhraseInfo **PhraseInfo) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Commit( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechPhraseAlternateVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechPhraseAlternate * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechPhraseAlternate * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechPhraseAlternate * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechPhraseAlternate * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechPhraseAlternate * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechPhraseAlternate * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechPhraseAlternate * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RecoResult )(
- ISpeechPhraseAlternate * This,
- /* [retval][out] */ ISpeechRecoResult **RecoResult);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_StartElementInResult )(
- ISpeechPhraseAlternate * This,
- /* [retval][out] */ long *StartElement);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumberOfElementsInResult )(
- ISpeechPhraseAlternate * This,
- /* [retval][out] */ long *NumberOfElements);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PhraseInfo )(
- ISpeechPhraseAlternate * This,
- /* [retval][out] */ ISpeechPhraseInfo **PhraseInfo);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Commit )(
- ISpeechPhraseAlternate * This);
-
- END_INTERFACE
- } ISpeechPhraseAlternateVtbl;
- interface ISpeechPhraseAlternate
- {
- CONST_VTBL struct ISpeechPhraseAlternateVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechPhraseAlternate_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechPhraseAlternate_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechPhraseAlternate_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechPhraseAlternate_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechPhraseAlternate_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechPhraseAlternate_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechPhraseAlternate_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechPhraseAlternate_get_RecoResult(This,RecoResult)
- (This)->lpVtbl -> get_RecoResult(This,RecoResult)
- #define ISpeechPhraseAlternate_get_StartElementInResult(This,StartElement)
- (This)->lpVtbl -> get_StartElementInResult(This,StartElement)
- #define ISpeechPhraseAlternate_get_NumberOfElementsInResult(This,NumberOfElements)
- (This)->lpVtbl -> get_NumberOfElementsInResult(This,NumberOfElements)
- #define ISpeechPhraseAlternate_get_PhraseInfo(This,PhraseInfo)
- (This)->lpVtbl -> get_PhraseInfo(This,PhraseInfo)
- #define ISpeechPhraseAlternate_Commit(This)
- (This)->lpVtbl -> Commit(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseAlternate_get_RecoResult_Proxy(
- ISpeechPhraseAlternate * This,
- /* [retval][out] */ ISpeechRecoResult **RecoResult);
- void __RPC_STUB ISpeechPhraseAlternate_get_RecoResult_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseAlternate_get_StartElementInResult_Proxy(
- ISpeechPhraseAlternate * This,
- /* [retval][out] */ long *StartElement);
- void __RPC_STUB ISpeechPhraseAlternate_get_StartElementInResult_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseAlternate_get_NumberOfElementsInResult_Proxy(
- ISpeechPhraseAlternate * This,
- /* [retval][out] */ long *NumberOfElements);
- void __RPC_STUB ISpeechPhraseAlternate_get_NumberOfElementsInResult_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseAlternate_get_PhraseInfo_Proxy(
- ISpeechPhraseAlternate * This,
- /* [retval][out] */ ISpeechPhraseInfo **PhraseInfo);
- void __RPC_STUB ISpeechPhraseAlternate_get_PhraseInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseAlternate_Commit_Proxy(
- ISpeechPhraseAlternate * This);
- void __RPC_STUB ISpeechPhraseAlternate_Commit_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechPhraseAlternate_INTERFACE_DEFINED__ */
- #ifndef __ISpeechPhraseAlternates_INTERFACE_DEFINED__
- #define __ISpeechPhraseAlternates_INTERFACE_DEFINED__
- /* interface ISpeechPhraseAlternates */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechPhraseAlternates;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("B238B6D5-F276-4c3d-A6C1-2974801C3CC2")
- ISpeechPhraseAlternates : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
- /* [retval][out] */ long *Count) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Item(
- /* [in] */ long Index,
- /* [retval][out] */ ISpeechPhraseAlternate **PhraseAlternate) = 0;
-
- virtual /* [id][restricted][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
- /* [retval][out] */ IUnknown **EnumVARIANT) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechPhraseAlternatesVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechPhraseAlternates * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechPhraseAlternates * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechPhraseAlternates * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechPhraseAlternates * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechPhraseAlternates * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechPhraseAlternates * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechPhraseAlternates * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
- ISpeechPhraseAlternates * This,
- /* [retval][out] */ long *Count);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Item )(
- ISpeechPhraseAlternates * This,
- /* [in] */ long Index,
- /* [retval][out] */ ISpeechPhraseAlternate **PhraseAlternate);
-
- /* [id][restricted][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
- ISpeechPhraseAlternates * This,
- /* [retval][out] */ IUnknown **EnumVARIANT);
-
- END_INTERFACE
- } ISpeechPhraseAlternatesVtbl;
- interface ISpeechPhraseAlternates
- {
- CONST_VTBL struct ISpeechPhraseAlternatesVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechPhraseAlternates_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechPhraseAlternates_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechPhraseAlternates_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechPhraseAlternates_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechPhraseAlternates_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechPhraseAlternates_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechPhraseAlternates_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechPhraseAlternates_get_Count(This,Count)
- (This)->lpVtbl -> get_Count(This,Count)
- #define ISpeechPhraseAlternates_Item(This,Index,PhraseAlternate)
- (This)->lpVtbl -> Item(This,Index,PhraseAlternate)
- #define ISpeechPhraseAlternates_get__NewEnum(This,EnumVARIANT)
- (This)->lpVtbl -> get__NewEnum(This,EnumVARIANT)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseAlternates_get_Count_Proxy(
- ISpeechPhraseAlternates * This,
- /* [retval][out] */ long *Count);
- void __RPC_STUB ISpeechPhraseAlternates_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseAlternates_Item_Proxy(
- ISpeechPhraseAlternates * This,
- /* [in] */ long Index,
- /* [retval][out] */ ISpeechPhraseAlternate **PhraseAlternate);
- void __RPC_STUB ISpeechPhraseAlternates_Item_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][restricted][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseAlternates_get__NewEnum_Proxy(
- ISpeechPhraseAlternates * This,
- /* [retval][out] */ IUnknown **EnumVARIANT);
- void __RPC_STUB ISpeechPhraseAlternates_get__NewEnum_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechPhraseAlternates_INTERFACE_DEFINED__ */
- #ifndef __ISpeechPhraseInfo_INTERFACE_DEFINED__
- #define __ISpeechPhraseInfo_INTERFACE_DEFINED__
- /* interface ISpeechPhraseInfo */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechPhraseInfo;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("961559CF-4E67-4662-8BF0-D93F1FCD61B3")
- ISpeechPhraseInfo : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_LanguageId(
- /* [retval][out] */ long *LanguageId) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_GrammarId(
- /* [retval][out] */ VARIANT *GrammarId) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_StartTime(
- /* [retval][out] */ VARIANT *StartTime) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AudioStreamPosition(
- /* [retval][out] */ VARIANT *AudioStreamPosition) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AudioSizeBytes(
- /* [retval][out] */ long *pAudioSizeBytes) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_RetainedSizeBytes(
- /* [retval][out] */ long *RetainedSizeBytes) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AudioSizeTime(
- /* [retval][out] */ long *AudioSizeTime) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Rule(
- /* [retval][out] */ ISpeechPhraseRule **Rule) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Properties(
- /* [retval][out] */ ISpeechPhraseProperties **Properties) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Elements(
- /* [retval][out] */ ISpeechPhraseElements **Elements) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Replacements(
- /* [retval][out] */ ISpeechPhraseReplacements **Replacements) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_EngineId(
- /* [retval][out] */ BSTR *EngineIdGuid) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_EnginePrivateData(
- /* [retval][out] */ VARIANT *PrivateData) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE SaveToMemory(
- /* [retval][out] */ VARIANT *PhraseBlock) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE GetText(
- /* [defaultvalue][in] */ long StartElement,
- /* [defaultvalue][in] */ long Elements,
- /* [defaultvalue][in] */ VARIANT_BOOL UseReplacements,
- /* [retval][out] */ BSTR *Text) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE GetDisplayAttributes(
- /* [defaultvalue][in] */ long StartElement,
- /* [defaultvalue][in] */ long Elements,
- /* [defaultvalue][in] */ VARIANT_BOOL UseReplacements,
- /* [retval][out] */ SpeechDisplayAttributes *DisplayAttributes) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechPhraseInfoVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechPhraseInfo * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechPhraseInfo * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechPhraseInfo * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechPhraseInfo * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechPhraseInfo * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechPhraseInfo * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechPhraseInfo * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LanguageId )(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ long *LanguageId);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_GrammarId )(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ VARIANT *GrammarId);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_StartTime )(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ VARIANT *StartTime);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AudioStreamPosition )(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ VARIANT *AudioStreamPosition);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AudioSizeBytes )(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ long *pAudioSizeBytes);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RetainedSizeBytes )(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ long *RetainedSizeBytes);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AudioSizeTime )(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ long *AudioSizeTime);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Rule )(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ ISpeechPhraseRule **Rule);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ ISpeechPhraseProperties **Properties);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Elements )(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ ISpeechPhraseElements **Elements);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Replacements )(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ ISpeechPhraseReplacements **Replacements);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EngineId )(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ BSTR *EngineIdGuid);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EnginePrivateData )(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ VARIANT *PrivateData);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *SaveToMemory )(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ VARIANT *PhraseBlock);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetText )(
- ISpeechPhraseInfo * This,
- /* [defaultvalue][in] */ long StartElement,
- /* [defaultvalue][in] */ long Elements,
- /* [defaultvalue][in] */ VARIANT_BOOL UseReplacements,
- /* [retval][out] */ BSTR *Text);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDisplayAttributes )(
- ISpeechPhraseInfo * This,
- /* [defaultvalue][in] */ long StartElement,
- /* [defaultvalue][in] */ long Elements,
- /* [defaultvalue][in] */ VARIANT_BOOL UseReplacements,
- /* [retval][out] */ SpeechDisplayAttributes *DisplayAttributes);
-
- END_INTERFACE
- } ISpeechPhraseInfoVtbl;
- interface ISpeechPhraseInfo
- {
- CONST_VTBL struct ISpeechPhraseInfoVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechPhraseInfo_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechPhraseInfo_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechPhraseInfo_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechPhraseInfo_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechPhraseInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechPhraseInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechPhraseInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechPhraseInfo_get_LanguageId(This,LanguageId)
- (This)->lpVtbl -> get_LanguageId(This,LanguageId)
- #define ISpeechPhraseInfo_get_GrammarId(This,GrammarId)
- (This)->lpVtbl -> get_GrammarId(This,GrammarId)
- #define ISpeechPhraseInfo_get_StartTime(This,StartTime)
- (This)->lpVtbl -> get_StartTime(This,StartTime)
- #define ISpeechPhraseInfo_get_AudioStreamPosition(This,AudioStreamPosition)
- (This)->lpVtbl -> get_AudioStreamPosition(This,AudioStreamPosition)
- #define ISpeechPhraseInfo_get_AudioSizeBytes(This,pAudioSizeBytes)
- (This)->lpVtbl -> get_AudioSizeBytes(This,pAudioSizeBytes)
- #define ISpeechPhraseInfo_get_RetainedSizeBytes(This,RetainedSizeBytes)
- (This)->lpVtbl -> get_RetainedSizeBytes(This,RetainedSizeBytes)
- #define ISpeechPhraseInfo_get_AudioSizeTime(This,AudioSizeTime)
- (This)->lpVtbl -> get_AudioSizeTime(This,AudioSizeTime)
- #define ISpeechPhraseInfo_get_Rule(This,Rule)
- (This)->lpVtbl -> get_Rule(This,Rule)
- #define ISpeechPhraseInfo_get_Properties(This,Properties)
- (This)->lpVtbl -> get_Properties(This,Properties)
- #define ISpeechPhraseInfo_get_Elements(This,Elements)
- (This)->lpVtbl -> get_Elements(This,Elements)
- #define ISpeechPhraseInfo_get_Replacements(This,Replacements)
- (This)->lpVtbl -> get_Replacements(This,Replacements)
- #define ISpeechPhraseInfo_get_EngineId(This,EngineIdGuid)
- (This)->lpVtbl -> get_EngineId(This,EngineIdGuid)
- #define ISpeechPhraseInfo_get_EnginePrivateData(This,PrivateData)
- (This)->lpVtbl -> get_EnginePrivateData(This,PrivateData)
- #define ISpeechPhraseInfo_SaveToMemory(This,PhraseBlock)
- (This)->lpVtbl -> SaveToMemory(This,PhraseBlock)
- #define ISpeechPhraseInfo_GetText(This,StartElement,Elements,UseReplacements,Text)
- (This)->lpVtbl -> GetText(This,StartElement,Elements,UseReplacements,Text)
- #define ISpeechPhraseInfo_GetDisplayAttributes(This,StartElement,Elements,UseReplacements,DisplayAttributes)
- (This)->lpVtbl -> GetDisplayAttributes(This,StartElement,Elements,UseReplacements,DisplayAttributes)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseInfo_get_LanguageId_Proxy(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ long *LanguageId);
- void __RPC_STUB ISpeechPhraseInfo_get_LanguageId_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseInfo_get_GrammarId_Proxy(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ VARIANT *GrammarId);
- void __RPC_STUB ISpeechPhraseInfo_get_GrammarId_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseInfo_get_StartTime_Proxy(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ VARIANT *StartTime);
- void __RPC_STUB ISpeechPhraseInfo_get_StartTime_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseInfo_get_AudioStreamPosition_Proxy(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ VARIANT *AudioStreamPosition);
- void __RPC_STUB ISpeechPhraseInfo_get_AudioStreamPosition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseInfo_get_AudioSizeBytes_Proxy(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ long *pAudioSizeBytes);
- void __RPC_STUB ISpeechPhraseInfo_get_AudioSizeBytes_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseInfo_get_RetainedSizeBytes_Proxy(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ long *RetainedSizeBytes);
- void __RPC_STUB ISpeechPhraseInfo_get_RetainedSizeBytes_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseInfo_get_AudioSizeTime_Proxy(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ long *AudioSizeTime);
- void __RPC_STUB ISpeechPhraseInfo_get_AudioSizeTime_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseInfo_get_Rule_Proxy(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ ISpeechPhraseRule **Rule);
- void __RPC_STUB ISpeechPhraseInfo_get_Rule_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseInfo_get_Properties_Proxy(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ ISpeechPhraseProperties **Properties);
- void __RPC_STUB ISpeechPhraseInfo_get_Properties_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseInfo_get_Elements_Proxy(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ ISpeechPhraseElements **Elements);
- void __RPC_STUB ISpeechPhraseInfo_get_Elements_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseInfo_get_Replacements_Proxy(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ ISpeechPhraseReplacements **Replacements);
- void __RPC_STUB ISpeechPhraseInfo_get_Replacements_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseInfo_get_EngineId_Proxy(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ BSTR *EngineIdGuid);
- void __RPC_STUB ISpeechPhraseInfo_get_EngineId_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseInfo_get_EnginePrivateData_Proxy(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ VARIANT *PrivateData);
- void __RPC_STUB ISpeechPhraseInfo_get_EnginePrivateData_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseInfo_SaveToMemory_Proxy(
- ISpeechPhraseInfo * This,
- /* [retval][out] */ VARIANT *PhraseBlock);
- void __RPC_STUB ISpeechPhraseInfo_SaveToMemory_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseInfo_GetText_Proxy(
- ISpeechPhraseInfo * This,
- /* [defaultvalue][in] */ long StartElement,
- /* [defaultvalue][in] */ long Elements,
- /* [defaultvalue][in] */ VARIANT_BOOL UseReplacements,
- /* [retval][out] */ BSTR *Text);
- void __RPC_STUB ISpeechPhraseInfo_GetText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechPhraseInfo_GetDisplayAttributes_Proxy(
- ISpeechPhraseInfo * This,
- /* [defaultvalue][in] */ long StartElement,
- /* [defaultvalue][in] */ long Elements,
- /* [defaultvalue][in] */ VARIANT_BOOL UseReplacements,
- /* [retval][out] */ SpeechDisplayAttributes *DisplayAttributes);
- void __RPC_STUB ISpeechPhraseInfo_GetDisplayAttributes_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechPhraseInfo_INTERFACE_DEFINED__ */
- #ifndef __ISpeechPhraseElement_INTERFACE_DEFINED__
- #define __ISpeechPhraseElement_INTERFACE_DEFINED__
- /* interface ISpeechPhraseElement */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechPhraseElement;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("E6176F96-E373-4801-B223-3B62C068C0B4")
- ISpeechPhraseElement : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AudioTimeOffset(
- /* [retval][out] */ long *AudioTimeOffset) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AudioSizeTime(
- /* [retval][out] */ long *AudioSizeTime) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AudioStreamOffset(
- /* [retval][out] */ long *AudioStreamOffset) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AudioSizeBytes(
- /* [retval][out] */ long *AudioSizeBytes) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_RetainedStreamOffset(
- /* [retval][out] */ long *RetainedStreamOffset) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_RetainedSizeBytes(
- /* [retval][out] */ long *RetainedSizeBytes) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_DisplayText(
- /* [retval][out] */ BSTR *DisplayText) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_LexicalForm(
- /* [retval][out] */ BSTR *LexicalForm) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Pronunciation(