sapi.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:856k
- DISPID_SRCERecognition = DISPID_SRCEPhraseStart + 1,
- DISPID_SRCEHypothesis = DISPID_SRCERecognition + 1,
- DISPID_SRCEPropertyNumberChange = DISPID_SRCEHypothesis + 1,
- DISPID_SRCEPropertyStringChange = DISPID_SRCEPropertyNumberChange + 1,
- DISPID_SRCEFalseRecognition = DISPID_SRCEPropertyStringChange + 1,
- DISPID_SRCEInterference = DISPID_SRCEFalseRecognition + 1,
- DISPID_SRCERequestUI = DISPID_SRCEInterference + 1,
- DISPID_SRCERecognizerStateChange = DISPID_SRCERequestUI + 1,
- DISPID_SRCEAdaptation = DISPID_SRCERecognizerStateChange + 1,
- DISPID_SRCERecognitionForOtherContext = DISPID_SRCEAdaptation + 1,
- DISPID_SRCEAudioLevel = DISPID_SRCERecognitionForOtherContext + 1,
- DISPID_SRCEEnginePrivate = DISPID_SRCEAudioLevel + 1
- } DISPID_SpeechRecoContextEvents;
- typedef
- enum SpeechRecognitionType
- { SRTStandard = 0,
- SRTAutopause = SPREF_AutoPause,
- SRTEmulated = SPREF_Emulated
- } SpeechRecognitionType;
- typedef /* [hidden] */
- enum DISPID_SpeechGrammarRule
- { DISPID_SGRAttributes = 1,
- DISPID_SGRInitialState = DISPID_SGRAttributes + 1,
- DISPID_SGRName = DISPID_SGRInitialState + 1,
- DISPID_SGRId = DISPID_SGRName + 1,
- DISPID_SGRClear = DISPID_SGRId + 1,
- DISPID_SGRAddResource = DISPID_SGRClear + 1,
- DISPID_SGRAddState = DISPID_SGRAddResource + 1
- } DISPID_SpeechGrammarRule;
- typedef /* [hidden] */
- enum DISPID_SpeechGrammarRules
- { DISPID_SGRsCount = 1,
- DISPID_SGRsDynamic = DISPID_SGRsCount + 1,
- DISPID_SGRsAdd = DISPID_SGRsDynamic + 1,
- DISPID_SGRsCommit = DISPID_SGRsAdd + 1,
- DISPID_SGRsCommitAndSave = DISPID_SGRsCommit + 1,
- DISPID_SGRsFindRule = DISPID_SGRsCommitAndSave + 1,
- DISPID_SGRsItem = DISPID_VALUE,
- DISPID_SGRs_NewEnum = DISPID_NEWENUM
- } DISPID_SpeechGrammarRules;
- typedef /* [hidden] */
- enum DISPID_SpeechGrammarRuleState
- { DISPID_SGRSRule = 1,
- DISPID_SGRSTransitions = DISPID_SGRSRule + 1,
- DISPID_SGRSAddWordTransition = DISPID_SGRSTransitions + 1,
- DISPID_SGRSAddRuleTransition = DISPID_SGRSAddWordTransition + 1,
- DISPID_SGRSAddSpecialTransition = DISPID_SGRSAddRuleTransition + 1
- } DISPID_SpeechGrammarRuleState;
- typedef
- enum SpeechSpecialTransitionType
- { SSTTWildcard = 1,
- SSTTDictation = SSTTWildcard + 1,
- SSTTTextBuffer = SSTTDictation + 1
- } SpeechSpecialTransitionType;
- typedef /* [hidden] */
- enum DISPID_SpeechGrammarRuleStateTransitions
- { DISPID_SGRSTsCount = 1,
- DISPID_SGRSTsItem = DISPID_VALUE,
- DISPID_SGRSTs_NewEnum = DISPID_NEWENUM
- } DISPID_SpeechGrammarRuleStateTransitions;
- typedef /* [hidden] */
- enum DISPID_SpeechGrammarRuleStateTransition
- { DISPID_SGRSTType = 1,
- DISPID_SGRSTText = DISPID_SGRSTType + 1,
- DISPID_SGRSTRule = DISPID_SGRSTText + 1,
- DISPID_SGRSTWeight = DISPID_SGRSTRule + 1,
- DISPID_SGRSTPropertyName = DISPID_SGRSTWeight + 1,
- DISPID_SGRSTPropertyId = DISPID_SGRSTPropertyName + 1,
- DISPID_SGRSTPropertyValue = DISPID_SGRSTPropertyId + 1,
- DISPID_SGRSTNextState = DISPID_SGRSTPropertyValue + 1
- } DISPID_SpeechGrammarRuleStateTransition;
- typedef
- enum SpeechGrammarRuleStateTransitionType
- { SGRSTTEpsilon = 0,
- SGRSTTWord = SGRSTTEpsilon + 1,
- SGRSTTRule = SGRSTTWord + 1,
- SGRSTTDictation = SGRSTTRule + 1,
- SGRSTTWildcard = SGRSTTDictation + 1,
- SGRSTTTextBuffer = SGRSTTWildcard + 1
- } SpeechGrammarRuleStateTransitionType;
- typedef /* [hidden] */
- enum DISPIDSPTSI
- { DISPIDSPTSI_ActiveOffset = 1,
- DISPIDSPTSI_ActiveLength = DISPIDSPTSI_ActiveOffset + 1,
- DISPIDSPTSI_SelectionOffset = DISPIDSPTSI_ActiveLength + 1,
- DISPIDSPTSI_SelectionLength = DISPIDSPTSI_SelectionOffset + 1
- } DISPIDSPTSI;
- typedef /* [hidden] */
- enum DISPID_SpeechRecoResult
- { DISPID_SRRRecoContext = 1,
- DISPID_SRRTimes = DISPID_SRRRecoContext + 1,
- DISPID_SRRAudioFormat = DISPID_SRRTimes + 1,
- DISPID_SRRPhraseInfo = DISPID_SRRAudioFormat + 1,
- DISPID_SRRAlternates = DISPID_SRRPhraseInfo + 1,
- DISPID_SRRAudio = DISPID_SRRAlternates + 1,
- DISPID_SRRSpeakAudio = DISPID_SRRAudio + 1,
- DISPID_SRRSaveToMemory = DISPID_SRRSpeakAudio + 1,
- DISPID_SRRDiscardResultInfo = DISPID_SRRSaveToMemory + 1
- } DISPID_SpeechRecoResult;
- typedef
- enum SpeechDiscardType
- { SDTProperty = SPDF_PROPERTY,
- SDTReplacement = SPDF_REPLACEMENT,
- SDTRule = SPDF_RULE,
- SDTDisplayText = SPDF_DISPLAYTEXT,
- SDTLexicalForm = SPDF_LEXICALFORM,
- SDTPronunciation = SPDF_PRONUNCIATION,
- SDTAudio = SPDF_AUDIO,
- SDTAlternates = SPDF_ALTERNATES,
- SDTAll = SPDF_ALL
- } SpeechDiscardType;
- typedef /* [hidden] */
- enum DISPID_SpeechPhraseBuilder
- { DISPID_SPPBRestorePhraseFromMemory = 1
- } DISPID_SpeechPhraseBuilder;
- typedef /* [hidden] */
- enum DISPID_SpeechRecoResultTimes
- { DISPID_SRRTStreamTime = 1,
- DISPID_SRRTLength = DISPID_SRRTStreamTime + 1,
- DISPID_SRRTTickCount = DISPID_SRRTLength + 1,
- DISPID_SRRTOffsetFromStart = DISPID_SRRTTickCount + 1
- } DISPID_SpeechRecoResultTimes;
- typedef /* [hidden] */
- enum DISPID_SpeechPhraseAlternate
- { DISPID_SPARecoResult = 1,
- DISPID_SPAStartElementInResult = DISPID_SPARecoResult + 1,
- DISPID_SPANumberOfElementsInResult = DISPID_SPAStartElementInResult + 1,
- DISPID_SPAPhraseInfo = DISPID_SPANumberOfElementsInResult + 1,
- DISPID_SPACommit = DISPID_SPAPhraseInfo + 1
- } DISPID_SpeechPhraseAlternate;
- typedef /* [hidden] */
- enum DISPID_SpeechPhraseAlternates
- { DISPID_SPAsCount = 1,
- DISPID_SPAsItem = DISPID_VALUE,
- DISPID_SPAs_NewEnum = DISPID_NEWENUM
- } DISPID_SpeechPhraseAlternates;
- typedef /* [hidden] */
- enum DISPID_SpeechPhraseInfo
- { DISPID_SPILanguageId = 1,
- DISPID_SPIGrammarId = DISPID_SPILanguageId + 1,
- DISPID_SPIStartTime = DISPID_SPIGrammarId + 1,
- DISPID_SPIAudioStreamPosition = DISPID_SPIStartTime + 1,
- DISPID_SPIAudioSizeBytes = DISPID_SPIAudioStreamPosition + 1,
- DISPID_SPIRetainedSizeBytes = DISPID_SPIAudioSizeBytes + 1,
- DISPID_SPIAudioSizeTime = DISPID_SPIRetainedSizeBytes + 1,
- DISPID_SPIRule = DISPID_SPIAudioSizeTime + 1,
- DISPID_SPIProperties = DISPID_SPIRule + 1,
- DISPID_SPIElements = DISPID_SPIProperties + 1,
- DISPID_SPIReplacements = DISPID_SPIElements + 1,
- DISPID_SPIEngineId = DISPID_SPIReplacements + 1,
- DISPID_SPIEnginePrivateData = DISPID_SPIEngineId + 1,
- DISPID_SPISaveToMemory = DISPID_SPIEnginePrivateData + 1,
- DISPID_SPIGetText = DISPID_SPISaveToMemory + 1,
- DISPID_SPIGetDisplayAttributes = DISPID_SPIGetText + 1
- } DISPID_SpeechPhraseInfo;
- typedef /* [hidden] */
- enum DISPID_SpeechPhraseElement
- { DISPID_SPEAudioTimeOffset = 1,
- DISPID_SPEAudioSizeTime = DISPID_SPEAudioTimeOffset + 1,
- DISPID_SPEAudioStreamOffset = DISPID_SPEAudioSizeTime + 1,
- DISPID_SPEAudioSizeBytes = DISPID_SPEAudioStreamOffset + 1,
- DISPID_SPERetainedStreamOffset = DISPID_SPEAudioSizeBytes + 1,
- DISPID_SPERetainedSizeBytes = DISPID_SPERetainedStreamOffset + 1,
- DISPID_SPEDisplayText = DISPID_SPERetainedSizeBytes + 1,
- DISPID_SPELexicalForm = DISPID_SPEDisplayText + 1,
- DISPID_SPEPronunciation = DISPID_SPELexicalForm + 1,
- DISPID_SPEDisplayAttributes = DISPID_SPEPronunciation + 1,
- DISPID_SPERequiredConfidence = DISPID_SPEDisplayAttributes + 1,
- DISPID_SPEActualConfidence = DISPID_SPERequiredConfidence + 1,
- DISPID_SPEEngineConfidence = DISPID_SPEActualConfidence + 1
- } DISPID_SpeechPhraseElement;
- typedef
- enum SpeechEngineConfidence
- { SECLowConfidence = -1,
- SECNormalConfidence = 0,
- SECHighConfidence = 1
- } SpeechEngineConfidence;
- typedef /* [hidden] */
- enum DISPID_SpeechPhraseElements
- { DISPID_SPEsCount = 1,
- DISPID_SPEsItem = DISPID_VALUE,
- DISPID_SPEs_NewEnum = DISPID_NEWENUM
- } DISPID_SpeechPhraseElements;
- typedef /* [hidden] */
- enum DISPID_SpeechPhraseReplacement
- { DISPID_SPRDisplayAttributes = 1,
- DISPID_SPRText = DISPID_SPRDisplayAttributes + 1,
- DISPID_SPRFirstElement = DISPID_SPRText + 1,
- DISPID_SPRNumberOfElements = DISPID_SPRFirstElement + 1
- } DISPID_SpeechPhraseReplacement;
- typedef /* [hidden] */
- enum DISPID_SpeechPhraseReplacements
- { DISPID_SPRsCount = 1,
- DISPID_SPRsItem = DISPID_VALUE,
- DISPID_SPRs_NewEnum = DISPID_NEWENUM
- } DISPID_SpeechPhraseReplacements;
- typedef /* [hidden] */
- enum DISPID_SpeechPhraseProperty
- { DISPID_SPPName = 1,
- DISPID_SPPId = DISPID_SPPName + 1,
- DISPID_SPPValue = DISPID_SPPId + 1,
- DISPID_SPPFirstElement = DISPID_SPPValue + 1,
- DISPID_SPPNumberOfElements = DISPID_SPPFirstElement + 1,
- DISPID_SPPEngineConfidence = DISPID_SPPNumberOfElements + 1,
- DISPID_SPPConfidence = DISPID_SPPEngineConfidence + 1,
- DISPID_SPPParent = DISPID_SPPConfidence + 1,
- DISPID_SPPChildren = DISPID_SPPParent + 1
- } DISPID_SpeechPhraseProperty;
- typedef /* [hidden] */
- enum DISPID_SpeechPhraseProperties
- { DISPID_SPPsCount = 1,
- DISPID_SPPsItem = DISPID_VALUE,
- DISPID_SPPs_NewEnum = DISPID_NEWENUM
- } DISPID_SpeechPhraseProperties;
- typedef /* [hidden] */
- enum DISPID_SpeechPhraseRule
- { DISPID_SPRuleName = 1,
- DISPID_SPRuleId = DISPID_SPRuleName + 1,
- DISPID_SPRuleFirstElement = DISPID_SPRuleId + 1,
- DISPID_SPRuleNumberOfElements = DISPID_SPRuleFirstElement + 1,
- DISPID_SPRuleParent = DISPID_SPRuleNumberOfElements + 1,
- DISPID_SPRuleChildren = DISPID_SPRuleParent + 1,
- DISPID_SPRuleConfidence = DISPID_SPRuleChildren + 1,
- DISPID_SPRuleEngineConfidence = DISPID_SPRuleConfidence + 1
- } DISPID_SpeechPhraseRule;
- typedef /* [hidden] */
- enum DISPID_SpeechPhraseRules
- { DISPID_SPRulesCount = 1,
- DISPID_SPRulesItem = DISPID_VALUE,
- DISPID_SPRules_NewEnum = DISPID_NEWENUM
- } DISPID_SpeechPhraseRules;
- typedef /* [hidden] */
- enum DISPID_SpeechLexicon
- { DISPID_SLGenerationId = 1,
- DISPID_SLGetWords = DISPID_SLGenerationId + 1,
- DISPID_SLAddPronunciation = DISPID_SLGetWords + 1,
- DISPID_SLAddPronunciationByPhoneIds = DISPID_SLAddPronunciation + 1,
- DISPID_SLRemovePronunciation = DISPID_SLAddPronunciationByPhoneIds + 1,
- DISPID_SLRemovePronunciationByPhoneIds = DISPID_SLRemovePronunciation + 1,
- DISPID_SLGetPronunciations = DISPID_SLRemovePronunciationByPhoneIds + 1,
- DISPID_SLGetGenerationChange = DISPID_SLGetPronunciations + 1
- } DISPID_SpeechLexicon;
- typedef
- enum SpeechLexiconType
- { SLTUser = eLEXTYPE_USER,
- SLTApp = eLEXTYPE_APP
- } SpeechLexiconType;
- typedef
- enum SpeechPartOfSpeech
- { SPSNotOverriden = SPPS_NotOverriden,
- SPSUnknown = SPPS_Unknown,
- SPSNoun = SPPS_Noun,
- SPSVerb = SPPS_Verb,
- SPSModifier = SPPS_Modifier,
- SPSFunction = SPPS_Function,
- SPSInterjection = SPPS_Interjection
- } SpeechPartOfSpeech;
- typedef /* [hidden] */
- enum DISPID_SpeechLexiconWords
- { DISPID_SLWsCount = 1,
- DISPID_SLWsItem = DISPID_VALUE,
- DISPID_SLWs_NewEnum = DISPID_NEWENUM
- } DISPID_SpeechLexiconWords;
- typedef
- enum SpeechWordType
- { SWTAdded = eWORDTYPE_ADDED,
- SWTDeleted = eWORDTYPE_DELETED
- } SpeechWordType;
- typedef /* [hidden] */
- enum DISPID_SpeechLexiconWord
- { DISPID_SLWLangId = 1,
- DISPID_SLWType = DISPID_SLWLangId + 1,
- DISPID_SLWWord = DISPID_SLWType + 1,
- DISPID_SLWPronunciations = DISPID_SLWWord + 1
- } DISPID_SpeechLexiconWord;
- typedef /* [hidden] */
- enum DISPID_SpeechLexiconProns
- { DISPID_SLPsCount = 1,
- DISPID_SLPsItem = DISPID_VALUE,
- DISPID_SLPs_NewEnum = DISPID_NEWENUM
- } DISPID_SpeechLexiconProns;
- typedef /* [hidden] */
- enum DISPID_SpeechLexiconPronunciation
- { DISPID_SLPType = 1,
- DISPID_SLPLangId = DISPID_SLPType + 1,
- DISPID_SLPPartOfSpeech = DISPID_SLPLangId + 1,
- DISPID_SLPPhoneIds = DISPID_SLPPartOfSpeech + 1,
- DISPID_SLPSymbolic = DISPID_SLPPhoneIds + 1
- } DISPID_SpeechLexiconPronunciation;
- typedef /* [hidden] */
- enum DISPID_SpeechPhoneConverter
- { DISPID_SPCLangId = 1,
- DISPID_SPCPhoneToId = DISPID_SPCLangId + 1,
- DISPID_SPCIdToPhone = DISPID_SPCPhoneToId + 1
- } DISPID_SpeechPhoneConverter;
- EXTERN_C const IID LIBID_SpeechLib;
- #ifndef __ISpeechDataKey_INTERFACE_DEFINED__
- #define __ISpeechDataKey_INTERFACE_DEFINED__
- /* interface ISpeechDataKey */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechDataKey;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("CE17C09B-4EFA-44d5-A4C9-59D9585AB0CD")
- ISpeechDataKey : public IDispatch
- {
- public:
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE SetBinaryValue(
- /* [in] */ const BSTR ValueName,
- /* [in] */ VARIANT Value) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE GetBinaryValue(
- /* [in] */ const BSTR ValueName,
- /* [retval][out] */ VARIANT *Value) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE SetStringValue(
- /* [in] */ const BSTR ValueName,
- /* [in] */ const BSTR Value) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE GetStringValue(
- /* [in] */ const BSTR ValueName,
- /* [retval][out] */ BSTR *Value) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE SetLongValue(
- /* [in] */ const BSTR ValueName,
- /* [in] */ long Value) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE GetLongValue(
- /* [in] */ const BSTR ValueName,
- /* [retval][out] */ long *Value) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE OpenKey(
- /* [in] */ const BSTR SubKeyName,
- /* [retval][out] */ ISpeechDataKey **SubKey) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE CreateKey(
- /* [in] */ const BSTR SubKeyName,
- /* [retval][out] */ ISpeechDataKey **SubKey) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE DeleteKey(
- /* [in] */ const BSTR SubKeyName) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE DeleteValue(
- /* [in] */ const BSTR ValueName) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE EnumKeys(
- /* [in] */ long Index,
- /* [retval][out] */ BSTR *SubKeyName) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE EnumValues(
- /* [in] */ long Index,
- /* [retval][out] */ BSTR *ValueName) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechDataKeyVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechDataKey * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechDataKey * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechDataKey * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechDataKey * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechDataKey * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechDataKey * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechDataKey * 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] */ HRESULT ( STDMETHODCALLTYPE *SetBinaryValue )(
- ISpeechDataKey * This,
- /* [in] */ const BSTR ValueName,
- /* [in] */ VARIANT Value);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetBinaryValue )(
- ISpeechDataKey * This,
- /* [in] */ const BSTR ValueName,
- /* [retval][out] */ VARIANT *Value);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetStringValue )(
- ISpeechDataKey * This,
- /* [in] */ const BSTR ValueName,
- /* [in] */ const BSTR Value);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetStringValue )(
- ISpeechDataKey * This,
- /* [in] */ const BSTR ValueName,
- /* [retval][out] */ BSTR *Value);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetLongValue )(
- ISpeechDataKey * This,
- /* [in] */ const BSTR ValueName,
- /* [in] */ long Value);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetLongValue )(
- ISpeechDataKey * This,
- /* [in] */ const BSTR ValueName,
- /* [retval][out] */ long *Value);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *OpenKey )(
- ISpeechDataKey * This,
- /* [in] */ const BSTR SubKeyName,
- /* [retval][out] */ ISpeechDataKey **SubKey);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreateKey )(
- ISpeechDataKey * This,
- /* [in] */ const BSTR SubKeyName,
- /* [retval][out] */ ISpeechDataKey **SubKey);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteKey )(
- ISpeechDataKey * This,
- /* [in] */ const BSTR SubKeyName);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteValue )(
- ISpeechDataKey * This,
- /* [in] */ const BSTR ValueName);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *EnumKeys )(
- ISpeechDataKey * This,
- /* [in] */ long Index,
- /* [retval][out] */ BSTR *SubKeyName);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *EnumValues )(
- ISpeechDataKey * This,
- /* [in] */ long Index,
- /* [retval][out] */ BSTR *ValueName);
-
- END_INTERFACE
- } ISpeechDataKeyVtbl;
- interface ISpeechDataKey
- {
- CONST_VTBL struct ISpeechDataKeyVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechDataKey_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechDataKey_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechDataKey_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechDataKey_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechDataKey_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechDataKey_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechDataKey_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechDataKey_SetBinaryValue(This,ValueName,Value)
- (This)->lpVtbl -> SetBinaryValue(This,ValueName,Value)
- #define ISpeechDataKey_GetBinaryValue(This,ValueName,Value)
- (This)->lpVtbl -> GetBinaryValue(This,ValueName,Value)
- #define ISpeechDataKey_SetStringValue(This,ValueName,Value)
- (This)->lpVtbl -> SetStringValue(This,ValueName,Value)
- #define ISpeechDataKey_GetStringValue(This,ValueName,Value)
- (This)->lpVtbl -> GetStringValue(This,ValueName,Value)
- #define ISpeechDataKey_SetLongValue(This,ValueName,Value)
- (This)->lpVtbl -> SetLongValue(This,ValueName,Value)
- #define ISpeechDataKey_GetLongValue(This,ValueName,Value)
- (This)->lpVtbl -> GetLongValue(This,ValueName,Value)
- #define ISpeechDataKey_OpenKey(This,SubKeyName,SubKey)
- (This)->lpVtbl -> OpenKey(This,SubKeyName,SubKey)
- #define ISpeechDataKey_CreateKey(This,SubKeyName,SubKey)
- (This)->lpVtbl -> CreateKey(This,SubKeyName,SubKey)
- #define ISpeechDataKey_DeleteKey(This,SubKeyName)
- (This)->lpVtbl -> DeleteKey(This,SubKeyName)
- #define ISpeechDataKey_DeleteValue(This,ValueName)
- (This)->lpVtbl -> DeleteValue(This,ValueName)
- #define ISpeechDataKey_EnumKeys(This,Index,SubKeyName)
- (This)->lpVtbl -> EnumKeys(This,Index,SubKeyName)
- #define ISpeechDataKey_EnumValues(This,Index,ValueName)
- (This)->lpVtbl -> EnumValues(This,Index,ValueName)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechDataKey_SetBinaryValue_Proxy(
- ISpeechDataKey * This,
- /* [in] */ const BSTR ValueName,
- /* [in] */ VARIANT Value);
- void __RPC_STUB ISpeechDataKey_SetBinaryValue_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechDataKey_GetBinaryValue_Proxy(
- ISpeechDataKey * This,
- /* [in] */ const BSTR ValueName,
- /* [retval][out] */ VARIANT *Value);
- void __RPC_STUB ISpeechDataKey_GetBinaryValue_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechDataKey_SetStringValue_Proxy(
- ISpeechDataKey * This,
- /* [in] */ const BSTR ValueName,
- /* [in] */ const BSTR Value);
- void __RPC_STUB ISpeechDataKey_SetStringValue_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechDataKey_GetStringValue_Proxy(
- ISpeechDataKey * This,
- /* [in] */ const BSTR ValueName,
- /* [retval][out] */ BSTR *Value);
- void __RPC_STUB ISpeechDataKey_GetStringValue_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechDataKey_SetLongValue_Proxy(
- ISpeechDataKey * This,
- /* [in] */ const BSTR ValueName,
- /* [in] */ long Value);
- void __RPC_STUB ISpeechDataKey_SetLongValue_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechDataKey_GetLongValue_Proxy(
- ISpeechDataKey * This,
- /* [in] */ const BSTR ValueName,
- /* [retval][out] */ long *Value);
- void __RPC_STUB ISpeechDataKey_GetLongValue_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechDataKey_OpenKey_Proxy(
- ISpeechDataKey * This,
- /* [in] */ const BSTR SubKeyName,
- /* [retval][out] */ ISpeechDataKey **SubKey);
- void __RPC_STUB ISpeechDataKey_OpenKey_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechDataKey_CreateKey_Proxy(
- ISpeechDataKey * This,
- /* [in] */ const BSTR SubKeyName,
- /* [retval][out] */ ISpeechDataKey **SubKey);
- void __RPC_STUB ISpeechDataKey_CreateKey_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechDataKey_DeleteKey_Proxy(
- ISpeechDataKey * This,
- /* [in] */ const BSTR SubKeyName);
- void __RPC_STUB ISpeechDataKey_DeleteKey_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechDataKey_DeleteValue_Proxy(
- ISpeechDataKey * This,
- /* [in] */ const BSTR ValueName);
- void __RPC_STUB ISpeechDataKey_DeleteValue_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechDataKey_EnumKeys_Proxy(
- ISpeechDataKey * This,
- /* [in] */ long Index,
- /* [retval][out] */ BSTR *SubKeyName);
- void __RPC_STUB ISpeechDataKey_EnumKeys_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechDataKey_EnumValues_Proxy(
- ISpeechDataKey * This,
- /* [in] */ long Index,
- /* [retval][out] */ BSTR *ValueName);
- void __RPC_STUB ISpeechDataKey_EnumValues_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechDataKey_INTERFACE_DEFINED__ */
- #ifndef __ISpeechObjectToken_INTERFACE_DEFINED__
- #define __ISpeechObjectToken_INTERFACE_DEFINED__
- /* interface ISpeechObjectToken */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechObjectToken;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C74A3ADC-B727-4500-A84A-B526721C8B8C")
- ISpeechObjectToken : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Id(
- /* [retval][out] */ BSTR *ObjectId) = 0;
-
- virtual /* [hidden][id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_DataKey(
- /* [retval][out] */ ISpeechDataKey **DataKey) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Category(
- /* [retval][out] */ ISpeechObjectTokenCategory **Category) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE GetDescription(
- /* [defaultvalue][in] */ long Locale,
- /* [retval][out] */ BSTR *Description) = 0;
-
- virtual /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE SetId(
- /* [in] */ BSTR Id,
- /* [defaultvalue][in] */ BSTR CategoryID = L"",
- /* [defaultvalue][in] */ VARIANT_BOOL CreateIfNotExist = 0) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE GetAttribute(
- /* [in] */ BSTR AttributeName,
- /* [retval][out] */ BSTR *AttributeValue) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE CreateInstance(
- /* [defaultvalue][in] */ IUnknown *pUnkOuter,
- /* [defaultvalue][in] */ SpeechTokenContext ClsContext,
- /* [retval][out] */ IUnknown **Object) = 0;
-
- virtual /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE Remove(
- /* [in] */ BSTR ObjectStorageCLSID) = 0;
-
- virtual /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE GetStorageFileName(
- /* [in] */ BSTR ObjectStorageCLSID,
- /* [in] */ BSTR KeyName,
- /* [in] */ BSTR FileName,
- /* [in] */ SpeechTokenShellFolder Folder,
- /* [retval][out] */ BSTR *FilePath) = 0;
-
- virtual /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE RemoveStorageFileName(
- /* [in] */ BSTR ObjectStorageCLSID,
- /* [in] */ BSTR KeyName,
- /* [in] */ VARIANT_BOOL DeleteFile) = 0;
-
- virtual /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE IsUISupported(
- /* [in] */ const BSTR TypeOfUI,
- /* [defaultvalue][in] */ const VARIANT *ExtraData,
- /* [defaultvalue][in] */ IUnknown *Object,
- /* [retval][out] */ VARIANT_BOOL *Supported) = 0;
-
- virtual /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE DisplayUI(
- /* [in] */ long hWnd,
- /* [in] */ BSTR Title,
- /* [in] */ const BSTR TypeOfUI,
- /* [defaultvalue][in] */ const VARIANT *ExtraData = 0,
- /* [defaultvalue][in] */ IUnknown *Object = 0) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE MatchesAttributes(
- /* [in] */ BSTR Attributes,
- /* [retval][out] */ VARIANT_BOOL *Matches) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechObjectTokenVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechObjectToken * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechObjectToken * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechObjectToken * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechObjectToken * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechObjectToken * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechObjectToken * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechObjectToken * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )(
- ISpeechObjectToken * This,
- /* [retval][out] */ BSTR *ObjectId);
-
- /* [hidden][id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DataKey )(
- ISpeechObjectToken * This,
- /* [retval][out] */ ISpeechDataKey **DataKey);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Category )(
- ISpeechObjectToken * This,
- /* [retval][out] */ ISpeechObjectTokenCategory **Category);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDescription )(
- ISpeechObjectToken * This,
- /* [defaultvalue][in] */ long Locale,
- /* [retval][out] */ BSTR *Description);
-
- /* [id][hidden][helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetId )(
- ISpeechObjectToken * This,
- /* [in] */ BSTR Id,
- /* [defaultvalue][in] */ BSTR CategoryID,
- /* [defaultvalue][in] */ VARIANT_BOOL CreateIfNotExist);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetAttribute )(
- ISpeechObjectToken * This,
- /* [in] */ BSTR AttributeName,
- /* [retval][out] */ BSTR *AttributeValue);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreateInstance )(
- ISpeechObjectToken * This,
- /* [defaultvalue][in] */ IUnknown *pUnkOuter,
- /* [defaultvalue][in] */ SpeechTokenContext ClsContext,
- /* [retval][out] */ IUnknown **Object);
-
- /* [id][hidden][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
- ISpeechObjectToken * This,
- /* [in] */ BSTR ObjectStorageCLSID);
-
- /* [id][hidden][helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetStorageFileName )(
- ISpeechObjectToken * This,
- /* [in] */ BSTR ObjectStorageCLSID,
- /* [in] */ BSTR KeyName,
- /* [in] */ BSTR FileName,
- /* [in] */ SpeechTokenShellFolder Folder,
- /* [retval][out] */ BSTR *FilePath);
-
- /* [id][hidden][helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemoveStorageFileName )(
- ISpeechObjectToken * This,
- /* [in] */ BSTR ObjectStorageCLSID,
- /* [in] */ BSTR KeyName,
- /* [in] */ VARIANT_BOOL DeleteFile);
-
- /* [id][hidden][helpstring] */ HRESULT ( STDMETHODCALLTYPE *IsUISupported )(
- ISpeechObjectToken * This,
- /* [in] */ const BSTR TypeOfUI,
- /* [defaultvalue][in] */ const VARIANT *ExtraData,
- /* [defaultvalue][in] */ IUnknown *Object,
- /* [retval][out] */ VARIANT_BOOL *Supported);
-
- /* [id][hidden][helpstring] */ HRESULT ( STDMETHODCALLTYPE *DisplayUI )(
- ISpeechObjectToken * This,
- /* [in] */ long hWnd,
- /* [in] */ BSTR Title,
- /* [in] */ const BSTR TypeOfUI,
- /* [defaultvalue][in] */ const VARIANT *ExtraData,
- /* [defaultvalue][in] */ IUnknown *Object);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *MatchesAttributes )(
- ISpeechObjectToken * This,
- /* [in] */ BSTR Attributes,
- /* [retval][out] */ VARIANT_BOOL *Matches);
-
- END_INTERFACE
- } ISpeechObjectTokenVtbl;
- interface ISpeechObjectToken
- {
- CONST_VTBL struct ISpeechObjectTokenVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechObjectToken_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechObjectToken_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechObjectToken_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechObjectToken_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechObjectToken_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechObjectToken_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechObjectToken_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechObjectToken_get_Id(This,ObjectId)
- (This)->lpVtbl -> get_Id(This,ObjectId)
- #define ISpeechObjectToken_get_DataKey(This,DataKey)
- (This)->lpVtbl -> get_DataKey(This,DataKey)
- #define ISpeechObjectToken_get_Category(This,Category)
- (This)->lpVtbl -> get_Category(This,Category)
- #define ISpeechObjectToken_GetDescription(This,Locale,Description)
- (This)->lpVtbl -> GetDescription(This,Locale,Description)
- #define ISpeechObjectToken_SetId(This,Id,CategoryID,CreateIfNotExist)
- (This)->lpVtbl -> SetId(This,Id,CategoryID,CreateIfNotExist)
- #define ISpeechObjectToken_GetAttribute(This,AttributeName,AttributeValue)
- (This)->lpVtbl -> GetAttribute(This,AttributeName,AttributeValue)
- #define ISpeechObjectToken_CreateInstance(This,pUnkOuter,ClsContext,Object)
- (This)->lpVtbl -> CreateInstance(This,pUnkOuter,ClsContext,Object)
- #define ISpeechObjectToken_Remove(This,ObjectStorageCLSID)
- (This)->lpVtbl -> Remove(This,ObjectStorageCLSID)
- #define ISpeechObjectToken_GetStorageFileName(This,ObjectStorageCLSID,KeyName,FileName,Folder,FilePath)
- (This)->lpVtbl -> GetStorageFileName(This,ObjectStorageCLSID,KeyName,FileName,Folder,FilePath)
- #define ISpeechObjectToken_RemoveStorageFileName(This,ObjectStorageCLSID,KeyName,DeleteFile)
- (This)->lpVtbl -> RemoveStorageFileName(This,ObjectStorageCLSID,KeyName,DeleteFile)
- #define ISpeechObjectToken_IsUISupported(This,TypeOfUI,ExtraData,Object,Supported)
- (This)->lpVtbl -> IsUISupported(This,TypeOfUI,ExtraData,Object,Supported)
- #define ISpeechObjectToken_DisplayUI(This,hWnd,Title,TypeOfUI,ExtraData,Object)
- (This)->lpVtbl -> DisplayUI(This,hWnd,Title,TypeOfUI,ExtraData,Object)
- #define ISpeechObjectToken_MatchesAttributes(This,Attributes,Matches)
- (This)->lpVtbl -> MatchesAttributes(This,Attributes,Matches)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechObjectToken_get_Id_Proxy(
- ISpeechObjectToken * This,
- /* [retval][out] */ BSTR *ObjectId);
- void __RPC_STUB ISpeechObjectToken_get_Id_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [hidden][id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechObjectToken_get_DataKey_Proxy(
- ISpeechObjectToken * This,
- /* [retval][out] */ ISpeechDataKey **DataKey);
- void __RPC_STUB ISpeechObjectToken_get_DataKey_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechObjectToken_get_Category_Proxy(
- ISpeechObjectToken * This,
- /* [retval][out] */ ISpeechObjectTokenCategory **Category);
- void __RPC_STUB ISpeechObjectToken_get_Category_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechObjectToken_GetDescription_Proxy(
- ISpeechObjectToken * This,
- /* [defaultvalue][in] */ long Locale,
- /* [retval][out] */ BSTR *Description);
- void __RPC_STUB ISpeechObjectToken_GetDescription_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechObjectToken_SetId_Proxy(
- ISpeechObjectToken * This,
- /* [in] */ BSTR Id,
- /* [defaultvalue][in] */ BSTR CategoryID,
- /* [defaultvalue][in] */ VARIANT_BOOL CreateIfNotExist);
- void __RPC_STUB ISpeechObjectToken_SetId_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechObjectToken_GetAttribute_Proxy(
- ISpeechObjectToken * This,
- /* [in] */ BSTR AttributeName,
- /* [retval][out] */ BSTR *AttributeValue);
- void __RPC_STUB ISpeechObjectToken_GetAttribute_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechObjectToken_CreateInstance_Proxy(
- ISpeechObjectToken * This,
- /* [defaultvalue][in] */ IUnknown *pUnkOuter,
- /* [defaultvalue][in] */ SpeechTokenContext ClsContext,
- /* [retval][out] */ IUnknown **Object);
- void __RPC_STUB ISpeechObjectToken_CreateInstance_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechObjectToken_Remove_Proxy(
- ISpeechObjectToken * This,
- /* [in] */ BSTR ObjectStorageCLSID);
- void __RPC_STUB ISpeechObjectToken_Remove_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechObjectToken_GetStorageFileName_Proxy(
- ISpeechObjectToken * This,
- /* [in] */ BSTR ObjectStorageCLSID,
- /* [in] */ BSTR KeyName,
- /* [in] */ BSTR FileName,
- /* [in] */ SpeechTokenShellFolder Folder,
- /* [retval][out] */ BSTR *FilePath);
- void __RPC_STUB ISpeechObjectToken_GetStorageFileName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechObjectToken_RemoveStorageFileName_Proxy(
- ISpeechObjectToken * This,
- /* [in] */ BSTR ObjectStorageCLSID,
- /* [in] */ BSTR KeyName,
- /* [in] */ VARIANT_BOOL DeleteFile);
- void __RPC_STUB ISpeechObjectToken_RemoveStorageFileName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechObjectToken_IsUISupported_Proxy(
- ISpeechObjectToken * This,
- /* [in] */ const BSTR TypeOfUI,
- /* [defaultvalue][in] */ const VARIANT *ExtraData,
- /* [defaultvalue][in] */ IUnknown *Object,
- /* [retval][out] */ VARIANT_BOOL *Supported);
- void __RPC_STUB ISpeechObjectToken_IsUISupported_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechObjectToken_DisplayUI_Proxy(
- ISpeechObjectToken * This,
- /* [in] */ long hWnd,
- /* [in] */ BSTR Title,
- /* [in] */ const BSTR TypeOfUI,
- /* [defaultvalue][in] */ const VARIANT *ExtraData,
- /* [defaultvalue][in] */ IUnknown *Object);
- void __RPC_STUB ISpeechObjectToken_DisplayUI_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechObjectToken_MatchesAttributes_Proxy(
- ISpeechObjectToken * This,
- /* [in] */ BSTR Attributes,
- /* [retval][out] */ VARIANT_BOOL *Matches);
- void __RPC_STUB ISpeechObjectToken_MatchesAttributes_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechObjectToken_INTERFACE_DEFINED__ */
- #ifndef __ISpeechObjectTokens_INTERFACE_DEFINED__
- #define __ISpeechObjectTokens_INTERFACE_DEFINED__
- /* interface ISpeechObjectTokens */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechObjectTokens;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9285B776-2E7B-4bc0-B53E-580EB6FA967F")
- ISpeechObjectTokens : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
- /* [retval][out] */ long *Count) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Item(
- /* [in] */ long Index,
- /* [retval][out] */ ISpeechObjectToken **Token) = 0;
-
- virtual /* [id][restricted][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
- /* [retval][out] */ IUnknown **ppEnumVARIANT) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechObjectTokensVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechObjectTokens * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechObjectTokens * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechObjectTokens * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechObjectTokens * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechObjectTokens * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechObjectTokens * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechObjectTokens * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
- ISpeechObjectTokens * This,
- /* [retval][out] */ long *Count);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Item )(
- ISpeechObjectTokens * This,
- /* [in] */ long Index,
- /* [retval][out] */ ISpeechObjectToken **Token);
-
- /* [id][restricted][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
- ISpeechObjectTokens * This,
- /* [retval][out] */ IUnknown **ppEnumVARIANT);
-
- END_INTERFACE
- } ISpeechObjectTokensVtbl;
- interface ISpeechObjectTokens
- {
- CONST_VTBL struct ISpeechObjectTokensVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechObjectTokens_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechObjectTokens_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechObjectTokens_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechObjectTokens_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechObjectTokens_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechObjectTokens_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechObjectTokens_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechObjectTokens_get_Count(This,Count)
- (This)->lpVtbl -> get_Count(This,Count)
- #define ISpeechObjectTokens_Item(This,Index,Token)
- (This)->lpVtbl -> Item(This,Index,Token)
- #define ISpeechObjectTokens_get__NewEnum(This,ppEnumVARIANT)
- (This)->lpVtbl -> get__NewEnum(This,ppEnumVARIANT)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechObjectTokens_get_Count_Proxy(
- ISpeechObjectTokens * This,
- /* [retval][out] */ long *Count);
- void __RPC_STUB ISpeechObjectTokens_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechObjectTokens_Item_Proxy(
- ISpeechObjectTokens * This,
- /* [in] */ long Index,
- /* [retval][out] */ ISpeechObjectToken **Token);
- void __RPC_STUB ISpeechObjectTokens_Item_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][restricted][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechObjectTokens_get__NewEnum_Proxy(
- ISpeechObjectTokens * This,
- /* [retval][out] */ IUnknown **ppEnumVARIANT);
- void __RPC_STUB ISpeechObjectTokens_get__NewEnum_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechObjectTokens_INTERFACE_DEFINED__ */
- #ifndef __ISpeechObjectTokenCategory_INTERFACE_DEFINED__
- #define __ISpeechObjectTokenCategory_INTERFACE_DEFINED__
- /* interface ISpeechObjectTokenCategory */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechObjectTokenCategory;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("CA7EAC50-2D01-4145-86D4-5AE7D70F4469")
- ISpeechObjectTokenCategory : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Id(
- /* [retval][out] */ BSTR *Id) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_Default(
- /* [in] */ const BSTR TokenId) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Default(
- /* [retval][out] */ BSTR *TokenId) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE SetId(
- /* [in] */ const BSTR Id,
- /* [defaultvalue][in] */ VARIANT_BOOL CreateIfNotExist = 0) = 0;
-
- virtual /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE GetDataKey(
- /* [defaultvalue][in] */ SpeechDataKeyLocation Location,
- /* [retval][out] */ ISpeechDataKey **DataKey) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE EnumerateTokens(
- /* [defaultvalue][in] */ BSTR RequiredAttributes,
- /* [defaultvalue][in] */ BSTR OptionalAttributes,
- /* [retval][out] */ ISpeechObjectTokens **Tokens) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechObjectTokenCategoryVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechObjectTokenCategory * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechObjectTokenCategory * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechObjectTokenCategory * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechObjectTokenCategory * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechObjectTokenCategory * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechObjectTokenCategory * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechObjectTokenCategory * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )(
- ISpeechObjectTokenCategory * This,
- /* [retval][out] */ BSTR *Id);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Default )(
- ISpeechObjectTokenCategory * This,
- /* [in] */ const BSTR TokenId);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Default )(
- ISpeechObjectTokenCategory * This,
- /* [retval][out] */ BSTR *TokenId);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetId )(
- ISpeechObjectTokenCategory * This,
- /* [in] */ const BSTR Id,
- /* [defaultvalue][in] */ VARIANT_BOOL CreateIfNotExist);
-
- /* [id][hidden][helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDataKey )(
- ISpeechObjectTokenCategory * This,
- /* [defaultvalue][in] */ SpeechDataKeyLocation Location,
- /* [retval][out] */ ISpeechDataKey **DataKey);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *EnumerateTokens )(
- ISpeechObjectTokenCategory * This,
- /* [defaultvalue][in] */ BSTR RequiredAttributes,
- /* [defaultvalue][in] */ BSTR OptionalAttributes,
- /* [retval][out] */ ISpeechObjectTokens **Tokens);
-
- END_INTERFACE
- } ISpeechObjectTokenCategoryVtbl;
- interface ISpeechObjectTokenCategory
- {
- CONST_VTBL struct ISpeechObjectTokenCategoryVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechObjectTokenCategory_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechObjectTokenCategory_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechObjectTokenCategory_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechObjectTokenCategory_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechObjectTokenCategory_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechObjectTokenCategory_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechObjectTokenCategory_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechObjectTokenCategory_get_Id(This,Id)
- (This)->lpVtbl -> get_Id(This,Id)
- #define ISpeechObjectTokenCategory_put_Default(This,TokenId)
- (This)->lpVtbl -> put_Default(This,TokenId)
- #define ISpeechObjectTokenCategory_get_Default(This,TokenId)
- (This)->lpVtbl -> get_Default(This,TokenId)
- #define ISpeechObjectTokenCategory_SetId(This,Id,CreateIfNotExist)
- (This)->lpVtbl -> SetId(This,Id,CreateIfNotExist)
- #define ISpeechObjectTokenCategory_GetDataKey(This,Location,DataKey)
- (This)->lpVtbl -> GetDataKey(This,Location,DataKey)
- #define ISpeechObjectTokenCategory_EnumerateTokens(This,RequiredAttributes,OptionalAttributes,Tokens)
- (This)->lpVtbl -> EnumerateTokens(This,RequiredAttributes,OptionalAttributes,Tokens)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechObjectTokenCategory_get_Id_Proxy(
- ISpeechObjectTokenCategory * This,
- /* [retval][out] */ BSTR *Id);
- void __RPC_STUB ISpeechObjectTokenCategory_get_Id_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechObjectTokenCategory_put_Default_Proxy(
- ISpeechObjectTokenCategory * This,
- /* [in] */ const BSTR TokenId);
- void __RPC_STUB ISpeechObjectTokenCategory_put_Default_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechObjectTokenCategory_get_Default_Proxy(
- ISpeechObjectTokenCategory * This,
- /* [retval][out] */ BSTR *TokenId);
- void __RPC_STUB ISpeechObjectTokenCategory_get_Default_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechObjectTokenCategory_SetId_Proxy(
- ISpeechObjectTokenCategory * This,
- /* [in] */ const BSTR Id,
- /* [defaultvalue][in] */ VARIANT_BOOL CreateIfNotExist);
- void __RPC_STUB ISpeechObjectTokenCategory_SetId_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][hidden][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechObjectTokenCategory_GetDataKey_Proxy(
- ISpeechObjectTokenCategory * This,
- /* [defaultvalue][in] */ SpeechDataKeyLocation Location,
- /* [retval][out] */ ISpeechDataKey **DataKey);
- void __RPC_STUB ISpeechObjectTokenCategory_GetDataKey_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechObjectTokenCategory_EnumerateTokens_Proxy(
- ISpeechObjectTokenCategory * This,
- /* [defaultvalue][in] */ BSTR RequiredAttributes,
- /* [defaultvalue][in] */ BSTR OptionalAttributes,
- /* [retval][out] */ ISpeechObjectTokens **Tokens);
- void __RPC_STUB ISpeechObjectTokenCategory_EnumerateTokens_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechObjectTokenCategory_INTERFACE_DEFINED__ */
- #ifndef __ISpeechAudioBufferInfo_INTERFACE_DEFINED__
- #define __ISpeechAudioBufferInfo_INTERFACE_DEFINED__
- /* interface ISpeechAudioBufferInfo */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechAudioBufferInfo;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("11B103D8-1142-4edf-A093-82FB3915F8CC")
- ISpeechAudioBufferInfo : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_MinNotification(
- /* [retval][out] */ long *MinNotification) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_MinNotification(
- /* [in] */ long MinNotification) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_BufferSize(
- /* [retval][out] */ long *BufferSize) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_BufferSize(
- /* [in] */ long BufferSize) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_EventBias(
- /* [retval][out] */ long *EventBias) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_EventBias(
- /* [in] */ long EventBias) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechAudioBufferInfoVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechAudioBufferInfo * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechAudioBufferInfo * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechAudioBufferInfo * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechAudioBufferInfo * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechAudioBufferInfo * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechAudioBufferInfo * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechAudioBufferInfo * 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_MinNotification )(
- ISpeechAudioBufferInfo * This,
- /* [retval][out] */ long *MinNotification);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MinNotification )(
- ISpeechAudioBufferInfo * This,
- /* [in] */ long MinNotification);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BufferSize )(
- ISpeechAudioBufferInfo * This,
- /* [retval][out] */ long *BufferSize);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BufferSize )(
- ISpeechAudioBufferInfo * This,
- /* [in] */ long BufferSize);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventBias )(
- ISpeechAudioBufferInfo * This,
- /* [retval][out] */ long *EventBias);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EventBias )(
- ISpeechAudioBufferInfo * This,
- /* [in] */ long EventBias);
-
- END_INTERFACE
- } ISpeechAudioBufferInfoVtbl;
- interface ISpeechAudioBufferInfo
- {
- CONST_VTBL struct ISpeechAudioBufferInfoVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechAudioBufferInfo_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechAudioBufferInfo_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechAudioBufferInfo_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechAudioBufferInfo_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechAudioBufferInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechAudioBufferInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechAudioBufferInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechAudioBufferInfo_get_MinNotification(This,MinNotification)
- (This)->lpVtbl -> get_MinNotification(This,MinNotification)
- #define ISpeechAudioBufferInfo_put_MinNotification(This,MinNotification)
- (This)->lpVtbl -> put_MinNotification(This,MinNotification)
- #define ISpeechAudioBufferInfo_get_BufferSize(This,BufferSize)
- (This)->lpVtbl -> get_BufferSize(This,BufferSize)
- #define ISpeechAudioBufferInfo_put_BufferSize(This,BufferSize)
- (This)->lpVtbl -> put_BufferSize(This,BufferSize)
- #define ISpeechAudioBufferInfo_get_EventBias(This,EventBias)
- (This)->lpVtbl -> get_EventBias(This,EventBias)
- #define ISpeechAudioBufferInfo_put_EventBias(This,EventBias)
- (This)->lpVtbl -> put_EventBias(This,EventBias)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechAudioBufferInfo_get_MinNotification_Proxy(
- ISpeechAudioBufferInfo * This,
- /* [retval][out] */ long *MinNotification);
- void __RPC_STUB ISpeechAudioBufferInfo_get_MinNotification_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechAudioBufferInfo_put_MinNotification_Proxy(
- ISpeechAudioBufferInfo * This,
- /* [in] */ long MinNotification);
- void __RPC_STUB ISpeechAudioBufferInfo_put_MinNotification_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechAudioBufferInfo_get_BufferSize_Proxy(
- ISpeechAudioBufferInfo * This,
- /* [retval][out] */ long *BufferSize);
- void __RPC_STUB ISpeechAudioBufferInfo_get_BufferSize_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechAudioBufferInfo_put_BufferSize_Proxy(
- ISpeechAudioBufferInfo * This,
- /* [in] */ long BufferSize);
- void __RPC_STUB ISpeechAudioBufferInfo_put_BufferSize_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechAudioBufferInfo_get_EventBias_Proxy(
- ISpeechAudioBufferInfo * This,
- /* [retval][out] */ long *EventBias);
- void __RPC_STUB ISpeechAudioBufferInfo_get_EventBias_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechAudioBufferInfo_put_EventBias_Proxy(
- ISpeechAudioBufferInfo * This,
- /* [in] */ long EventBias);
- void __RPC_STUB ISpeechAudioBufferInfo_put_EventBias_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechAudioBufferInfo_INTERFACE_DEFINED__ */
- #ifndef __ISpeechAudioStatus_INTERFACE_DEFINED__
- #define __ISpeechAudioStatus_INTERFACE_DEFINED__
- /* interface ISpeechAudioStatus */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechAudioStatus;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C62D9C91-7458-47f6-862D-1EF86FB0B278")
- ISpeechAudioStatus : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_FreeBufferSpace(
- /* [retval][out] */ long *FreeBufferSpace) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_NonBlockingIO(
- /* [retval][out] */ long *NonBlockingIO) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_State(
- /* [retval][out] */ SpeechAudioState *State) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentSeekPosition(
- /* [retval][out] */ VARIANT *CurrentSeekPosition) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentDevicePosition(
- /* [retval][out] */ VARIANT *CurrentDevicePosition) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechAudioStatusVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechAudioStatus * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechAudioStatus * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechAudioStatus * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechAudioStatus * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechAudioStatus * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechAudioStatus * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechAudioStatus * 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_FreeBufferSpace )(
- ISpeechAudioStatus * This,
- /* [retval][out] */ long *FreeBufferSpace);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NonBlockingIO )(
- ISpeechAudioStatus * This,
- /* [retval][out] */ long *NonBlockingIO);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
- ISpeechAudioStatus * This,
- /* [retval][out] */ SpeechAudioState *State);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentSeekPosition )(
- ISpeechAudioStatus * This,
- /* [retval][out] */ VARIANT *CurrentSeekPosition);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentDevicePosition )(
- ISpeechAudioStatus * This,
- /* [retval][out] */ VARIANT *CurrentDevicePosition);
-
- END_INTERFACE
- } ISpeechAudioStatusVtbl;
- interface ISpeechAudioStatus
- {
- CONST_VTBL struct ISpeechAudioStatusVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechAudioStatus_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechAudioStatus_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechAudioStatus_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechAudioStatus_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechAudioStatus_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechAudioStatus_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechAudioStatus_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechAudioStatus_get_FreeBufferSpace(This,FreeBufferSpace)
- (This)->lpVtbl -> get_FreeBufferSpace(This,FreeBufferSpace)
- #define ISpeechAudioStatus_get_NonBlockingIO(This,NonBlockingIO)
- (This)->lpVtbl -> get_NonBlockingIO(This,NonBlockingIO)
- #define ISpeechAudioStatus_get_State(This,State)
- (This)->lpVtbl -> get_State(This,State)
- #define ISpeechAudioStatus_get_CurrentSeekPosition(This,CurrentSeekPosition)
- (This)->lpVtbl -> get_CurrentSeekPosition(This,CurrentSeekPosition)
- #define ISpeechAudioStatus_get_CurrentDevicePosition(This,CurrentDevicePosition)
- (This)->lpVtbl -> get_CurrentDevicePosition(This,CurrentDevicePosition)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechAudioStatus_get_FreeBufferSpace_Proxy(
- ISpeechAudioStatus * This,
- /* [retval][out] */ long *FreeBufferSpace);
- void __RPC_STUB ISpeechAudioStatus_get_FreeBufferSpace_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechAudioStatus_get_NonBlockingIO_Proxy(
- ISpeechAudioStatus * This,
- /* [retval][out] */ long *NonBlockingIO);
- void __RPC_STUB ISpeechAudioStatus_get_NonBlockingIO_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechAudioStatus_get_State_Proxy(
- ISpeechAudioStatus * This,
- /* [retval][out] */ SpeechAudioState *State);
- void __RPC_STUB ISpeechAudioStatus_get_State_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechAudioStatus_get_CurrentSeekPosition_Proxy(
- ISpeechAudioStatus * This,
- /* [retval][out] */ VARIANT *CurrentSeekPosition);
- void __RPC_STUB ISpeechAudioStatus_get_CurrentSeekPosition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechAudioStatus_get_CurrentDevicePosition_Proxy(
- ISpeechAudioStatus * This,
- /* [retval][out] */ VARIANT *CurrentDevicePosition);
- void __RPC_STUB ISpeechAudioStatus_get_CurrentDevicePosition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechAudioStatus_INTERFACE_DEFINED__ */
- #ifndef __ISpeechAudioFormat_INTERFACE_DEFINED__
- #define __ISpeechAudioFormat_INTERFACE_DEFINED__
- /* interface ISpeechAudioFormat */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechAudioFormat;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("E6E9C590-3E18-40e3-8299-061F98BDE7C7")
- ISpeechAudioFormat : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Type(
- /* [retval][out] */ SpeechAudioFormatType *AudioFormat) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_Type(
- /* [in] */ SpeechAudioFormatType AudioFormat) = 0;
-
- virtual /* [id][helpstring][hidden][propget] */ HRESULT STDMETHODCALLTYPE get_Guid(
- /* [retval][out] */ BSTR *Guid) = 0;
-
- virtual /* [id][helpstring][hidden][propput] */ HRESULT STDMETHODCALLTYPE put_Guid(
- /* [in] */ BSTR Guid) = 0;
-
- virtual /* [id][helpstring][hidden] */ HRESULT STDMETHODCALLTYPE GetWaveFormatEx(
- /* [retval][out] */ ISpeechWaveFormatEx **WaveFormatEx) = 0;
-
- virtual /* [id][helpstring][hidden] */ HRESULT STDMETHODCALLTYPE SetWaveFormatEx(
- /* [in] */ ISpeechWaveFormatEx *WaveFormatEx) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechAudioFormatVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechAudioFormat * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechAudioFormat * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechAudioFormat * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechAudioFormat * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechAudioFormat * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechAudioFormat * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechAudioFormat * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Type )(
- ISpeechAudioFormat * This,
- /* [retval][out] */ SpeechAudioFormatType *AudioFormat);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Type )(
- ISpeechAudioFormat * This,
- /* [in] */ SpeechAudioFormatType AudioFormat);
-
- /* [id][helpstring][hidden][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Guid )(
- ISpeechAudioFormat * This,
- /* [retval][out] */ BSTR *Guid);
-
- /* [id][helpstring][hidden][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Guid )(
- ISpeechAudioFormat * This,
- /* [in] */ BSTR Guid);
-
- /* [id][helpstring][hidden] */ HRESULT ( STDMETHODCALLTYPE *GetWaveFormatEx )(
- ISpeechAudioFormat * This,
- /* [retval][out] */ ISpeechWaveFormatEx **WaveFormatEx);
-
- /* [id][helpstring][hidden] */ HRESULT ( STDMETHODCALLTYPE *SetWaveFormatEx )(
- ISpeechAudioFormat * This,
- /* [in] */ ISpeechWaveFormatEx *WaveFormatEx);
-
- END_INTERFACE
- } ISpeechAudioFormatVtbl;
- interface ISpeechAudioFormat
- {
- CONST_VTBL struct ISpeechAudioFormatVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechAudioFormat_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechAudioFormat_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechAudioFormat_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechAudioFormat_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechAudioFormat_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechAudioFormat_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechAudioFormat_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechAudioFormat_get_Type(This,AudioFormat)
- (This)->lpVtbl -> get_Type(This,AudioFormat)
- #define ISpeechAudioFormat_put_Type(This,AudioFormat)
- (This)->lpVtbl -> put_Type(This,AudioFormat)
- #define ISpeechAudioFormat_get_Guid(This,Guid)
- (This)->lpVtbl -> get_Guid(This,Guid)
- #define ISpeechAudioFormat_put_Guid(This,Guid)
- (This)->lpVtbl -> put_Guid(This,Guid)
- #define ISpeechAudioFormat_GetWaveFormatEx(This,WaveFormatEx)
- (This)->lpVtbl -> GetWaveFormatEx(This,WaveFormatEx)
- #define ISpeechAudioFormat_SetWaveFormatEx(This,WaveFormatEx)
- (This)->lpVtbl -> SetWaveFormatEx(This,WaveFormatEx)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechAudioFormat_get_Type_Proxy(
- ISpeechAudioFormat * This,
- /* [retval][out] */ SpeechAudioFormatType *AudioFormat);
- void __RPC_STUB ISpeechAudioFormat_get_Type_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechAudioFormat_put_Type_Proxy(
- ISpeechAudioFormat * This,
- /* [in] */ SpeechAudioFormatType AudioFormat);
- void __RPC_STUB ISpeechAudioFormat_put_Type_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][hidden][propget] */ HRESULT STDMETHODCALLTYPE ISpeechAudioFormat_get_Guid_Proxy(
- ISpeechAudioFormat * This,
- /* [retval][out] */ BSTR *Guid);
- void __RPC_STUB ISpeechAudioFormat_get_Guid_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][hidden][propput] */ HRESULT STDMETHODCALLTYPE ISpeechAudioFormat_put_Guid_Proxy(
- ISpeechAudioFormat * This,
- /* [in] */ BSTR Guid);
- void __RPC_STUB ISpeechAudioFormat_put_Guid_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][hidden] */ HRESULT STDMETHODCALLTYPE ISpeechAudioFormat_GetWaveFormatEx_Proxy(
- ISpeechAudioFormat * This,
- /* [retval][out] */ ISpeechWaveFormatEx **WaveFormatEx);
- void __RPC_STUB ISpeechAudioFormat_GetWaveFormatEx_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][hidden] */ HRESULT STDMETHODCALLTYPE ISpeechAudioFormat_SetWaveFormatEx_Proxy(
- ISpeechAudioFormat * This,
- /* [in] */ ISpeechWaveFormatEx *WaveFormatEx);
- void __RPC_STUB ISpeechAudioFormat_SetWaveFormatEx_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechAudioFormat_INTERFACE_DEFINED__ */
- #ifndef __ISpeechWaveFormatEx_INTERFACE_DEFINED__
- #define __ISpeechWaveFormatEx_INTERFACE_DEFINED__
- /* interface ISpeechWaveFormatEx */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechWaveFormatEx;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("7A1EF0D5-1581-4741-88E4-209A49F11A10")
- ISpeechWaveFormatEx : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_FormatTag(
- /* [retval][out] */ short *FormatTag) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_FormatTag(
- /* [in] */ short FormatTag) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Channels(
- /* [retval][out] */ short *Channels) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_Channels(
- /* [in] */ short Channels) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_SamplesPerSec(
- /* [retval][out] */ long *SamplesPerSec) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_SamplesPerSec(
- /* [in] */ long SamplesPerSec) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AvgBytesPerSec(
- /* [retval][out] */ long *AvgBytesPerSec) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_AvgBytesPerSec(
- /* [in] */ long AvgBytesPerSec) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_BlockAlign(
- /* [retval][out] */ short *BlockAlign) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_BlockAlign(
- /* [in] */ short BlockAlign) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_BitsPerSample(
- /* [retval][out] */ short *BitsPerSample) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_BitsPerSample(
- /* [in] */ short BitsPerSample) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ExtraData(
- /* [retval][out] */ VARIANT *ExtraData) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_ExtraData(
- /* [in] */ VARIANT ExtraData) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechWaveFormatExVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechWaveFormatEx * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechWaveFormatEx * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechWaveFormatEx * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechWaveFormatEx * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechWaveFormatEx * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechWaveFormatEx * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechWaveFormatEx * 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_FormatTag )(
- ISpeechWaveFormatEx * This,
- /* [retval][out] */ short *FormatTag);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FormatTag )(
- ISpeechWaveFormatEx * This,
- /* [in] */ short FormatTag);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Channels )(
- ISpeechWaveFormatEx * This,
- /* [retval][out] */ short *Channels);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Channels )(
- ISpeechWaveFormatEx * This,
- /* [in] */ short Channels);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SamplesPerSec )(
- ISpeechWaveFormatEx * This,
- /* [retval][out] */ long *SamplesPerSec);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SamplesPerSec )(
- ISpeechWaveFormatEx * This,
- /* [in] */ long SamplesPerSec);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AvgBytesPerSec )(
- ISpeechWaveFormatEx * This,
- /* [retval][out] */ long *AvgBytesPerSec);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AvgBytesPerSec )(
- ISpeechWaveFormatEx * This,
- /* [in] */ long AvgBytesPerSec);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BlockAlign )(
- ISpeechWaveFormatEx * This,
- /* [retval][out] */ short *BlockAlign);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BlockAlign )(
- ISpeechWaveFormatEx * This,
- /* [in] */ short BlockAlign);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BitsPerSample )(
- ISpeechWaveFormatEx * This,
- /* [retval][out] */ short *BitsPerSample);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BitsPerSample )(
- ISpeechWaveFormatEx * This,
- /* [in] */ short BitsPerSample);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExtraData )(
- ISpeechWaveFormatEx * This,
- /* [retval][out] */ VARIANT *ExtraData);
-
- /* [id][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ExtraData )(
- ISpeechWaveFormatEx * This,
- /* [in] */ VARIANT ExtraData);
-
- END_INTERFACE
- } ISpeechWaveFormatExVtbl;
- interface ISpeechWaveFormatEx
- {
- CONST_VTBL struct ISpeechWaveFormatExVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechWaveFormatEx_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechWaveFormatEx_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechWaveFormatEx_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechWaveFormatEx_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechWaveFormatEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechWaveFormatEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechWaveFormatEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechWaveFormatEx_get_FormatTag(This,FormatTag)
- (This)->lpVtbl -> get_FormatTag(This,FormatTag)
- #define ISpeechWaveFormatEx_put_FormatTag(This,FormatTag)
- (This)->lpVtbl -> put_FormatTag(This,FormatTag)
- #define ISpeechWaveFormatEx_get_Channels(This,Channels)
- (This)->lpVtbl -> get_Channels(This,Channels)
- #define ISpeechWaveFormatEx_put_Channels(This,Channels)
- (This)->lpVtbl -> put_Channels(This,Channels)
- #define ISpeechWaveFormatEx_get_SamplesPerSec(This,SamplesPerSec)
- (This)->lpVtbl -> get_SamplesPerSec(This,SamplesPerSec)
- #define ISpeechWaveFormatEx_put_SamplesPerSec(This,SamplesPerSec)
- (This)->lpVtbl -> put_SamplesPerSec(This,SamplesPerSec)
- #define ISpeechWaveFormatEx_get_AvgBytesPerSec(This,AvgBytesPerSec)
- (This)->lpVtbl -> get_AvgBytesPerSec(This,AvgBytesPerSec)
- #define ISpeechWaveFormatEx_put_AvgBytesPerSec(This,AvgBytesPerSec)
- (This)->lpVtbl -> put_AvgBytesPerSec(This,AvgBytesPerSec)
- #define ISpeechWaveFormatEx_get_BlockAlign(This,BlockAlign)
- (This)->lpVtbl -> get_BlockAlign(This,BlockAlign)
- #define ISpeechWaveFormatEx_put_BlockAlign(This,BlockAlign)
- (This)->lpVtbl -> put_BlockAlign(This,BlockAlign)
- #define ISpeechWaveFormatEx_get_BitsPerSample(This,BitsPerSample)
- (This)->lpVtbl -> get_BitsPerSample(This,BitsPerSample)
- #define ISpeechWaveFormatEx_put_BitsPerSample(This,BitsPerSample)
- (This)->lpVtbl -> put_BitsPerSample(This,BitsPerSample)
- #define ISpeechWaveFormatEx_get_ExtraData(This,ExtraData)
- (This)->lpVtbl -> get_ExtraData(This,ExtraData)
- #define ISpeechWaveFormatEx_put_ExtraData(This,ExtraData)
- (This)->lpVtbl -> put_ExtraData(This,ExtraData)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechWaveFormatEx_get_FormatTag_Proxy(
- ISpeechWaveFormatEx * This,
- /* [retval][out] */ short *FormatTag);
- void __RPC_STUB ISpeechWaveFormatEx_get_FormatTag_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechWaveFormatEx_put_FormatTag_Proxy(
- ISpeechWaveFormatEx * This,
- /* [in] */ short FormatTag);
- void __RPC_STUB ISpeechWaveFormatEx_put_FormatTag_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechWaveFormatEx_get_Channels_Proxy(
- ISpeechWaveFormatEx * This,
- /* [retval][out] */ short *Channels);
- void __RPC_STUB ISpeechWaveFormatEx_get_Channels_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechWaveFormatEx_put_Channels_Proxy(
- ISpeechWaveFormatEx * This,
- /* [in] */ short Channels);
- void __RPC_STUB ISpeechWaveFormatEx_put_Channels_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechWaveFormatEx_get_SamplesPerSec_Proxy(
- ISpeechWaveFormatEx * This,
- /* [retval][out] */ long *SamplesPerSec);
- void __RPC_STUB ISpeechWaveFormatEx_get_SamplesPerSec_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechWaveFormatEx_put_SamplesPerSec_Proxy(
- ISpeechWaveFormatEx * This,
- /* [in] */ long SamplesPerSec);
- void __RPC_STUB ISpeechWaveFormatEx_put_SamplesPerSec_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechWaveFormatEx_get_AvgBytesPerSec_Proxy(
- ISpeechWaveFormatEx * This,
- /* [retval][out] */ long *AvgBytesPerSec);
- void __RPC_STUB ISpeechWaveFormatEx_get_AvgBytesPerSec_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechWaveFormatEx_put_AvgBytesPerSec_Proxy(
- ISpeechWaveFormatEx * This,
- /* [in] */ long AvgBytesPerSec);
- void __RPC_STUB ISpeechWaveFormatEx_put_AvgBytesPerSec_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechWaveFormatEx_get_BlockAlign_Proxy(
- ISpeechWaveFormatEx * This,
- /* [retval][out] */ short *BlockAlign);
- void __RPC_STUB ISpeechWaveFormatEx_get_BlockAlign_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechWaveFormatEx_put_BlockAlign_Proxy(
- ISpeechWaveFormatEx * This,
- /* [in] */ short BlockAlign);
- void __RPC_STUB ISpeechWaveFormatEx_put_BlockAlign_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechWaveFormatEx_get_BitsPerSample_Proxy(
- ISpeechWaveFormatEx * This,
- /* [retval][out] */ short *BitsPerSample);
- void __RPC_STUB ISpeechWaveFormatEx_get_BitsPerSample_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechWaveFormatEx_put_BitsPerSample_Proxy(
- ISpeechWaveFormatEx * This,
- /* [in] */ short BitsPerSample);
- void __RPC_STUB ISpeechWaveFormatEx_put_BitsPerSample_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechWaveFormatEx_get_ExtraData_Proxy(
- ISpeechWaveFormatEx * This,
- /* [retval][out] */ VARIANT *ExtraData);
- void __RPC_STUB ISpeechWaveFormatEx_get_ExtraData_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE ISpeechWaveFormatEx_put_ExtraData_Proxy(
- ISpeechWaveFormatEx * This,
- /* [in] */ VARIANT ExtraData);
- void __RPC_STUB ISpeechWaveFormatEx_put_ExtraData_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechWaveFormatEx_INTERFACE_DEFINED__ */
- #ifndef __ISpeechBaseStream_INTERFACE_DEFINED__
- #define __ISpeechBaseStream_INTERFACE_DEFINED__
- /* interface ISpeechBaseStream */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechBaseStream;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("6450336F-7D49-4ced-8097-49D6DEE37294")
- ISpeechBaseStream : public IDispatch
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Format(
- /* [retval][out] */ ISpeechAudioFormat **AudioFormat) = 0;
-
- virtual /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE putref_Format(
- /* [in] */ ISpeechAudioFormat *AudioFormat) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Read(
- /* [out] */ VARIANT *Buffer,
- /* [in] */ long NumberOfBytes,
- /* [retval][out] */ long *BytesRead) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Write(
- /* [in] */ VARIANT Buffer,
- /* [retval][out] */ long *BytesWritten) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Seek(
- /* [in] */ VARIANT Position,
- /* [defaultvalue][in] */ SpeechStreamSeekPositionType Origin,
- /* [retval][out] */ VARIANT *NewPosition) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechBaseStreamVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechBaseStream * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechBaseStream * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechBaseStream * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechBaseStream * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechBaseStream * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechBaseStream * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechBaseStream * 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 )(
- ISpeechBaseStream * This,
- /* [retval][out] */ ISpeechAudioFormat **AudioFormat);
-
- /* [id][helpstring][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_Format )(
- ISpeechBaseStream * This,
- /* [in] */ ISpeechAudioFormat *AudioFormat);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Read )(
- ISpeechBaseStream * This,
- /* [out] */ VARIANT *Buffer,
- /* [in] */ long NumberOfBytes,
- /* [retval][out] */ long *BytesRead);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Write )(
- ISpeechBaseStream * This,
- /* [in] */ VARIANT Buffer,
- /* [retval][out] */ long *BytesWritten);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Seek )(
- ISpeechBaseStream * This,
- /* [in] */ VARIANT Position,
- /* [defaultvalue][in] */ SpeechStreamSeekPositionType Origin,
- /* [retval][out] */ VARIANT *NewPosition);
-
- END_INTERFACE
- } ISpeechBaseStreamVtbl;
- interface ISpeechBaseStream
- {
- CONST_VTBL struct ISpeechBaseStreamVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechBaseStream_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechBaseStream_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechBaseStream_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechBaseStream_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechBaseStream_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechBaseStream_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechBaseStream_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechBaseStream_get_Format(This,AudioFormat)
- (This)->lpVtbl -> get_Format(This,AudioFormat)
- #define ISpeechBaseStream_putref_Format(This,AudioFormat)
- (This)->lpVtbl -> putref_Format(This,AudioFormat)
- #define ISpeechBaseStream_Read(This,Buffer,NumberOfBytes,BytesRead)
- (This)->lpVtbl -> Read(This,Buffer,NumberOfBytes,BytesRead)
- #define ISpeechBaseStream_Write(This,Buffer,BytesWritten)
- (This)->lpVtbl -> Write(This,Buffer,BytesWritten)
- #define ISpeechBaseStream_Seek(This,Position,Origin,NewPosition)
- (This)->lpVtbl -> Seek(This,Position,Origin,NewPosition)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechBaseStream_get_Format_Proxy(
- ISpeechBaseStream * This,
- /* [retval][out] */ ISpeechAudioFormat **AudioFormat);
- void __RPC_STUB ISpeechBaseStream_get_Format_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE ISpeechBaseStream_putref_Format_Proxy(
- ISpeechBaseStream * This,
- /* [in] */ ISpeechAudioFormat *AudioFormat);
- void __RPC_STUB ISpeechBaseStream_putref_Format_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechBaseStream_Read_Proxy(
- ISpeechBaseStream * This,
- /* [out] */ VARIANT *Buffer,
- /* [in] */ long NumberOfBytes,
- /* [retval][out] */ long *BytesRead);
- void __RPC_STUB ISpeechBaseStream_Read_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechBaseStream_Write_Proxy(
- ISpeechBaseStream * This,
- /* [in] */ VARIANT Buffer,
- /* [retval][out] */ long *BytesWritten);
- void __RPC_STUB ISpeechBaseStream_Write_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechBaseStream_Seek_Proxy(
- ISpeechBaseStream * This,
- /* [in] */ VARIANT Position,
- /* [defaultvalue][in] */ SpeechStreamSeekPositionType Origin,
- /* [retval][out] */ VARIANT *NewPosition);
- void __RPC_STUB ISpeechBaseStream_Seek_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechBaseStream_INTERFACE_DEFINED__ */
- #ifndef __ISpeechFileStream_INTERFACE_DEFINED__
- #define __ISpeechFileStream_INTERFACE_DEFINED__
- /* interface ISpeechFileStream */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechFileStream;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("AF67F125-AB39-4e93-B4A2-CC2E66E182A7")
- ISpeechFileStream : public ISpeechBaseStream
- {
- public:
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Open(
- /* [in] */ BSTR FileName,
- /* [defaultvalue][in] */ SpeechStreamFileMode FileMode = SSFMOpenForRead,
- /* [defaultvalue][in] */ VARIANT_BOOL DoEvents = 0) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE Close( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechFileStreamVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechFileStream * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechFileStream * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechFileStream * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechFileStream * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechFileStream * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechFileStream * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechFileStream * 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 )(
- ISpeechFileStream * This,
- /* [retval][out] */ ISpeechAudioFormat **AudioFormat);
-
- /* [id][helpstring][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_Format )(
- ISpeechFileStream * This,
- /* [in] */ ISpeechAudioFormat *AudioFormat);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Read )(
- ISpeechFileStream * This,
- /* [out] */ VARIANT *Buffer,
- /* [in] */ long NumberOfBytes,
- /* [retval][out] */ long *BytesRead);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Write )(
- ISpeechFileStream * This,
- /* [in] */ VARIANT Buffer,
- /* [retval][out] */ long *BytesWritten);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Seek )(
- ISpeechFileStream * This,
- /* [in] */ VARIANT Position,
- /* [defaultvalue][in] */ SpeechStreamSeekPositionType Origin,
- /* [retval][out] */ VARIANT *NewPosition);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Open )(
- ISpeechFileStream * This,
- /* [in] */ BSTR FileName,
- /* [defaultvalue][in] */ SpeechStreamFileMode FileMode,
- /* [defaultvalue][in] */ VARIANT_BOOL DoEvents);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Close )(
- ISpeechFileStream * This);
-
- END_INTERFACE
- } ISpeechFileStreamVtbl;
- interface ISpeechFileStream
- {
- CONST_VTBL struct ISpeechFileStreamVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechFileStream_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechFileStream_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechFileStream_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechFileStream_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechFileStream_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechFileStream_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechFileStream_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechFileStream_get_Format(This,AudioFormat)
- (This)->lpVtbl -> get_Format(This,AudioFormat)
- #define ISpeechFileStream_putref_Format(This,AudioFormat)
- (This)->lpVtbl -> putref_Format(This,AudioFormat)
- #define ISpeechFileStream_Read(This,Buffer,NumberOfBytes,BytesRead)
- (This)->lpVtbl -> Read(This,Buffer,NumberOfBytes,BytesRead)
- #define ISpeechFileStream_Write(This,Buffer,BytesWritten)
- (This)->lpVtbl -> Write(This,Buffer,BytesWritten)
- #define ISpeechFileStream_Seek(This,Position,Origin,NewPosition)
- (This)->lpVtbl -> Seek(This,Position,Origin,NewPosition)
- #define ISpeechFileStream_Open(This,FileName,FileMode,DoEvents)
- (This)->lpVtbl -> Open(This,FileName,FileMode,DoEvents)
- #define ISpeechFileStream_Close(This)
- (This)->lpVtbl -> Close(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechFileStream_Open_Proxy(
- ISpeechFileStream * This,
- /* [in] */ BSTR FileName,
- /* [defaultvalue][in] */ SpeechStreamFileMode FileMode,
- /* [defaultvalue][in] */ VARIANT_BOOL DoEvents);
- void __RPC_STUB ISpeechFileStream_Open_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechFileStream_Close_Proxy(
- ISpeechFileStream * This);
- void __RPC_STUB ISpeechFileStream_Close_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechFileStream_INTERFACE_DEFINED__ */
- #ifndef __ISpeechMemoryStream_INTERFACE_DEFINED__
- #define __ISpeechMemoryStream_INTERFACE_DEFINED__
- /* interface ISpeechMemoryStream */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechMemoryStream;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("EEB14B68-808B-4abe-A5EA-B51DA7588008")
- ISpeechMemoryStream : public ISpeechBaseStream
- {
- public:
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE SetData(
- /* [in] */ VARIANT Data) = 0;
-
- virtual /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE GetData(
- /* [retval][out] */ VARIANT *pData) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechMemoryStreamVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechMemoryStream * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechMemoryStream * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechMemoryStream * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechMemoryStream * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechMemoryStream * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechMemoryStream * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechMemoryStream * 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 )(
- ISpeechMemoryStream * This,
- /* [retval][out] */ ISpeechAudioFormat **AudioFormat);
-
- /* [id][helpstring][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_Format )(
- ISpeechMemoryStream * This,
- /* [in] */ ISpeechAudioFormat *AudioFormat);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Read )(
- ISpeechMemoryStream * This,
- /* [out] */ VARIANT *Buffer,
- /* [in] */ long NumberOfBytes,
- /* [retval][out] */ long *BytesRead);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Write )(
- ISpeechMemoryStream * This,
- /* [in] */ VARIANT Buffer,
- /* [retval][out] */ long *BytesWritten);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Seek )(
- ISpeechMemoryStream * This,
- /* [in] */ VARIANT Position,
- /* [defaultvalue][in] */ SpeechStreamSeekPositionType Origin,
- /* [retval][out] */ VARIANT *NewPosition);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetData )(
- ISpeechMemoryStream * This,
- /* [in] */ VARIANT Data);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetData )(
- ISpeechMemoryStream * This,
- /* [retval][out] */ VARIANT *pData);
-
- END_INTERFACE
- } ISpeechMemoryStreamVtbl;
- interface ISpeechMemoryStream
- {
- CONST_VTBL struct ISpeechMemoryStreamVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechMemoryStream_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechMemoryStream_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechMemoryStream_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechMemoryStream_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechMemoryStream_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechMemoryStream_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechMemoryStream_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechMemoryStream_get_Format(This,AudioFormat)
- (This)->lpVtbl -> get_Format(This,AudioFormat)
- #define ISpeechMemoryStream_putref_Format(This,AudioFormat)
- (This)->lpVtbl -> putref_Format(This,AudioFormat)
- #define ISpeechMemoryStream_Read(This,Buffer,NumberOfBytes,BytesRead)
- (This)->lpVtbl -> Read(This,Buffer,NumberOfBytes,BytesRead)
- #define ISpeechMemoryStream_Write(This,Buffer,BytesWritten)
- (This)->lpVtbl -> Write(This,Buffer,BytesWritten)
- #define ISpeechMemoryStream_Seek(This,Position,Origin,NewPosition)
- (This)->lpVtbl -> Seek(This,Position,Origin,NewPosition)
- #define ISpeechMemoryStream_SetData(This,Data)
- (This)->lpVtbl -> SetData(This,Data)
- #define ISpeechMemoryStream_GetData(This,pData)
- (This)->lpVtbl -> GetData(This,pData)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechMemoryStream_SetData_Proxy(
- ISpeechMemoryStream * This,
- /* [in] */ VARIANT Data);
- void __RPC_STUB ISpeechMemoryStream_SetData_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring] */ HRESULT STDMETHODCALLTYPE ISpeechMemoryStream_GetData_Proxy(
- ISpeechMemoryStream * This,
- /* [retval][out] */ VARIANT *pData);
- void __RPC_STUB ISpeechMemoryStream_GetData_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechMemoryStream_INTERFACE_DEFINED__ */
- #ifndef __ISpeechCustomStream_INTERFACE_DEFINED__
- #define __ISpeechCustomStream_INTERFACE_DEFINED__
- /* interface ISpeechCustomStream */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechCustomStream;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("1A9E9F4F-104F-4db8-A115-EFD7FD0C97AE")
- ISpeechCustomStream : public ISpeechBaseStream
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_BaseStream(
- /* [retval][out] */ IUnknown **ppUnkStream) = 0;
-
- virtual /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE putref_BaseStream(
- /* [in] */ IUnknown *pUnkStream) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechCustomStreamVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechCustomStream * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechCustomStream * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechCustomStream * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechCustomStream * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechCustomStream * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechCustomStream * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechCustomStream * 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 )(
- ISpeechCustomStream * This,
- /* [retval][out] */ ISpeechAudioFormat **AudioFormat);
-
- /* [id][helpstring][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_Format )(
- ISpeechCustomStream * This,
- /* [in] */ ISpeechAudioFormat *AudioFormat);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Read )(
- ISpeechCustomStream * This,
- /* [out] */ VARIANT *Buffer,
- /* [in] */ long NumberOfBytes,
- /* [retval][out] */ long *BytesRead);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Write )(
- ISpeechCustomStream * This,
- /* [in] */ VARIANT Buffer,
- /* [retval][out] */ long *BytesWritten);
-
- /* [id][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Seek )(
- ISpeechCustomStream * This,
- /* [in] */ VARIANT Position,
- /* [defaultvalue][in] */ SpeechStreamSeekPositionType Origin,
- /* [retval][out] */ VARIANT *NewPosition);
-
- /* [id][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BaseStream )(
- ISpeechCustomStream * This,
- /* [retval][out] */ IUnknown **ppUnkStream);
-
- /* [id][helpstring][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_BaseStream )(
- ISpeechCustomStream * This,
- /* [in] */ IUnknown *pUnkStream);
-
- END_INTERFACE
- } ISpeechCustomStreamVtbl;
- interface ISpeechCustomStream
- {
- CONST_VTBL struct ISpeechCustomStreamVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpeechCustomStream_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpeechCustomStream_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpeechCustomStream_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpeechCustomStream_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ISpeechCustomStream_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ISpeechCustomStream_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ISpeechCustomStream_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ISpeechCustomStream_get_Format(This,AudioFormat)
- (This)->lpVtbl -> get_Format(This,AudioFormat)
- #define ISpeechCustomStream_putref_Format(This,AudioFormat)
- (This)->lpVtbl -> putref_Format(This,AudioFormat)
- #define ISpeechCustomStream_Read(This,Buffer,NumberOfBytes,BytesRead)
- (This)->lpVtbl -> Read(This,Buffer,NumberOfBytes,BytesRead)
- #define ISpeechCustomStream_Write(This,Buffer,BytesWritten)
- (This)->lpVtbl -> Write(This,Buffer,BytesWritten)
- #define ISpeechCustomStream_Seek(This,Position,Origin,NewPosition)
- (This)->lpVtbl -> Seek(This,Position,Origin,NewPosition)
- #define ISpeechCustomStream_get_BaseStream(This,ppUnkStream)
- (This)->lpVtbl -> get_BaseStream(This,ppUnkStream)
- #define ISpeechCustomStream_putref_BaseStream(This,pUnkStream)
- (This)->lpVtbl -> putref_BaseStream(This,pUnkStream)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE ISpeechCustomStream_get_BaseStream_Proxy(
- ISpeechCustomStream * This,
- /* [retval][out] */ IUnknown **ppUnkStream);
- void __RPC_STUB ISpeechCustomStream_get_BaseStream_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id][helpstring][propputref] */ HRESULT STDMETHODCALLTYPE ISpeechCustomStream_putref_BaseStream_Proxy(
- ISpeechCustomStream * This,
- /* [in] */ IUnknown *pUnkStream);
- void __RPC_STUB ISpeechCustomStream_putref_BaseStream_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpeechCustomStream_INTERFACE_DEFINED__ */
- #ifndef __ISpeechAudio_INTERFACE_DEFINED__
- #define __ISpeechAudio_INTERFACE_DEFINED__
- /* interface ISpeechAudio */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_ISpeechAudio;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("CFF8E175-019E-11d3-A08E-00C04F8EF9B5")
- ISpeechAudio : public ISpeechBaseStream
- {
- public:
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Status(
- /* [retval][out] */ ISpeechAudioStatus **Status) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_BufferInfo(
- /* [retval][out] */ ISpeechAudioBufferInfo **BufferInfo) = 0;
-
- virtual /* [id][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_DefaultFormat(
- /* [retval][out] */ ISpeechAudioFormat **StreamFormat) = 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][propget] */ HRESULT STDMETHODCALLTYPE get_BufferNotifySize(
- /* [retval][out] */ long *BufferNotifySize) = 0;
-
- virtual /* [id][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_BufferNotifySize(
- /* [in] */ long BufferNotifySize) = 0;
-
- virtual /* [id][helpstring][hidden][propget] */ HRESULT STDMETHODCALLTYPE get_EventHandle(
- /* [retval][out] */ long *EventHandle) = 0;
-
- virtual /* [hidden][id][helpstring] */ HRESULT STDMETHODCALLTYPE SetState(
- /* [in] */ SpeechAudioState State) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpeechAudioVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpeechAudio * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpeechAudio * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpeechAudio * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ISpeechAudio * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ISpeechAudio * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ISpeechAudio * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ISpeechAudio * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,