sapi.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:856k
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Format )(
- ISpeechAudio * This,
- /* [retval][out] */ ISpeechAudioFormat **AudioFormat);
-
- /* [id][helpstring][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_Format )(
- ISpeechAudio * This,
- /* [in] */ ISpeechAudioFormat *AudioFormat);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Read )(
- ISpeechAudio * This,
- /* [out] */ VARIANT *Buffer,
- /* [in] */ long NumberOfBytes,
- /* [retval][out] */ long *BytesRead);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Write )(
- ISpeechAudio * This,
- /* [in] */ VARIANT Buffer,
- /* [retval][out] */ long *BytesWritten);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Seek )(
- ISpeechAudio * This,
- /* [in] */ VARIANT Position,
- /* [defaultvalue][in] */ SpeechStreamSeekPositionType Origin,
- /* [retval][out] */ VARIANT *NewPosition);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Status )(
- ISpeechAudio * This,
- /* [retval][out] */ ISpeechAudioStatus **Status);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BufferInfo )(
- ISpeechAudio * This,
- /* [retval][out] */ ISpeechAudioBufferInfo **BufferInfo);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DefaultFormat )(
- ISpeechAudio * This,
- /* [retval][out] */ ISpeechAudioFormat **StreamFormat);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Volume )(
- ISpeechAudio * This,
- /* [retval][out] */ long *Volume);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Volume )(
- ISpeechAudio * This,
- /* [in] */ long Volume);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BufferNotifySize )(
- ISpeechAudio * This,
- /* [retval][out] */ long *BufferNotifySize);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BufferNotifySize )(
- ISpeechAudio * This,
- /* [in] */ long BufferNotifySize);
-
- /* [id][helpstring][hidden][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventHandle )(
- ISpeechAudio * This,
- /* [retval][out] */ long *EventHandle);
-
- /* [hidden][id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetState )(
- ISpeechAudio * This,
- /* [in] */ SpeechAudioState State);
-
- END_INTERFACE
- } ISpeechAudioVtbl;
- interface ISpeechAudio
- {
- CONST_VTBL struct ISpeechAudioVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechAudio_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechAudio_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechAudio_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechAudio_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechAudio_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechAudio_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechAudio_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechAudio_get_Format(This,AudioFormat)
- (This)->lpVtbl -> get_Format(This,AudioFormat)
- #define ISpeechAudio_putref_Format(This,AudioFormat)
- (This)->lpVtbl -> putref_Format(This,AudioFormat)
- #define ISpeechAudio_Read(This,Buffer,NumberOfBytes,BytesRead)
- (This)->lpVtbl -> Read(This,Buffer,NumberOfBytes,BytesRead)
- #define ISpeechAudio_Write(This,Buffer,BytesWritten)
- (This)->lpVtbl -> Write(This,Buffer,BytesWritten)
- #define ISpeechAudio_Seek(This,Position,Origin,NewPosition)
- (This)->lpVtbl -> Seek(This,Position,Origin,NewPosition)
- #define ISpeechAudio_get_Status(This,Status)
- (This)->lpVtbl -> get_Status(This,Status)
- #define ISpeechAudio_get_BufferInfo(This,BufferInfo)
- (This)->lpVtbl -> get_BufferInfo(This,BufferInfo)
- #define ISpeechAudio_get_DefaultFormat(This,StreamFormat)
- (This)->lpVtbl -> get_DefaultFormat(This,StreamFormat)
- #define ISpeechAudio_get_Volume(This,Volume)
- (This)->lpVtbl -> get_Volume(This,Volume)
- #define ISpeechAudio_put_Volume(This,Volume)
- (This)->lpVtbl -> put_Volume(This,Volume)
- #define ISpeechAudio_get_BufferNotifySize(This,BufferNotifySize)
- (This)->lpVtbl -> get_BufferNotifySize(This,BufferNotifySize)
- #define ISpeechAudio_put_BufferNotifySize(This,BufferNotifySize)
- (This)->lpVtbl -> put_BufferNotifySize(This,BufferNotifySize)
- #define ISpeechAudio_get_EventHandle(This,EventHandle)
- (This)->lpVtbl -> get_EventHandle(This,EventHandle)
- #define ISpeechAudio_SetState(This,State)
- (This)->lpVtbl -> SetState(This,State)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechAudio_get_Status_Proxy(
- ISpeechAudio * This,
- /* [retval][out] */ ISpeechAudioStatus **Status);
- void __RPC_STUB ISpeechAudio_get_Status_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechAudio_get_BufferInfo_Proxy(
- ISpeechAudio * This,
- /* [retval][out] */ ISpeechAudioBufferInfo **BufferInfo);
- void __RPC_STUB ISpeechAudio_get_BufferInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechAudio_get_DefaultFormat_Proxy(
- ISpeechAudio * This,
- /* [retval][out] */ ISpeechAudioFormat **StreamFormat);
- void __RPC_STUB ISpeechAudio_get_DefaultFormat_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechAudio_get_Volume_Proxy(
- ISpeechAudio * This,
- /* [retval][out] */ long *Volume);
- void __RPC_STUB ISpeechAudio_get_Volume_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechAudio_put_Volume_Proxy(
- ISpeechAudio * This,
- /* [in] */ long Volume);
- void __RPC_STUB ISpeechAudio_put_Volume_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechAudio_get_BufferNotifySize_Proxy(
- ISpeechAudio * This,
- /* [retval][out] */ long *BufferNotifySize);
- void __RPC_STUB ISpeechAudio_get_BufferNotifySize_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechAudio_put_BufferNotifySize_Proxy(
- ISpeechAudio * This,
- /* [in] */ long BufferNotifySize);
- void __RPC_STUB ISpeechAudio_put_BufferNotifySize_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][hidden][propget] */ HRESULT STDMETHODCALLTYPE ISpeechAudio_get_EventHandle_Proxy(
- ISpeechAudio * This,
- /* [retval][out] */ long *EventHandle);
- void __RPC_STUB ISpeechAudio_get_EventHandle_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [hidden][id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechAudio_SetState_Proxy(
- ISpeechAudio * This,
- /* [in] */ SpeechAudioState State);
- void __RPC_STUB ISpeechAudio_SetState_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechAudio_INTERFACE_DEFINED__ */
- #ifndef __ISpeechMMSysAudio_INTERFACE_DEFINED__
- #define __ISpeechMMSysAudio_INTERFACE_DEFINED__
- /* interface ISpeechMMSysAudio */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechMMSysAudio;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("3C76AF6D-1FD7-4831-81D1-3B71D5A13C44")
- ISpeechMMSysAudio : public ISpeechAudio
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_DeviceId(
- /* [retval][out] */ long *DeviceId) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_DeviceId(
- /* [in] */ long DeviceId) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_LineId(
- /* [retval][out] */ long *LineId) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_LineId(
- /* [in] */ long LineId) = 0;
-
- virtual /* [id][helpstring][hidden][propget] */ HRESULT STDMETHODCALLTYPE get_MMHandle(
- /* [retval][out] */ long *Handle) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechMMSysAudioVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechMMSysAudio * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechMMSysAudio * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechMMSysAudio * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechMMSysAudio * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechMMSysAudio * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechMMSysAudio * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechMMSysAudio * 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_Format )(
- ISpeechMMSysAudio * This,
- /* [retval][out] */ ISpeechAudioFormat **AudioFormat);
-
- /* [id][helpstring][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_Format )(
- ISpeechMMSysAudio * This,
- /* [in] */ ISpeechAudioFormat *AudioFormat);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Read )(
- ISpeechMMSysAudio * This,
- /* [out] */ VARIANT *Buffer,
- /* [in] */ long NumberOfBytes,
- /* [retval][out] */ long *BytesRead);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Write )(
- ISpeechMMSysAudio * This,
- /* [in] */ VARIANT Buffer,
- /* [retval][out] */ long *BytesWritten);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Seek )(
- ISpeechMMSysAudio * This,
- /* [in] */ VARIANT Position,
- /* [defaultvalue][in] */ SpeechStreamSeekPositionType Origin,
- /* [retval][out] */ VARIANT *NewPosition);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Status )(
- ISpeechMMSysAudio * This,
- /* [retval][out] */ ISpeechAudioStatus **Status);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BufferInfo )(
- ISpeechMMSysAudio * This,
- /* [retval][out] */ ISpeechAudioBufferInfo **BufferInfo);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DefaultFormat )(
- ISpeechMMSysAudio * This,
- /* [retval][out] */ ISpeechAudioFormat **StreamFormat);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Volume )(
- ISpeechMMSysAudio * This,
- /* [retval][out] */ long *Volume);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Volume )(
- ISpeechMMSysAudio * This,
- /* [in] */ long Volume);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BufferNotifySize )(
- ISpeechMMSysAudio * This,
- /* [retval][out] */ long *BufferNotifySize);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BufferNotifySize )(
- ISpeechMMSysAudio * This,
- /* [in] */ long BufferNotifySize);
-
- /* [id][helpstring][hidden][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventHandle )(
- ISpeechMMSysAudio * This,
- /* [retval][out] */ long *EventHandle);
-
- /* [hidden][id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetState )(
- ISpeechMMSysAudio * This,
- /* [in] */ SpeechAudioState State);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceId )(
- ISpeechMMSysAudio * This,
- /* [retval][out] */ long *DeviceId);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DeviceId )(
- ISpeechMMSysAudio * This,
- /* [in] */ long DeviceId);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LineId )(
- ISpeechMMSysAudio * This,
- /* [retval][out] */ long *LineId);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_LineId )(
- ISpeechMMSysAudio * This,
- /* [in] */ long LineId);
-
- /* [id][helpstring][hidden][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MMHandle )(
- ISpeechMMSysAudio * This,
- /* [retval][out] */ long *Handle);
-
- END_INTERFACE
- } ISpeechMMSysAudioVtbl;
- interface ISpeechMMSysAudio
- {
- CONST_VTBL struct ISpeechMMSysAudioVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechMMSysAudio_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechMMSysAudio_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechMMSysAudio_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechMMSysAudio_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechMMSysAudio_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechMMSysAudio_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechMMSysAudio_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechMMSysAudio_get_Format(This,AudioFormat)
- (This)->lpVtbl -> get_Format(This,AudioFormat)
- #define ISpeechMMSysAudio_putref_Format(This,AudioFormat)
- (This)->lpVtbl -> putref_Format(This,AudioFormat)
- #define ISpeechMMSysAudio_Read(This,Buffer,NumberOfBytes,BytesRead)
- (This)->lpVtbl -> Read(This,Buffer,NumberOfBytes,BytesRead)
- #define ISpeechMMSysAudio_Write(This,Buffer,BytesWritten)
- (This)->lpVtbl -> Write(This,Buffer,BytesWritten)
- #define ISpeechMMSysAudio_Seek(This,Position,Origin,NewPosition)
- (This)->lpVtbl -> Seek(This,Position,Origin,NewPosition)
- #define ISpeechMMSysAudio_get_Status(This,Status)
- (This)->lpVtbl -> get_Status(This,Status)
- #define ISpeechMMSysAudio_get_BufferInfo(This,BufferInfo)
- (This)->lpVtbl -> get_BufferInfo(This,BufferInfo)
- #define ISpeechMMSysAudio_get_DefaultFormat(This,StreamFormat)
- (This)->lpVtbl -> get_DefaultFormat(This,StreamFormat)
- #define ISpeechMMSysAudio_get_Volume(This,Volume)
- (This)->lpVtbl -> get_Volume(This,Volume)
- #define ISpeechMMSysAudio_put_Volume(This,Volume)
- (This)->lpVtbl -> put_Volume(This,Volume)
- #define ISpeechMMSysAudio_get_BufferNotifySize(This,BufferNotifySize)
- (This)->lpVtbl -> get_BufferNotifySize(This,BufferNotifySize)
- #define ISpeechMMSysAudio_put_BufferNotifySize(This,BufferNotifySize)
- (This)->lpVtbl -> put_BufferNotifySize(This,BufferNotifySize)
- #define ISpeechMMSysAudio_get_EventHandle(This,EventHandle)
- (This)->lpVtbl -> get_EventHandle(This,EventHandle)
- #define ISpeechMMSysAudio_SetState(This,State)
- (This)->lpVtbl -> SetState(This,State)
- #define ISpeechMMSysAudio_get_DeviceId(This,DeviceId)
- (This)->lpVtbl -> get_DeviceId(This,DeviceId)
- #define ISpeechMMSysAudio_put_DeviceId(This,DeviceId)
- (This)->lpVtbl -> put_DeviceId(This,DeviceId)
- #define ISpeechMMSysAudio_get_LineId(This,LineId)
- (This)->lpVtbl -> get_LineId(This,LineId)
- #define ISpeechMMSysAudio_put_LineId(This,LineId)
- (This)->lpVtbl -> put_LineId(This,LineId)
- #define ISpeechMMSysAudio_get_MMHandle(This,Handle)
- (This)->lpVtbl -> get_MMHandle(This,Handle)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechMMSysAudio_get_DeviceId_Proxy(
- ISpeechMMSysAudio * This,
- /* [retval][out] */ long *DeviceId);
- void __RPC_STUB ISpeechMMSysAudio_get_DeviceId_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechMMSysAudio_put_DeviceId_Proxy(
- ISpeechMMSysAudio * This,
- /* [in] */ long DeviceId);
- void __RPC_STUB ISpeechMMSysAudio_put_DeviceId_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechMMSysAudio_get_LineId_Proxy(
- ISpeechMMSysAudio * This,
- /* [retval][out] */ long *LineId);
- void __RPC_STUB ISpeechMMSysAudio_get_LineId_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechMMSysAudio_put_LineId_Proxy(
- ISpeechMMSysAudio * This,
- /* [in] */ long LineId);
- void __RPC_STUB ISpeechMMSysAudio_put_LineId_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][hidden][propget] */ HRESULT STDMETHODCALLTYPE ISpeechMMSysAudio_get_MMHandle_Proxy(
- ISpeechMMSysAudio * This,
- /* [retval][out] */ long *Handle);
- void __RPC_STUB ISpeechMMSysAudio_get_MMHandle_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechMMSysAudio_INTERFACE_DEFINED__ */
- #ifndef __ISpeechVoice_INTERFACE_DEFINED__
- #define __ISpeechVoice_INTERFACE_DEFINED__
- /* interface ISpeechVoice */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechVoice;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("269316D8-57BD-11D2-9EEE-00C04F797396")
- ISpeechVoice : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Status(
- /* [retval][out] */ ISpeechVoiceStatus **Status) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Voice(
- /* [retval][out] */ ISpeechObjectToken **Voice) = 0;
-
- virtual /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE putref_Voice(
- /* [in] */ ISpeechObjectToken *Voice) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AudioOutput(
- /* [retval][out] */ ISpeechObjectToken **AudioOutput) = 0;
-
- virtual /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE putref_AudioOutput(
- /* [in] */ ISpeechObjectToken *AudioOutput) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AudioOutputStream(
- /* [retval][out] */ ISpeechBaseStream **AudioOutputStream) = 0;
-
- virtual /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE putref_AudioOutputStream(
- /* [in] */ ISpeechBaseStream *AudioOutputStream) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Rate(
- /* [retval][out] */ long *Rate) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_Rate(
- /* [in] */ long Rate) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Volume(
- /* [retval][out] */ long *Volume) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_Volume(
- /* [in] */ long Volume) = 0;
-
- virtual /* [id][helpstring][hidden][propput] */ HRESULT STDMETHODCALLTYPE put_AllowAudioOutputFormatChangesOnNextSet(
- /* [in] */ VARIANT_BOOL Allow) = 0;
-
- virtual /* [id][helpstring][hidden][propget] */ HRESULT STDMETHODCALLTYPE get_AllowAudioOutputFormatChangesOnNextSet(
- /* [retval][out] */ VARIANT_BOOL *Allow) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_EventInterests(
- /* [retval][out] */ SpeechVoiceEvents *EventInterestFlags) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_EventInterests(
- /* [in] */ SpeechVoiceEvents EventInterestFlags) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_Priority(
- /* [in] */ SpeechVoicePriority Priority) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Priority(
- /* [retval][out] */ SpeechVoicePriority *Priority) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_AlertBoundary(
- /* [in] */ SpeechVoiceEvents Boundary) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AlertBoundary(
- /* [retval][out] */ SpeechVoiceEvents *Boundary) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_SynchronousSpeakTimeout(
- /* [in] */ long msTimeout) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_SynchronousSpeakTimeout(
- /* [retval][out] */ long *msTimeout) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Speak(
- /* [in] */ BSTR Text,
- /* [defaultvalue][in] */ SpeechVoiceSpeakFlags Flags,
- /* [retval][out] */ long *StreamNumber) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE SpeakStream(
- /* [in] */ ISpeechBaseStream *Stream,
- /* [defaultvalue][in] */ SpeechVoiceSpeakFlags Flags,
- /* [retval][out] */ long *StreamNumber) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Pause( void) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Resume( void) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ const BSTR Type,
- /* [in] */ long NumItems,
- /* [retval][out] */ long *NumSkipped) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE GetVoices(
- /* [defaultvalue][in] */ BSTR RequiredAttributes,
- /* [defaultvalue][in] */ BSTR OptionalAttributes,
- /* [retval][out] */ ISpeechObjectTokens **ObjectTokens) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE GetAudioOutputs(
- /* [defaultvalue][in] */ BSTR RequiredAttributes,
- /* [defaultvalue][in] */ BSTR OptionalAttributes,
- /* [retval][out] */ ISpeechObjectTokens **ObjectTokens) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE WaitUntilDone(
- /* [in] */ long msTimeout,
- /* [retval][out] */ VARIANT_BOOL *Done) = 0;
-
- virtual /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE SpeakCompleteEvent(
- /* [retval][out] */ long *Handle) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE IsUISupported(
- /* [in] */ const BSTR TypeOfUI,
- /* [defaultvalue][in] */ const VARIANT *ExtraData,
- /* [retval][out] */ VARIANT_BOOL *Supported) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE DisplayUI(
- /* [in] */ long hWndParent,
- /* [in] */ BSTR Title,
- /* [in] */ const BSTR TypeOfUI,
- /* [defaultvalue][in] */ const VARIANT *ExtraData = 0) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechVoiceVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechVoice * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechVoice * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechVoice * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechVoice * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechVoice * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechVoice * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechVoice * 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_Status )(
- ISpeechVoice * This,
- /* [retval][out] */ ISpeechVoiceStatus **Status);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Voice )(
- ISpeechVoice * This,
- /* [retval][out] */ ISpeechObjectToken **Voice);
-
- /* [id][helpstring][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_Voice )(
- ISpeechVoice * This,
- /* [in] */ ISpeechObjectToken *Voice);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AudioOutput )(
- ISpeechVoice * This,
- /* [retval][out] */ ISpeechObjectToken **AudioOutput);
-
- /* [id][helpstring][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_AudioOutput )(
- ISpeechVoice * This,
- /* [in] */ ISpeechObjectToken *AudioOutput);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AudioOutputStream )(
- ISpeechVoice * This,
- /* [retval][out] */ ISpeechBaseStream **AudioOutputStream);
-
- /* [id][helpstring][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_AudioOutputStream )(
- ISpeechVoice * This,
- /* [in] */ ISpeechBaseStream *AudioOutputStream);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Rate )(
- ISpeechVoice * This,
- /* [retval][out] */ long *Rate);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Rate )(
- ISpeechVoice * This,
- /* [in] */ long Rate);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Volume )(
- ISpeechVoice * This,
- /* [retval][out] */ long *Volume);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Volume )(
- ISpeechVoice * This,
- /* [in] */ long Volume);
-
- /* [id][helpstring][hidden][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AllowAudioOutputFormatChangesOnNextSet )(
- ISpeechVoice * This,
- /* [in] */ VARIANT_BOOL Allow);
-
- /* [id][helpstring][hidden][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AllowAudioOutputFormatChangesOnNextSet )(
- ISpeechVoice * This,
- /* [retval][out] */ VARIANT_BOOL *Allow);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventInterests )(
- ISpeechVoice * This,
- /* [retval][out] */ SpeechVoiceEvents *EventInterestFlags);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EventInterests )(
- ISpeechVoice * This,
- /* [in] */ SpeechVoiceEvents EventInterestFlags);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Priority )(
- ISpeechVoice * This,
- /* [in] */ SpeechVoicePriority Priority);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Priority )(
- ISpeechVoice * This,
- /* [retval][out] */ SpeechVoicePriority *Priority);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AlertBoundary )(
- ISpeechVoice * This,
- /* [in] */ SpeechVoiceEvents Boundary);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AlertBoundary )(
- ISpeechVoice * This,
- /* [retval][out] */ SpeechVoiceEvents *Boundary);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SynchronousSpeakTimeout )(
- ISpeechVoice * This,
- /* [in] */ long msTimeout);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SynchronousSpeakTimeout )(
- ISpeechVoice * This,
- /* [retval][out] */ long *msTimeout);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Speak )(
- ISpeechVoice * This,
- /* [in] */ BSTR Text,
- /* [defaultvalue][in] */ SpeechVoiceSpeakFlags Flags,
- /* [retval][out] */ long *StreamNumber);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *SpeakStream )(
- ISpeechVoice * This,
- /* [in] */ ISpeechBaseStream *Stream,
- /* [defaultvalue][in] */ SpeechVoiceSpeakFlags Flags,
- /* [retval][out] */ long *StreamNumber);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Pause )(
- ISpeechVoice * This);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Resume )(
- ISpeechVoice * This);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Skip )(
- ISpeechVoice * This,
- /* [in] */ const BSTR Type,
- /* [in] */ long NumItems,
- /* [retval][out] */ long *NumSkipped);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetVoices )(
- ISpeechVoice * This,
- /* [defaultvalue][in] */ BSTR RequiredAttributes,
- /* [defaultvalue][in] */ BSTR OptionalAttributes,
- /* [retval][out] */ ISpeechObjectTokens **ObjectTokens);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetAudioOutputs )(
- ISpeechVoice * This,
- /* [defaultvalue][in] */ BSTR RequiredAttributes,
- /* [defaultvalue][in] */ BSTR OptionalAttributes,
- /* [retval][out] */ ISpeechObjectTokens **ObjectTokens);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *WaitUntilDone )(
- ISpeechVoice * This,
- /* [in] */ long msTimeout,
- /* [retval][out] */ VARIANT_BOOL *Done);
-
- /* [id][hidden][helpstring] */ HRESULT ( STDMETHODCALLTYPE *SpeakCompleteEvent )(
- ISpeechVoice * This,
- /* [retval][out] */ long *Handle);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *IsUISupported )(
- ISpeechVoice * This,
- /* [in] */ const BSTR TypeOfUI,
- /* [defaultvalue][in] */ const VARIANT *ExtraData,
- /* [retval][out] */ VARIANT_BOOL *Supported);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *DisplayUI )(
- ISpeechVoice * This,
- /* [in] */ long hWndParent,
- /* [in] */ BSTR Title,
- /* [in] */ const BSTR TypeOfUI,
- /* [defaultvalue][in] */ const VARIANT *ExtraData);
-
- END_INTERFACE
- } ISpeechVoiceVtbl;
- interface ISpeechVoice
- {
- CONST_VTBL struct ISpeechVoiceVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechVoice_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechVoice_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechVoice_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechVoice_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechVoice_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechVoice_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechVoice_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechVoice_get_Status(This,Status)
- (This)->lpVtbl -> get_Status(This,Status)
- #define ISpeechVoice_get_Voice(This,Voice)
- (This)->lpVtbl -> get_Voice(This,Voice)
- #define ISpeechVoice_putref_Voice(This,Voice)
- (This)->lpVtbl -> putref_Voice(This,Voice)
- #define ISpeechVoice_get_AudioOutput(This,AudioOutput)
- (This)->lpVtbl -> get_AudioOutput(This,AudioOutput)
- #define ISpeechVoice_putref_AudioOutput(This,AudioOutput)
- (This)->lpVtbl -> putref_AudioOutput(This,AudioOutput)
- #define ISpeechVoice_get_AudioOutputStream(This,AudioOutputStream)
- (This)->lpVtbl -> get_AudioOutputStream(This,AudioOutputStream)
- #define ISpeechVoice_putref_AudioOutputStream(This,AudioOutputStream)
- (This)->lpVtbl -> putref_AudioOutputStream(This,AudioOutputStream)
- #define ISpeechVoice_get_Rate(This,Rate)
- (This)->lpVtbl -> get_Rate(This,Rate)
- #define ISpeechVoice_put_Rate(This,Rate)
- (This)->lpVtbl -> put_Rate(This,Rate)
- #define ISpeechVoice_get_Volume(This,Volume)
- (This)->lpVtbl -> get_Volume(This,Volume)
- #define ISpeechVoice_put_Volume(This,Volume)
- (This)->lpVtbl -> put_Volume(This,Volume)
- #define ISpeechVoice_put_AllowAudioOutputFormatChangesOnNextSet(This,Allow)
- (This)->lpVtbl -> put_AllowAudioOutputFormatChangesOnNextSet(This,Allow)
- #define ISpeechVoice_get_AllowAudioOutputFormatChangesOnNextSet(This,Allow)
- (This)->lpVtbl -> get_AllowAudioOutputFormatChangesOnNextSet(This,Allow)
- #define ISpeechVoice_get_EventInterests(This,EventInterestFlags)
- (This)->lpVtbl -> get_EventInterests(This,EventInterestFlags)
- #define ISpeechVoice_put_EventInterests(This,EventInterestFlags)
- (This)->lpVtbl -> put_EventInterests(This,EventInterestFlags)
- #define ISpeechVoice_put_Priority(This,Priority)
- (This)->lpVtbl -> put_Priority(This,Priority)
- #define ISpeechVoice_get_Priority(This,Priority)
- (This)->lpVtbl -> get_Priority(This,Priority)
- #define ISpeechVoice_put_AlertBoundary(This,Boundary)
- (This)->lpVtbl -> put_AlertBoundary(This,Boundary)
- #define ISpeechVoice_get_AlertBoundary(This,Boundary)
- (This)->lpVtbl -> get_AlertBoundary(This,Boundary)
- #define ISpeechVoice_put_SynchronousSpeakTimeout(This,msTimeout)
- (This)->lpVtbl -> put_SynchronousSpeakTimeout(This,msTimeout)
- #define ISpeechVoice_get_SynchronousSpeakTimeout(This,msTimeout)
- (This)->lpVtbl -> get_SynchronousSpeakTimeout(This,msTimeout)
- #define ISpeechVoice_Speak(This,Text,Flags,StreamNumber)
- (This)->lpVtbl -> Speak(This,Text,Flags,StreamNumber)
- #define ISpeechVoice_SpeakStream(This,Stream,Flags,StreamNumber)
- (This)->lpVtbl -> SpeakStream(This,Stream,Flags,StreamNumber)
- #define ISpeechVoice_Pause(This)
- (This)->lpVtbl -> Pause(This)
- #define ISpeechVoice_Resume(This)
- (This)->lpVtbl -> Resume(This)
- #define ISpeechVoice_Skip(This,Type,NumItems,NumSkipped)
- (This)->lpVtbl -> Skip(This,Type,NumItems,NumSkipped)
- #define ISpeechVoice_GetVoices(This,RequiredAttributes,OptionalAttributes,ObjectTokens)
- (This)->lpVtbl -> GetVoices(This,RequiredAttributes,OptionalAttributes,ObjectTokens)
- #define ISpeechVoice_GetAudioOutputs(This,RequiredAttributes,OptionalAttributes,ObjectTokens)
- (This)->lpVtbl -> GetAudioOutputs(This,RequiredAttributes,OptionalAttributes,ObjectTokens)
- #define ISpeechVoice_WaitUntilDone(This,msTimeout,Done)
- (This)->lpVtbl -> WaitUntilDone(This,msTimeout,Done)
- #define ISpeechVoice_SpeakCompleteEvent(This,Handle)
- (This)->lpVtbl -> SpeakCompleteEvent(This,Handle)
- #define ISpeechVoice_IsUISupported(This,TypeOfUI,ExtraData,Supported)
- (This)->lpVtbl -> IsUISupported(This,TypeOfUI,ExtraData,Supported)
- #define ISpeechVoice_DisplayUI(This,hWndParent,Title,TypeOfUI,ExtraData)
- (This)->lpVtbl -> DisplayUI(This,hWndParent,Title,TypeOfUI,ExtraData)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_get_Status_Proxy(
- ISpeechVoice * This,
- /* [retval][out] */ ISpeechVoiceStatus **Status);
- void __RPC_STUB ISpeechVoice_get_Status_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_get_Voice_Proxy(
- ISpeechVoice * This,
- /* [retval][out] */ ISpeechObjectToken **Voice);
- void __RPC_STUB ISpeechVoice_get_Voice_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_putref_Voice_Proxy(
- ISpeechVoice * This,
- /* [in] */ ISpeechObjectToken *Voice);
- void __RPC_STUB ISpeechVoice_putref_Voice_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_get_AudioOutput_Proxy(
- ISpeechVoice * This,
- /* [retval][out] */ ISpeechObjectToken **AudioOutput);
- void __RPC_STUB ISpeechVoice_get_AudioOutput_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_putref_AudioOutput_Proxy(
- ISpeechVoice * This,
- /* [in] */ ISpeechObjectToken *AudioOutput);
- void __RPC_STUB ISpeechVoice_putref_AudioOutput_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_get_AudioOutputStream_Proxy(
- ISpeechVoice * This,
- /* [retval][out] */ ISpeechBaseStream **AudioOutputStream);
- void __RPC_STUB ISpeechVoice_get_AudioOutputStream_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_putref_AudioOutputStream_Proxy(
- ISpeechVoice * This,
- /* [in] */ ISpeechBaseStream *AudioOutputStream);
- void __RPC_STUB ISpeechVoice_putref_AudioOutputStream_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_get_Rate_Proxy(
- ISpeechVoice * This,
- /* [retval][out] */ long *Rate);
- void __RPC_STUB ISpeechVoice_get_Rate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_put_Rate_Proxy(
- ISpeechVoice * This,
- /* [in] */ long Rate);
- void __RPC_STUB ISpeechVoice_put_Rate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_get_Volume_Proxy(
- ISpeechVoice * This,
- /* [retval][out] */ long *Volume);
- void __RPC_STUB ISpeechVoice_get_Volume_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_put_Volume_Proxy(
- ISpeechVoice * This,
- /* [in] */ long Volume);
- void __RPC_STUB ISpeechVoice_put_Volume_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][hidden][propput] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_put_AllowAudioOutputFormatChangesOnNextSet_Proxy(
- ISpeechVoice * This,
- /* [in] */ VARIANT_BOOL Allow);
- void __RPC_STUB ISpeechVoice_put_AllowAudioOutputFormatChangesOnNextSet_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][hidden][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_get_AllowAudioOutputFormatChangesOnNextSet_Proxy(
- ISpeechVoice * This,
- /* [retval][out] */ VARIANT_BOOL *Allow);
- void __RPC_STUB ISpeechVoice_get_AllowAudioOutputFormatChangesOnNextSet_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_get_EventInterests_Proxy(
- ISpeechVoice * This,
- /* [retval][out] */ SpeechVoiceEvents *EventInterestFlags);
- void __RPC_STUB ISpeechVoice_get_EventInterests_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_put_EventInterests_Proxy(
- ISpeechVoice * This,
- /* [in] */ SpeechVoiceEvents EventInterestFlags);
- void __RPC_STUB ISpeechVoice_put_EventInterests_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_put_Priority_Proxy(
- ISpeechVoice * This,
- /* [in] */ SpeechVoicePriority Priority);
- void __RPC_STUB ISpeechVoice_put_Priority_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_get_Priority_Proxy(
- ISpeechVoice * This,
- /* [retval][out] */ SpeechVoicePriority *Priority);
- void __RPC_STUB ISpeechVoice_get_Priority_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_put_AlertBoundary_Proxy(
- ISpeechVoice * This,
- /* [in] */ SpeechVoiceEvents Boundary);
- void __RPC_STUB ISpeechVoice_put_AlertBoundary_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_get_AlertBoundary_Proxy(
- ISpeechVoice * This,
- /* [retval][out] */ SpeechVoiceEvents *Boundary);
- void __RPC_STUB ISpeechVoice_get_AlertBoundary_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_put_SynchronousSpeakTimeout_Proxy(
- ISpeechVoice * This,
- /* [in] */ long msTimeout);
- void __RPC_STUB ISpeechVoice_put_SynchronousSpeakTimeout_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_get_SynchronousSpeakTimeout_Proxy(
- ISpeechVoice * This,
- /* [retval][out] */ long *msTimeout);
- void __RPC_STUB ISpeechVoice_get_SynchronousSpeakTimeout_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_Speak_Proxy(
- ISpeechVoice * This,
- /* [in] */ BSTR Text,
- /* [defaultvalue][in] */ SpeechVoiceSpeakFlags Flags,
- /* [retval][out] */ long *StreamNumber);
- void __RPC_STUB ISpeechVoice_Speak_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_SpeakStream_Proxy(
- ISpeechVoice * This,
- /* [in] */ ISpeechBaseStream *Stream,
- /* [defaultvalue][in] */ SpeechVoiceSpeakFlags Flags,
- /* [retval][out] */ long *StreamNumber);
- void __RPC_STUB ISpeechVoice_SpeakStream_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_Pause_Proxy(
- ISpeechVoice * This);
- void __RPC_STUB ISpeechVoice_Pause_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_Resume_Proxy(
- ISpeechVoice * This);
- void __RPC_STUB ISpeechVoice_Resume_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_Skip_Proxy(
- ISpeechVoice * This,
- /* [in] */ const BSTR Type,
- /* [in] */ long NumItems,
- /* [retval][out] */ long *NumSkipped);
- void __RPC_STUB ISpeechVoice_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_GetVoices_Proxy(
- ISpeechVoice * This,
- /* [defaultvalue][in] */ BSTR RequiredAttributes,
- /* [defaultvalue][in] */ BSTR OptionalAttributes,
- /* [retval][out] */ ISpeechObjectTokens **ObjectTokens);
- void __RPC_STUB ISpeechVoice_GetVoices_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_GetAudioOutputs_Proxy(
- ISpeechVoice * This,
- /* [defaultvalue][in] */ BSTR RequiredAttributes,
- /* [defaultvalue][in] */ BSTR OptionalAttributes,
- /* [retval][out] */ ISpeechObjectTokens **ObjectTokens);
- void __RPC_STUB ISpeechVoice_GetAudioOutputs_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_WaitUntilDone_Proxy(
- ISpeechVoice * This,
- /* [in] */ long msTimeout,
- /* [retval][out] */ VARIANT_BOOL *Done);
- void __RPC_STUB ISpeechVoice_WaitUntilDone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_SpeakCompleteEvent_Proxy(
- ISpeechVoice * This,
- /* [retval][out] */ long *Handle);
- void __RPC_STUB ISpeechVoice_SpeakCompleteEvent_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_IsUISupported_Proxy(
- ISpeechVoice * This,
- /* [in] */ const BSTR TypeOfUI,
- /* [defaultvalue][in] */ const VARIANT *ExtraData,
- /* [retval][out] */ VARIANT_BOOL *Supported);
- void __RPC_STUB ISpeechVoice_IsUISupported_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechVoice_DisplayUI_Proxy(
- ISpeechVoice * This,
- /* [in] */ long hWndParent,
- /* [in] */ BSTR Title,
- /* [in] */ const BSTR TypeOfUI,
- /* [defaultvalue][in] */ const VARIANT *ExtraData);
- void __RPC_STUB ISpeechVoice_DisplayUI_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechVoice_INTERFACE_DEFINED__ */
- #ifndef __ISpeechVoiceStatus_INTERFACE_DEFINED__
- #define __ISpeechVoiceStatus_INTERFACE_DEFINED__
- /* interface ISpeechVoiceStatus */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechVoiceStatus;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("8BE47B07-57F6-11d2-9EEE-00C04F797396")
- ISpeechVoiceStatus : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentStreamNumber(
- /* [retval][out] */ long *StreamNumber) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_LastStreamNumberQueued(
- /* [retval][out] */ long *StreamNumber) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_LastHResult(
- /* [retval][out] */ long *HResult) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_RunningState(
- /* [retval][out] */ SpeechRunState *State) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_InputWordPosition(
- /* [retval][out] */ long *Position) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_InputWordLength(
- /* [retval][out] */ long *Length) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_InputSentencePosition(
- /* [retval][out] */ long *Position) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_InputSentenceLength(
- /* [retval][out] */ long *Length) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_LastBookmark(
- /* [retval][out] */ BSTR *Bookmark) = 0;
-
- virtual /* [hidden][id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_LastBookmarkId(
- /* [retval][out] */ long *BookmarkId) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_PhonemeId(
- /* [retval][out] */ short *PhoneId) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_VisemeId(
- /* [retval][out] */ short *VisemeId) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechVoiceStatusVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechVoiceStatus * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechVoiceStatus * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechVoiceStatus * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechVoiceStatus * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechVoiceStatus * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechVoiceStatus * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechVoiceStatus * 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_CurrentStreamNumber )(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ long *StreamNumber);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastStreamNumberQueued )(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ long *StreamNumber);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastHResult )(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ long *HResult);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RunningState )(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ SpeechRunState *State);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InputWordPosition )(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ long *Position);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InputWordLength )(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ long *Length);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InputSentencePosition )(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ long *Position);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InputSentenceLength )(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ long *Length);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastBookmark )(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ BSTR *Bookmark);
-
- /* [hidden][id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastBookmarkId )(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ long *BookmarkId);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PhonemeId )(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ short *PhoneId);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_VisemeId )(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ short *VisemeId);
-
- END_INTERFACE
- } ISpeechVoiceStatusVtbl;
- interface ISpeechVoiceStatus
- {
- CONST_VTBL struct ISpeechVoiceStatusVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechVoiceStatus_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechVoiceStatus_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechVoiceStatus_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechVoiceStatus_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechVoiceStatus_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechVoiceStatus_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechVoiceStatus_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechVoiceStatus_get_CurrentStreamNumber(This,StreamNumber)
- (This)->lpVtbl -> get_CurrentStreamNumber(This,StreamNumber)
- #define ISpeechVoiceStatus_get_LastStreamNumberQueued(This,StreamNumber)
- (This)->lpVtbl -> get_LastStreamNumberQueued(This,StreamNumber)
- #define ISpeechVoiceStatus_get_LastHResult(This,HResult)
- (This)->lpVtbl -> get_LastHResult(This,HResult)
- #define ISpeechVoiceStatus_get_RunningState(This,State)
- (This)->lpVtbl -> get_RunningState(This,State)
- #define ISpeechVoiceStatus_get_InputWordPosition(This,Position)
- (This)->lpVtbl -> get_InputWordPosition(This,Position)
- #define ISpeechVoiceStatus_get_InputWordLength(This,Length)
- (This)->lpVtbl -> get_InputWordLength(This,Length)
- #define ISpeechVoiceStatus_get_InputSentencePosition(This,Position)
- (This)->lpVtbl -> get_InputSentencePosition(This,Position)
- #define ISpeechVoiceStatus_get_InputSentenceLength(This,Length)
- (This)->lpVtbl -> get_InputSentenceLength(This,Length)
- #define ISpeechVoiceStatus_get_LastBookmark(This,Bookmark)
- (This)->lpVtbl -> get_LastBookmark(This,Bookmark)
- #define ISpeechVoiceStatus_get_LastBookmarkId(This,BookmarkId)
- (This)->lpVtbl -> get_LastBookmarkId(This,BookmarkId)
- #define ISpeechVoiceStatus_get_PhonemeId(This,PhoneId)
- (This)->lpVtbl -> get_PhonemeId(This,PhoneId)
- #define ISpeechVoiceStatus_get_VisemeId(This,VisemeId)
- (This)->lpVtbl -> get_VisemeId(This,VisemeId)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoiceStatus_get_CurrentStreamNumber_Proxy(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ long *StreamNumber);
- void __RPC_STUB ISpeechVoiceStatus_get_CurrentStreamNumber_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoiceStatus_get_LastStreamNumberQueued_Proxy(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ long *StreamNumber);
- void __RPC_STUB ISpeechVoiceStatus_get_LastStreamNumberQueued_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoiceStatus_get_LastHResult_Proxy(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ long *HResult);
- void __RPC_STUB ISpeechVoiceStatus_get_LastHResult_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoiceStatus_get_RunningState_Proxy(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ SpeechRunState *State);
- void __RPC_STUB ISpeechVoiceStatus_get_RunningState_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoiceStatus_get_InputWordPosition_Proxy(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ long *Position);
- void __RPC_STUB ISpeechVoiceStatus_get_InputWordPosition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoiceStatus_get_InputWordLength_Proxy(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ long *Length);
- void __RPC_STUB ISpeechVoiceStatus_get_InputWordLength_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoiceStatus_get_InputSentencePosition_Proxy(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ long *Position);
- void __RPC_STUB ISpeechVoiceStatus_get_InputSentencePosition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoiceStatus_get_InputSentenceLength_Proxy(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ long *Length);
- void __RPC_STUB ISpeechVoiceStatus_get_InputSentenceLength_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoiceStatus_get_LastBookmark_Proxy(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ BSTR *Bookmark);
- void __RPC_STUB ISpeechVoiceStatus_get_LastBookmark_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [hidden][id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoiceStatus_get_LastBookmarkId_Proxy(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ long *BookmarkId);
- void __RPC_STUB ISpeechVoiceStatus_get_LastBookmarkId_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoiceStatus_get_PhonemeId_Proxy(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ short *PhoneId);
- void __RPC_STUB ISpeechVoiceStatus_get_PhonemeId_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechVoiceStatus_get_VisemeId_Proxy(
- ISpeechVoiceStatus * This,
- /* [retval][out] */ short *VisemeId);
- void __RPC_STUB ISpeechVoiceStatus_get_VisemeId_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechVoiceStatus_INTERFACE_DEFINED__ */
- #ifndef ___ISpeechVoiceEvents_DISPINTERFACE_DEFINED__
- #define ___ISpeechVoiceEvents_DISPINTERFACE_DEFINED__
- /* dispinterface _ISpeechVoiceEvents */
- /* [uuid] */
- EXTERN_C const IID DIID__ISpeechVoiceEvents;
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("A372ACD1-3BEF-4bbd-8FFB-CB3E2B416AF8")
- _ISpeechVoiceEvents : public IDispatch
- {
- };
-
- #else /* C style interface */
- typedef struct _ISpeechVoiceEventsVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- _ISpeechVoiceEvents * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- _ISpeechVoiceEvents * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- _ISpeechVoiceEvents * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- _ISpeechVoiceEvents * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- _ISpeechVoiceEvents * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- _ISpeechVoiceEvents * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- _ISpeechVoiceEvents * 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
- } _ISpeechVoiceEventsVtbl;
- interface _ISpeechVoiceEvents
- {
- CONST_VTBL struct _ISpeechVoiceEventsVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define _ISpeechVoiceEvents_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define _ISpeechVoiceEvents_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define _ISpeechVoiceEvents_Release(This)
- (This)->lpVtbl -> Release(This)
- #define _ISpeechVoiceEvents_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define _ISpeechVoiceEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define _ISpeechVoiceEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define _ISpeechVoiceEvents_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 /* ___ISpeechVoiceEvents_DISPINTERFACE_DEFINED__ */
- #ifndef __ISpeechRecognizer_INTERFACE_DEFINED__
- #define __ISpeechRecognizer_INTERFACE_DEFINED__
- /* interface ISpeechRecognizer */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechRecognizer;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("2D5F1C0C-BD75-4b08-9478-3B11FEA2586C")
- ISpeechRecognizer : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE putref_Recognizer(
- /* [in] */ ISpeechObjectToken *Recognizer) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Recognizer(
- /* [retval][out] */ ISpeechObjectToken **Recognizer) = 0;
-
- virtual /* [id][helpstring][hidden][propput] */ HRESULT STDMETHODCALLTYPE put_AllowAudioInputFormatChangesOnNextSet(
- /* [in] */ VARIANT_BOOL Allow) = 0;
-
- virtual /* [id][helpstring][hidden][propget] */ HRESULT STDMETHODCALLTYPE get_AllowAudioInputFormatChangesOnNextSet(
- /* [retval][out] */ VARIANT_BOOL *Allow) = 0;
-
- virtual /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE putref_AudioInput(
- /* [defaultvalue][in] */ ISpeechObjectToken *AudioInput = 0) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AudioInput(
- /* [retval][out] */ ISpeechObjectToken **AudioInput) = 0;
-
- virtual /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE putref_AudioInputStream(
- /* [defaultvalue][in] */ ISpeechBaseStream *AudioInputStream = 0) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AudioInputStream(
- /* [retval][out] */ ISpeechBaseStream **AudioInputStream) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_IsShared(
- /* [retval][out] */ VARIANT_BOOL *Shared) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_State(
- /* [in] */ SpeechRecognizerState State) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_State(
- /* [retval][out] */ SpeechRecognizerState *State) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Status(
- /* [retval][out] */ ISpeechRecognizerStatus **Status) = 0;
-
- virtual /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE putref_Profile(
- /* [defaultvalue][in] */ ISpeechObjectToken *Profile = 0) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Profile(
- /* [retval][out] */ ISpeechObjectToken **Profile) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE EmulateRecognition(
- /* [in] */ VARIANT TextElements,
- /* [defaultvalue][in] */ VARIANT *ElementDisplayAttributes = 0,
- /* [defaultvalue][in] */ long LanguageId = 0) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE CreateRecoContext(
- /* [retval][out] */ ISpeechRecoContext **NewContext) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE GetFormat(
- /* [in] */ SpeechFormatType Type,
- /* [retval][out] */ ISpeechAudioFormat **Format) = 0;
-
- virtual /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE SetPropertyNumber(
- /* [in] */ const BSTR Name,
- /* [in] */ long Value,
- /* [retval][out] */ VARIANT_BOOL *Supported) = 0;
-
- virtual /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE GetPropertyNumber(
- /* [in] */ const BSTR Name,
- /* [out][in] */ long *Value,
- /* [retval][out] */ VARIANT_BOOL *Supported) = 0;
-
- virtual /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE SetPropertyString(
- /* [in] */ const BSTR Name,
- /* [in] */ const BSTR Value,
- /* [retval][out] */ VARIANT_BOOL *Supported) = 0;
-
- virtual /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE GetPropertyString(
- /* [in] */ const BSTR Name,
- /* [out][in] */ BSTR *Value,
- /* [retval][out] */ VARIANT_BOOL *Supported) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE IsUISupported(
- /* [in] */ const BSTR TypeOfUI,
- /* [defaultvalue][in] */ const VARIANT *ExtraData,
- /* [retval][out] */ VARIANT_BOOL *Supported) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE DisplayUI(
- /* [in] */ long hWndParent,
- /* [in] */ BSTR Title,
- /* [in] */ const BSTR TypeOfUI,
- /* [defaultvalue][in] */ const VARIANT *ExtraData = 0) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE GetRecognizers(
- /* [defaultvalue][in] */ BSTR RequiredAttributes,
- /* [defaultvalue][in] */ BSTR OptionalAttributes,
- /* [retval][out] */ ISpeechObjectTokens **ObjectTokens) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE GetAudioInputs(
- /* [defaultvalue][in] */ BSTR RequiredAttributes,
- /* [defaultvalue][in] */ BSTR OptionalAttributes,
- /* [retval][out] */ ISpeechObjectTokens **ObjectTokens) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE GetProfiles(
- /* [defaultvalue][in] */ BSTR RequiredAttributes,
- /* [defaultvalue][in] */ BSTR OptionalAttributes,
- /* [retval][out] */ ISpeechObjectTokens **ObjectTokens) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechRecognizerVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechRecognizer * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechRecognizer * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechRecognizer * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechRecognizer * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechRecognizer * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechRecognizer * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechRecognizer * 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][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_Recognizer )(
- ISpeechRecognizer * This,
- /* [in] */ ISpeechObjectToken *Recognizer);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Recognizer )(
- ISpeechRecognizer * This,
- /* [retval][out] */ ISpeechObjectToken **Recognizer);
-
- /* [id][helpstring][hidden][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AllowAudioInputFormatChangesOnNextSet )(
- ISpeechRecognizer * This,
- /* [in] */ VARIANT_BOOL Allow);
-
- /* [id][helpstring][hidden][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AllowAudioInputFormatChangesOnNextSet )(
- ISpeechRecognizer * This,
- /* [retval][out] */ VARIANT_BOOL *Allow);
-
- /* [id][helpstring][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_AudioInput )(
- ISpeechRecognizer * This,
- /* [defaultvalue][in] */ ISpeechObjectToken *AudioInput);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AudioInput )(
- ISpeechRecognizer * This,
- /* [retval][out] */ ISpeechObjectToken **AudioInput);
-
- /* [id][helpstring][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_AudioInputStream )(
- ISpeechRecognizer * This,
- /* [defaultvalue][in] */ ISpeechBaseStream *AudioInputStream);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AudioInputStream )(
- ISpeechRecognizer * This,
- /* [retval][out] */ ISpeechBaseStream **AudioInputStream);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsShared )(
- ISpeechRecognizer * This,
- /* [retval][out] */ VARIANT_BOOL *Shared);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_State )(
- ISpeechRecognizer * This,
- /* [in] */ SpeechRecognizerState State);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
- ISpeechRecognizer * This,
- /* [retval][out] */ SpeechRecognizerState *State);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Status )(
- ISpeechRecognizer * This,
- /* [retval][out] */ ISpeechRecognizerStatus **Status);
-
- /* [id][helpstring][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_Profile )(
- ISpeechRecognizer * This,
- /* [defaultvalue][in] */ ISpeechObjectToken *Profile);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Profile )(
- ISpeechRecognizer * This,
- /* [retval][out] */ ISpeechObjectToken **Profile);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *EmulateRecognition )(
- ISpeechRecognizer * This,
- /* [in] */ VARIANT TextElements,
- /* [defaultvalue][in] */ VARIANT *ElementDisplayAttributes,
- /* [defaultvalue][in] */ long LanguageId);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreateRecoContext )(
- ISpeechRecognizer * This,
- /* [retval][out] */ ISpeechRecoContext **NewContext);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetFormat )(
- ISpeechRecognizer * This,
- /* [in] */ SpeechFormatType Type,
- /* [retval][out] */ ISpeechAudioFormat **Format);
-
- /* [id][hidden][helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetPropertyNumber )(
- ISpeechRecognizer * This,
- /* [in] */ const BSTR Name,
- /* [in] */ long Value,
- /* [retval][out] */ VARIANT_BOOL *Supported);
-
- /* [id][hidden][helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetPropertyNumber )(
- ISpeechRecognizer * This,
- /* [in] */ const BSTR Name,
- /* [out][in] */ long *Value,
- /* [retval][out] */ VARIANT_BOOL *Supported);
-
- /* [id][hidden][helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetPropertyString )(
- ISpeechRecognizer * This,
- /* [in] */ const BSTR Name,
- /* [in] */ const BSTR Value,
- /* [retval][out] */ VARIANT_BOOL *Supported);
-
- /* [id][hidden][helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetPropertyString )(
- ISpeechRecognizer * This,
- /* [in] */ const BSTR Name,
- /* [out][in] */ BSTR *Value,
- /* [retval][out] */ VARIANT_BOOL *Supported);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *IsUISupported )(
- ISpeechRecognizer * This,
- /* [in] */ const BSTR TypeOfUI,
- /* [defaultvalue][in] */ const VARIANT *ExtraData,
- /* [retval][out] */ VARIANT_BOOL *Supported);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *DisplayUI )(
- ISpeechRecognizer * This,
- /* [in] */ long hWndParent,
- /* [in] */ BSTR Title,
- /* [in] */ const BSTR TypeOfUI,
- /* [defaultvalue][in] */ const VARIANT *ExtraData);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetRecognizers )(
- ISpeechRecognizer * This,
- /* [defaultvalue][in] */ BSTR RequiredAttributes,
- /* [defaultvalue][in] */ BSTR OptionalAttributes,
- /* [retval][out] */ ISpeechObjectTokens **ObjectTokens);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetAudioInputs )(
- ISpeechRecognizer * This,
- /* [defaultvalue][in] */ BSTR RequiredAttributes,
- /* [defaultvalue][in] */ BSTR OptionalAttributes,
- /* [retval][out] */ ISpeechObjectTokens **ObjectTokens);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetProfiles )(
- ISpeechRecognizer * This,
- /* [defaultvalue][in] */ BSTR RequiredAttributes,
- /* [defaultvalue][in] */ BSTR OptionalAttributes,
- /* [retval][out] */ ISpeechObjectTokens **ObjectTokens);
-
- END_INTERFACE
- } ISpeechRecognizerVtbl;
- interface ISpeechRecognizer
- {
- CONST_VTBL struct ISpeechRecognizerVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechRecognizer_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechRecognizer_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechRecognizer_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechRecognizer_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechRecognizer_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechRecognizer_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechRecognizer_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechRecognizer_putref_Recognizer(This,Recognizer)
- (This)->lpVtbl -> putref_Recognizer(This,Recognizer)
- #define ISpeechRecognizer_get_Recognizer(This,Recognizer)
- (This)->lpVtbl -> get_Recognizer(This,Recognizer)
- #define ISpeechRecognizer_put_AllowAudioInputFormatChangesOnNextSet(This,Allow)
- (This)->lpVtbl -> put_AllowAudioInputFormatChangesOnNextSet(This,Allow)
- #define ISpeechRecognizer_get_AllowAudioInputFormatChangesOnNextSet(This,Allow)
- (This)->lpVtbl -> get_AllowAudioInputFormatChangesOnNextSet(This,Allow)
- #define ISpeechRecognizer_putref_AudioInput(This,AudioInput)
- (This)->lpVtbl -> putref_AudioInput(This,AudioInput)
- #define ISpeechRecognizer_get_AudioInput(This,AudioInput)
- (This)->lpVtbl -> get_AudioInput(This,AudioInput)
- #define ISpeechRecognizer_putref_AudioInputStream(This,AudioInputStream)
- (This)->lpVtbl -> putref_AudioInputStream(This,AudioInputStream)
- #define ISpeechRecognizer_get_AudioInputStream(This,AudioInputStream)
- (This)->lpVtbl -> get_AudioInputStream(This,AudioInputStream)
- #define ISpeechRecognizer_get_IsShared(This,Shared)
- (This)->lpVtbl -> get_IsShared(This,Shared)
- #define ISpeechRecognizer_put_State(This,State)
- (This)->lpVtbl -> put_State(This,State)
- #define ISpeechRecognizer_get_State(This,State)
- (This)->lpVtbl -> get_State(This,State)
- #define ISpeechRecognizer_get_Status(This,Status)
- (This)->lpVtbl -> get_Status(This,Status)
- #define ISpeechRecognizer_putref_Profile(This,Profile)
- (This)->lpVtbl -> putref_Profile(This,Profile)
- #define ISpeechRecognizer_get_Profile(This,Profile)
- (This)->lpVtbl -> get_Profile(This,Profile)
- #define ISpeechRecognizer_EmulateRecognition(This,TextElements,ElementDisplayAttributes,LanguageId)
- (This)->lpVtbl -> EmulateRecognition(This,TextElements,ElementDisplayAttributes,LanguageId)
- #define ISpeechRecognizer_CreateRecoContext(This,NewContext)
- (This)->lpVtbl -> CreateRecoContext(This,NewContext)
- #define ISpeechRecognizer_GetFormat(This,Type,Format)
- (This)->lpVtbl -> GetFormat(This,Type,Format)
- #define ISpeechRecognizer_SetPropertyNumber(This,Name,Value,Supported)
- (This)->lpVtbl -> SetPropertyNumber(This,Name,Value,Supported)
- #define ISpeechRecognizer_GetPropertyNumber(This,Name,Value,Supported)
- (This)->lpVtbl -> GetPropertyNumber(This,Name,Value,Supported)
- #define ISpeechRecognizer_SetPropertyString(This,Name,Value,Supported)
- (This)->lpVtbl -> SetPropertyString(This,Name,Value,Supported)
- #define ISpeechRecognizer_GetPropertyString(This,Name,Value,Supported)
- (This)->lpVtbl -> GetPropertyString(This,Name,Value,Supported)
- #define ISpeechRecognizer_IsUISupported(This,TypeOfUI,ExtraData,Supported)
- (This)->lpVtbl -> IsUISupported(This,TypeOfUI,ExtraData,Supported)
- #define ISpeechRecognizer_DisplayUI(This,hWndParent,Title,TypeOfUI,ExtraData)
- (This)->lpVtbl -> DisplayUI(This,hWndParent,Title,TypeOfUI,ExtraData)
- #define ISpeechRecognizer_GetRecognizers(This,RequiredAttributes,OptionalAttributes,ObjectTokens)
- (This)->lpVtbl -> GetRecognizers(This,RequiredAttributes,OptionalAttributes,ObjectTokens)
- #define ISpeechRecognizer_GetAudioInputs(This,RequiredAttributes,OptionalAttributes,ObjectTokens)
- (This)->lpVtbl -> GetAudioInputs(This,RequiredAttributes,OptionalAttributes,ObjectTokens)
- #define ISpeechRecognizer_GetProfiles(This,RequiredAttributes,OptionalAttributes,ObjectTokens)
- (This)->lpVtbl -> GetProfiles(This,RequiredAttributes,OptionalAttributes,ObjectTokens)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_putref_Recognizer_Proxy(
- ISpeechRecognizer * This,
- /* [in] */ ISpeechObjectToken *Recognizer);
- void __RPC_STUB ISpeechRecognizer_putref_Recognizer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_get_Recognizer_Proxy(
- ISpeechRecognizer * This,
- /* [retval][out] */ ISpeechObjectToken **Recognizer);
- void __RPC_STUB ISpeechRecognizer_get_Recognizer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][hidden][propput] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_put_AllowAudioInputFormatChangesOnNextSet_Proxy(
- ISpeechRecognizer * This,
- /* [in] */ VARIANT_BOOL Allow);
- void __RPC_STUB ISpeechRecognizer_put_AllowAudioInputFormatChangesOnNextSet_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][hidden][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_get_AllowAudioInputFormatChangesOnNextSet_Proxy(
- ISpeechRecognizer * This,
- /* [retval][out] */ VARIANT_BOOL *Allow);
- void __RPC_STUB ISpeechRecognizer_get_AllowAudioInputFormatChangesOnNextSet_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_putref_AudioInput_Proxy(
- ISpeechRecognizer * This,
- /* [defaultvalue][in] */ ISpeechObjectToken *AudioInput);
- void __RPC_STUB ISpeechRecognizer_putref_AudioInput_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_get_AudioInput_Proxy(
- ISpeechRecognizer * This,
- /* [retval][out] */ ISpeechObjectToken **AudioInput);
- void __RPC_STUB ISpeechRecognizer_get_AudioInput_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_putref_AudioInputStream_Proxy(
- ISpeechRecognizer * This,
- /* [defaultvalue][in] */ ISpeechBaseStream *AudioInputStream);
- void __RPC_STUB ISpeechRecognizer_putref_AudioInputStream_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_get_AudioInputStream_Proxy(
- ISpeechRecognizer * This,
- /* [retval][out] */ ISpeechBaseStream **AudioInputStream);
- void __RPC_STUB ISpeechRecognizer_get_AudioInputStream_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_get_IsShared_Proxy(
- ISpeechRecognizer * This,
- /* [retval][out] */ VARIANT_BOOL *Shared);
- void __RPC_STUB ISpeechRecognizer_get_IsShared_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_put_State_Proxy(
- ISpeechRecognizer * This,
- /* [in] */ SpeechRecognizerState State);
- void __RPC_STUB ISpeechRecognizer_put_State_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_get_State_Proxy(
- ISpeechRecognizer * This,
- /* [retval][out] */ SpeechRecognizerState *State);
- void __RPC_STUB ISpeechRecognizer_get_State_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_get_Status_Proxy(
- ISpeechRecognizer * This,
- /* [retval][out] */ ISpeechRecognizerStatus **Status);
- void __RPC_STUB ISpeechRecognizer_get_Status_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_putref_Profile_Proxy(
- ISpeechRecognizer * This,
- /* [defaultvalue][in] */ ISpeechObjectToken *Profile);
- void __RPC_STUB ISpeechRecognizer_putref_Profile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_get_Profile_Proxy(
- ISpeechRecognizer * This,
- /* [retval][out] */ ISpeechObjectToken **Profile);
- void __RPC_STUB ISpeechRecognizer_get_Profile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_EmulateRecognition_Proxy(
- ISpeechRecognizer * This,
- /* [in] */ VARIANT TextElements,
- /* [defaultvalue][in] */ VARIANT *ElementDisplayAttributes,
- /* [defaultvalue][in] */ long LanguageId);
- void __RPC_STUB ISpeechRecognizer_EmulateRecognition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_CreateRecoContext_Proxy(
- ISpeechRecognizer * This,
- /* [retval][out] */ ISpeechRecoContext **NewContext);
- void __RPC_STUB ISpeechRecognizer_CreateRecoContext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_GetFormat_Proxy(
- ISpeechRecognizer * This,
- /* [in] */ SpeechFormatType Type,
- /* [retval][out] */ ISpeechAudioFormat **Format);
- void __RPC_STUB ISpeechRecognizer_GetFormat_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_SetPropertyNumber_Proxy(
- ISpeechRecognizer * This,
- /* [in] */ const BSTR Name,
- /* [in] */ long Value,
- /* [retval][out] */ VARIANT_BOOL *Supported);
- void __RPC_STUB ISpeechRecognizer_SetPropertyNumber_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_GetPropertyNumber_Proxy(
- ISpeechRecognizer * This,
- /* [in] */ const BSTR Name,
- /* [out][in] */ long *Value,
- /* [retval][out] */ VARIANT_BOOL *Supported);
- void __RPC_STUB ISpeechRecognizer_GetPropertyNumber_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_SetPropertyString_Proxy(
- ISpeechRecognizer * This,
- /* [in] */ const BSTR Name,
- /* [in] */ const BSTR Value,
- /* [retval][out] */ VARIANT_BOOL *Supported);
- void __RPC_STUB ISpeechRecognizer_SetPropertyString_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_GetPropertyString_Proxy(
- ISpeechRecognizer * This,
- /* [in] */ const BSTR Name,
- /* [out][in] */ BSTR *Value,
- /* [retval][out] */ VARIANT_BOOL *Supported);
- void __RPC_STUB ISpeechRecognizer_GetPropertyString_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_IsUISupported_Proxy(
- ISpeechRecognizer * This,
- /* [in] */ const BSTR TypeOfUI,
- /* [defaultvalue][in] */ const VARIANT *ExtraData,
- /* [retval][out] */ VARIANT_BOOL *Supported);
- void __RPC_STUB ISpeechRecognizer_IsUISupported_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_DisplayUI_Proxy(
- ISpeechRecognizer * This,
- /* [in] */ long hWndParent,
- /* [in] */ BSTR Title,
- /* [in] */ const BSTR TypeOfUI,
- /* [defaultvalue][in] */ const VARIANT *ExtraData);
- void __RPC_STUB ISpeechRecognizer_DisplayUI_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_GetRecognizers_Proxy(
- ISpeechRecognizer * This,
- /* [defaultvalue][in] */ BSTR RequiredAttributes,
- /* [defaultvalue][in] */ BSTR OptionalAttributes,
- /* [retval][out] */ ISpeechObjectTokens **ObjectTokens);
- void __RPC_STUB ISpeechRecognizer_GetRecognizers_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_GetAudioInputs_Proxy(
- ISpeechRecognizer * This,
- /* [defaultvalue][in] */ BSTR RequiredAttributes,
- /* [defaultvalue][in] */ BSTR OptionalAttributes,
- /* [retval][out] */ ISpeechObjectTokens **ObjectTokens);
- void __RPC_STUB ISpeechRecognizer_GetAudioInputs_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizer_GetProfiles_Proxy(
- ISpeechRecognizer * This,
- /* [defaultvalue][in] */ BSTR RequiredAttributes,
- /* [defaultvalue][in] */ BSTR OptionalAttributes,
- /* [retval][out] */ ISpeechObjectTokens **ObjectTokens);
- void __RPC_STUB ISpeechRecognizer_GetProfiles_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechRecognizer_INTERFACE_DEFINED__ */
- #ifndef __ISpeechRecognizerStatus_INTERFACE_DEFINED__
- #define __ISpeechRecognizerStatus_INTERFACE_DEFINED__
- /* interface ISpeechRecognizerStatus */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechRecognizerStatus;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("BFF9E781-53EC-484e-BB8A-0E1B5551E35C")
- ISpeechRecognizerStatus : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AudioStatus(
- /* [retval][out] */ ISpeechAudioStatus **AudioStatus) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentStreamPosition(
- /* [retval][out] */ VARIANT *pCurrentStreamPos) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentStreamNumber(
- /* [retval][out] */ long *StreamNumber) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_NumberOfActiveRules(
- /* [retval][out] */ long *NumberOfActiveRules) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ClsidEngine(
- /* [retval][out] */ BSTR *ClsidEngine) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_SupportedLanguages(
- /* [retval][out] */ VARIANT *SupportedLanguages) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechRecognizerStatusVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechRecognizerStatus * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechRecognizerStatus * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechRecognizerStatus * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechRecognizerStatus * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechRecognizerStatus * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechRecognizerStatus * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechRecognizerStatus * 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_AudioStatus )(
- ISpeechRecognizerStatus * This,
- /* [retval][out] */ ISpeechAudioStatus **AudioStatus);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentStreamPosition )(
- ISpeechRecognizerStatus * This,
- /* [retval][out] */ VARIANT *pCurrentStreamPos);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentStreamNumber )(
- ISpeechRecognizerStatus * This,
- /* [retval][out] */ long *StreamNumber);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumberOfActiveRules )(
- ISpeechRecognizerStatus * This,
- /* [retval][out] */ long *NumberOfActiveRules);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ClsidEngine )(
- ISpeechRecognizerStatus * This,
- /* [retval][out] */ BSTR *ClsidEngine);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SupportedLanguages )(
- ISpeechRecognizerStatus * This,
- /* [retval][out] */ VARIANT *SupportedLanguages);
-
- END_INTERFACE
- } ISpeechRecognizerStatusVtbl;
- interface ISpeechRecognizerStatus
- {
- CONST_VTBL struct ISpeechRecognizerStatusVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechRecognizerStatus_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechRecognizerStatus_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechRecognizerStatus_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechRecognizerStatus_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechRecognizerStatus_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechRecognizerStatus_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechRecognizerStatus_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechRecognizerStatus_get_AudioStatus(This,AudioStatus)
- (This)->lpVtbl -> get_AudioStatus(This,AudioStatus)
- #define ISpeechRecognizerStatus_get_CurrentStreamPosition(This,pCurrentStreamPos)
- (This)->lpVtbl -> get_CurrentStreamPosition(This,pCurrentStreamPos)
- #define ISpeechRecognizerStatus_get_CurrentStreamNumber(This,StreamNumber)
- (This)->lpVtbl -> get_CurrentStreamNumber(This,StreamNumber)
- #define ISpeechRecognizerStatus_get_NumberOfActiveRules(This,NumberOfActiveRules)
- (This)->lpVtbl -> get_NumberOfActiveRules(This,NumberOfActiveRules)
- #define ISpeechRecognizerStatus_get_ClsidEngine(This,ClsidEngine)
- (This)->lpVtbl -> get_ClsidEngine(This,ClsidEngine)
- #define ISpeechRecognizerStatus_get_SupportedLanguages(This,SupportedLanguages)
- (This)->lpVtbl -> get_SupportedLanguages(This,SupportedLanguages)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizerStatus_get_AudioStatus_Proxy(
- ISpeechRecognizerStatus * This,
- /* [retval][out] */ ISpeechAudioStatus **AudioStatus);
- void __RPC_STUB ISpeechRecognizerStatus_get_AudioStatus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizerStatus_get_CurrentStreamPosition_Proxy(
- ISpeechRecognizerStatus * This,
- /* [retval][out] */ VARIANT *pCurrentStreamPos);
- void __RPC_STUB ISpeechRecognizerStatus_get_CurrentStreamPosition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizerStatus_get_CurrentStreamNumber_Proxy(
- ISpeechRecognizerStatus * This,
- /* [retval][out] */ long *StreamNumber);
- void __RPC_STUB ISpeechRecognizerStatus_get_CurrentStreamNumber_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizerStatus_get_NumberOfActiveRules_Proxy(
- ISpeechRecognizerStatus * This,
- /* [retval][out] */ long *NumberOfActiveRules);
- void __RPC_STUB ISpeechRecognizerStatus_get_NumberOfActiveRules_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizerStatus_get_ClsidEngine_Proxy(
- ISpeechRecognizerStatus * This,
- /* [retval][out] */ BSTR *ClsidEngine);
- void __RPC_STUB ISpeechRecognizerStatus_get_ClsidEngine_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecognizerStatus_get_SupportedLanguages_Proxy(
- ISpeechRecognizerStatus * This,
- /* [retval][out] */ VARIANT *SupportedLanguages);
- void __RPC_STUB ISpeechRecognizerStatus_get_SupportedLanguages_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechRecognizerStatus_INTERFACE_DEFINED__ */
- #ifndef __ISpeechRecoContext_INTERFACE_DEFINED__
- #define __ISpeechRecoContext_INTERFACE_DEFINED__
- /* interface ISpeechRecoContext */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechRecoContext;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("580AA49D-7E1E-4809-B8E2-57DA806104B8")
- ISpeechRecoContext : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Recognizer(
- /* [retval][out] */ ISpeechRecognizer **Recognizer) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AudioInputInterferenceStatus(
- /* [retval][out] */ SpeechInterference *Interference) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_RequestedUIType(
- /* [retval][out] */ BSTR *UIType) = 0;
-
- virtual /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE putref_Voice(
- /* [in] */ ISpeechVoice *Voice) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Voice(
- /* [retval][out] */ ISpeechVoice **Voice) = 0;
-
- virtual /* [id][helpstring][hidden][propput] */ HRESULT STDMETHODCALLTYPE put_AllowVoiceFormatMatchingOnNextSet(
- /* [in] */ VARIANT_BOOL Allow) = 0;
-
- virtual /* [id][helpstring][hidden][propget] */ HRESULT STDMETHODCALLTYPE get_AllowVoiceFormatMatchingOnNextSet(
- /* [retval][out] */ VARIANT_BOOL *pAllow) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_VoicePurgeEvent(
- /* [in] */ SpeechRecoEvents EventInterest) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_VoicePurgeEvent(
- /* [retval][out] */ SpeechRecoEvents *EventInterest) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_EventInterests(
- /* [in] */ SpeechRecoEvents EventInterest) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_EventInterests(
- /* [retval][out] */ SpeechRecoEvents *EventInterest) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_CmdMaxAlternates(
- /* [in] */ long MaxAlternates) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_CmdMaxAlternates(
- /* [retval][out] */ long *MaxAlternates) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_State(
- /* [in] */ SpeechRecoContextState State) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_State(
- /* [retval][out] */ SpeechRecoContextState *State) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_RetainedAudio(
- /* [in] */ SpeechRetainedAudioOptions Option) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_RetainedAudio(
- /* [retval][out] */ SpeechRetainedAudioOptions *Option) = 0;
-
- virtual /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE putref_RetainedAudioFormat(
- /* [in] */ ISpeechAudioFormat *Format) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_RetainedAudioFormat(
- /* [retval][out] */ ISpeechAudioFormat **Format) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Pause( void) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Resume( void) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE CreateGrammar(
- /* [defaultvalue][in] */ VARIANT GrammarId,
- /* [retval][out] */ ISpeechRecoGrammar **Grammar) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE CreateResultFromMemory(
- /* [in] */ VARIANT *ResultBlock,
- /* [retval][out] */ ISpeechRecoResult **Result) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Bookmark(
- /* [in] */ SpeechBookmarkOptions Options,
- /* [in] */ VARIANT StreamPos,
- /* [in] */ VARIANT BookmarkId) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE SetAdaptationData(
- /* [in] */ BSTR AdaptationString) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechRecoContextVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechRecoContext * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechRecoContext * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechRecoContext * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechRecoContext * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechRecoContext * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechRecoContext * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechRecoContext * 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_Recognizer )(
- ISpeechRecoContext * This,
- /* [retval][out] */ ISpeechRecognizer **Recognizer);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AudioInputInterferenceStatus )(
- ISpeechRecoContext * This,
- /* [retval][out] */ SpeechInterference *Interference);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RequestedUIType )(
- ISpeechRecoContext * This,
- /* [retval][out] */ BSTR *UIType);
-
- /* [id][helpstring][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_Voice )(
- ISpeechRecoContext * This,
- /* [in] */ ISpeechVoice *Voice);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Voice )(
- ISpeechRecoContext * This,
- /* [retval][out] */ ISpeechVoice **Voice);
-
- /* [id][helpstring][hidden][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AllowVoiceFormatMatchingOnNextSet )(
- ISpeechRecoContext * This,
- /* [in] */ VARIANT_BOOL Allow);
-
- /* [id][helpstring][hidden][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AllowVoiceFormatMatchingOnNextSet )(
- ISpeechRecoContext * This,
- /* [retval][out] */ VARIANT_BOOL *pAllow);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_VoicePurgeEvent )(
- ISpeechRecoContext * This,
- /* [in] */ SpeechRecoEvents EventInterest);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_VoicePurgeEvent )(
- ISpeechRecoContext * This,
- /* [retval][out] */ SpeechRecoEvents *EventInterest);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EventInterests )(
- ISpeechRecoContext * This,
- /* [in] */ SpeechRecoEvents EventInterest);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventInterests )(
- ISpeechRecoContext * This,
- /* [retval][out] */ SpeechRecoEvents *EventInterest);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CmdMaxAlternates )(
- ISpeechRecoContext * This,
- /* [in] */ long MaxAlternates);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CmdMaxAlternates )(
- ISpeechRecoContext * This,
- /* [retval][out] */ long *MaxAlternates);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_State )(
- ISpeechRecoContext * This,
- /* [in] */ SpeechRecoContextState State);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
- ISpeechRecoContext * This,
- /* [retval][out] */ SpeechRecoContextState *State);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RetainedAudio )(
- ISpeechRecoContext * This,
- /* [in] */ SpeechRetainedAudioOptions Option);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RetainedAudio )(
- ISpeechRecoContext * This,
- /* [retval][out] */ SpeechRetainedAudioOptions *Option);
-
- /* [id][helpstring][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_RetainedAudioFormat )(
- ISpeechRecoContext * This,
- /* [in] */ ISpeechAudioFormat *Format);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RetainedAudioFormat )(
- ISpeechRecoContext * This,
- /* [retval][out] */ ISpeechAudioFormat **Format);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Pause )(
- ISpeechRecoContext * This);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Resume )(
- ISpeechRecoContext * This);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreateGrammar )(
- ISpeechRecoContext * This,
- /* [defaultvalue][in] */ VARIANT GrammarId,
- /* [retval][out] */ ISpeechRecoGrammar **Grammar);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreateResultFromMemory )(
- ISpeechRecoContext * This,
- /* [in] */ VARIANT *ResultBlock,
- /* [retval][out] */ ISpeechRecoResult **Result);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Bookmark )(
- ISpeechRecoContext * This,
- /* [in] */ SpeechBookmarkOptions Options,
- /* [in] */ VARIANT StreamPos,
- /* [in] */ VARIANT BookmarkId);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetAdaptationData )(
- ISpeechRecoContext * This,
- /* [in] */ BSTR AdaptationString);
-
- END_INTERFACE
- } ISpeechRecoContextVtbl;
- interface ISpeechRecoContext
- {
- CONST_VTBL struct ISpeechRecoContextVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechRecoContext_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechRecoContext_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechRecoContext_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechRecoContext_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechRecoContext_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechRecoContext_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechRecoContext_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechRecoContext_get_Recognizer(This,Recognizer)
- (This)->lpVtbl -> get_Recognizer(This,Recognizer)
- #define ISpeechRecoContext_get_AudioInputInterferenceStatus(This,Interference)
- (This)->lpVtbl -> get_AudioInputInterferenceStatus(This,Interference)
- #define ISpeechRecoContext_get_RequestedUIType(This,UIType)
- (This)->lpVtbl -> get_RequestedUIType(This,UIType)
- #define ISpeechRecoContext_putref_Voice(This,Voice)
- (This)->lpVtbl -> putref_Voice(This,Voice)
- #define ISpeechRecoContext_get_Voice(This,Voice)
- (This)->lpVtbl -> get_Voice(This,Voice)
- #define ISpeechRecoContext_put_AllowVoiceFormatMatchingOnNextSet(This,Allow)
- (This)->lpVtbl -> put_AllowVoiceFormatMatchingOnNextSet(This,Allow)
- #define ISpeechRecoContext_get_AllowVoiceFormatMatchingOnNextSet(This,pAllow)
- (This)->lpVtbl -> get_AllowVoiceFormatMatchingOnNextSet(This,pAllow)
- #define ISpeechRecoContext_put_VoicePurgeEvent(This,EventInterest)
- (This)->lpVtbl -> put_VoicePurgeEvent(This,EventInterest)
- #define ISpeechRecoContext_get_VoicePurgeEvent(This,EventInterest)
- (This)->lpVtbl -> get_VoicePurgeEvent(This,EventInterest)
- #define ISpeechRecoContext_put_EventInterests(This,EventInterest)
- (This)->lpVtbl -> put_EventInterests(This,EventInterest)
- #define ISpeechRecoContext_get_EventInterests(This,EventInterest)
- (This)->lpVtbl -> get_EventInterests(This,EventInterest)
- #define ISpeechRecoContext_put_CmdMaxAlternates(This,MaxAlternates)
- (This)->lpVtbl -> put_CmdMaxAlternates(This,MaxAlternates)
- #define ISpeechRecoContext_get_CmdMaxAlternates(This,MaxAlternates)
- (This)->lpVtbl -> get_CmdMaxAlternates(This,MaxAlternates)
- #define ISpeechRecoContext_put_State(This,State)
- (This)->lpVtbl -> put_State(This,State)
- #define ISpeechRecoContext_get_State(This,State)
- (This)->lpVtbl -> get_State(This,State)
- #define ISpeechRecoContext_put_RetainedAudio(This,Option)
- (This)->lpVtbl -> put_RetainedAudio(This,Option)
- #define ISpeechRecoContext_get_RetainedAudio(This,Option)
- (This)->lpVtbl -> get_RetainedAudio(This,Option)
- #define ISpeechRecoContext_putref_RetainedAudioFormat(This,Format)
- (This)->lpVtbl -> putref_RetainedAudioFormat(This,Format)
- #define ISpeechRecoContext_get_RetainedAudioFormat(This,Format)
- (This)->lpVtbl -> get_RetainedAudioFormat(This,Format)
- #define ISpeechRecoContext_Pause(This)
- (This)->lpVtbl -> Pause(This)
- #define ISpeechRecoContext_Resume(This)
- (This)->lpVtbl -> Resume(This)
- #define ISpeechRecoContext_CreateGrammar(This,GrammarId,Grammar)
- (This)->lpVtbl -> CreateGrammar(This,GrammarId,Grammar)
- #define ISpeechRecoContext_CreateResultFromMemory(This,ResultBlock,Result)
- (This)->lpVtbl -> CreateResultFromMemory(This,ResultBlock,Result)
- #define ISpeechRecoContext_Bookmark(This,Options,StreamPos,BookmarkId)
- (This)->lpVtbl -> Bookmark(This,Options,StreamPos,BookmarkId)
- #define ISpeechRecoContext_SetAdaptationData(This,AdaptationString)
- (This)->lpVtbl -> SetAdaptationData(This,AdaptationString)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_get_Recognizer_Proxy(
- ISpeechRecoContext * This,
- /* [retval][out] */ ISpeechRecognizer **Recognizer);
- void __RPC_STUB ISpeechRecoContext_get_Recognizer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_get_AudioInputInterferenceStatus_Proxy(
- ISpeechRecoContext * This,
- /* [retval][out] */ SpeechInterference *Interference);
- void __RPC_STUB ISpeechRecoContext_get_AudioInputInterferenceStatus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_get_RequestedUIType_Proxy(
- ISpeechRecoContext * This,
- /* [retval][out] */ BSTR *UIType);
- void __RPC_STUB ISpeechRecoContext_get_RequestedUIType_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_putref_Voice_Proxy(
- ISpeechRecoContext * This,
- /* [in] */ ISpeechVoice *Voice);
- void __RPC_STUB ISpeechRecoContext_putref_Voice_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_get_Voice_Proxy(
- ISpeechRecoContext * This,
- /* [retval][out] */ ISpeechVoice **Voice);
- void __RPC_STUB ISpeechRecoContext_get_Voice_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][hidden][propput] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_put_AllowVoiceFormatMatchingOnNextSet_Proxy(
- ISpeechRecoContext * This,
- /* [in] */ VARIANT_BOOL Allow);
- void __RPC_STUB ISpeechRecoContext_put_AllowVoiceFormatMatchingOnNextSet_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][hidden][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_get_AllowVoiceFormatMatchingOnNextSet_Proxy(
- ISpeechRecoContext * This,
- /* [retval][out] */ VARIANT_BOOL *pAllow);
- void __RPC_STUB ISpeechRecoContext_get_AllowVoiceFormatMatchingOnNextSet_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_put_VoicePurgeEvent_Proxy(
- ISpeechRecoContext * This,
- /* [in] */ SpeechRecoEvents EventInterest);
- void __RPC_STUB ISpeechRecoContext_put_VoicePurgeEvent_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_get_VoicePurgeEvent_Proxy(
- ISpeechRecoContext * This,
- /* [retval][out] */ SpeechRecoEvents *EventInterest);
- void __RPC_STUB ISpeechRecoContext_get_VoicePurgeEvent_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_put_EventInterests_Proxy(
- ISpeechRecoContext * This,
- /* [in] */ SpeechRecoEvents EventInterest);
- void __RPC_STUB ISpeechRecoContext_put_EventInterests_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_get_EventInterests_Proxy(
- ISpeechRecoContext * This,
- /* [retval][out] */ SpeechRecoEvents *EventInterest);
- void __RPC_STUB ISpeechRecoContext_get_EventInterests_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_put_CmdMaxAlternates_Proxy(
- ISpeechRecoContext * This,
- /* [in] */ long MaxAlternates);
- void __RPC_STUB ISpeechRecoContext_put_CmdMaxAlternates_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_get_CmdMaxAlternates_Proxy(
- ISpeechRecoContext * This,
- /* [retval][out] */ long *MaxAlternates);
- void __RPC_STUB ISpeechRecoContext_get_CmdMaxAlternates_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_put_State_Proxy(
- ISpeechRecoContext * This,
- /* [in] */ SpeechRecoContextState State);
- void __RPC_STUB ISpeechRecoContext_put_State_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_get_State_Proxy(
- ISpeechRecoContext * This,
- /* [retval][out] */ SpeechRecoContextState *State);
- void __RPC_STUB ISpeechRecoContext_get_State_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_put_RetainedAudio_Proxy(
- ISpeechRecoContext * This,
- /* [in] */ SpeechRetainedAudioOptions Option);
- void __RPC_STUB ISpeechRecoContext_put_RetainedAudio_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_get_RetainedAudio_Proxy(
- ISpeechRecoContext * This,
- /* [retval][out] */ SpeechRetainedAudioOptions *Option);
- void __RPC_STUB ISpeechRecoContext_get_RetainedAudio_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_putref_RetainedAudioFormat_Proxy(
- ISpeechRecoContext * This,
- /* [in] */ ISpeechAudioFormat *Format);
- void __RPC_STUB ISpeechRecoContext_putref_RetainedAudioFormat_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_get_RetainedAudioFormat_Proxy(
- ISpeechRecoContext * This,
- /* [retval][out] */ ISpeechAudioFormat **Format);
- void __RPC_STUB ISpeechRecoContext_get_RetainedAudioFormat_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_Pause_Proxy(
- ISpeechRecoContext * This);
- void __RPC_STUB ISpeechRecoContext_Pause_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_Resume_Proxy(
- ISpeechRecoContext * This);
- void __RPC_STUB ISpeechRecoContext_Resume_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_CreateGrammar_Proxy(
- ISpeechRecoContext * This,
- /* [defaultvalue][in] */ VARIANT GrammarId,
- /* [retval][out] */ ISpeechRecoGrammar **Grammar);
- void __RPC_STUB ISpeechRecoContext_CreateGrammar_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_CreateResultFromMemory_Proxy(
- ISpeechRecoContext * This,
- /* [in] */ VARIANT *ResultBlock,
- /* [retval][out] */ ISpeechRecoResult **Result);
- void __RPC_STUB ISpeechRecoContext_CreateResultFromMemory_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_Bookmark_Proxy(
- ISpeechRecoContext * This,
- /* [in] */ SpeechBookmarkOptions Options,
- /* [in] */ VARIANT StreamPos,
- /* [in] */ VARIANT BookmarkId);
- void __RPC_STUB ISpeechRecoContext_Bookmark_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechRecoContext_SetAdaptationData_Proxy(
- ISpeechRecoContext * This,
- /* [in] */ BSTR AdaptationString);
- void __RPC_STUB ISpeechRecoContext_SetAdaptationData_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechRecoContext_INTERFACE_DEFINED__ */
- #ifndef __ISpeechRecoGrammar_INTERFACE_DEFINED__
- #define __ISpeechRecoGrammar_INTERFACE_DEFINED__
- /* interface ISpeechRecoGrammar */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechRecoGrammar;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("B6D6F79F-2158-4e50-B5BC-9A9CCD852A09")
- ISpeechRecoGrammar : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Id(
- /* [retval][out] */ VARIANT *Id) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_RecoContext(
- /* [retval][out] */ ISpeechRecoContext **RecoContext) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_State(
- /* [in] */ SpeechGrammarState State) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_State(
- /* [retval][out] */ SpeechGrammarState *State) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Rules(
- /* [retval][out] */ ISpeechGrammarRules **Rules) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Reset(
- /* [defaultvalue][in] */ SpeechLanguageId NewLanguage = 0) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE CmdLoadFromFile(
- /* [in] */ const BSTR FileName,
- /* [defaultvalue][in] */ SpeechLoadOption LoadOption = SLOStatic) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE CmdLoadFromObject(
- /* [in] */ const BSTR ClassId,
- /* [in] */ const BSTR GrammarName,
- /* [defaultvalue][in] */ SpeechLoadOption LoadOption = SLOStatic) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE CmdLoadFromResource(
- /* [in] */ long hModule,
- /* [in] */ VARIANT ResourceName,
- /* [in] */ VARIANT ResourceType,
- /* [in] */ SpeechLanguageId LanguageId,
- /* [defaultvalue][in] */ SpeechLoadOption LoadOption = SLOStatic) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE CmdLoadFromMemory(
- /* [in] */ VARIANT GrammarData,
- /* [defaultvalue][in] */ SpeechLoadOption LoadOption = SLOStatic) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE CmdLoadFromProprietaryGrammar(
- /* [in] */ const BSTR ProprietaryGuid,
- /* [in] */ const BSTR ProprietaryString,
- /* [in] */ VARIANT ProprietaryData,
- /* [defaultvalue][in] */ SpeechLoadOption LoadOption = SLOStatic) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE CmdSetRuleState(
- /* [in] */ const BSTR Name,
- /* [in] */ SpeechRuleState State) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE CmdSetRuleIdState(
- /* [in] */ long RuleId,
- /* [in] */ SpeechRuleState State) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE DictationLoad(
- /* [defaultvalue][in] */ const BSTR TopicName = L"",
- /* [defaultvalue][in] */ SpeechLoadOption LoadOption = SLOStatic) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE DictationUnload( void) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE DictationSetState(
- /* [in] */ SpeechRuleState State) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE SetWordSequenceData(
- /* [in] */ const BSTR Text,
- /* [in] */ long TextLength,