Bernhard Kölbl : include/windows.media.speechrecognition.idl: Add SpeechRecognitionHypothesis.
Alexandre Julliard
julliard at winehq.org
Mon Feb 28 15:50:29 CST 2022
Module: wine
Branch: master
Commit: dc1d318ea27a72841c2b94926935af57e410c02c
URL: https://source.winehq.org/git/wine.git/?a=commit;h=dc1d318ea27a72841c2b94926935af57e410c02c
Author: Bernhard Kölbl <besentv at gmail.com>
Date: Sat Feb 26 09:27:31 2022 +0100
include/windows.media.speechrecognition.idl: Add SpeechRecognitionHypothesis.
Signed-off-by: Bernhard Kölbl <besentv at gmail.com>
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/windows.media.speechrecognition.idl | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/include/windows.media.speechrecognition.idl b/include/windows.media.speechrecognition.idl
index ad0590bcae6..d921241ac55 100644
--- a/include/windows.media.speechrecognition.idl
+++ b/include/windows.media.speechrecognition.idl
@@ -41,12 +41,14 @@ namespace Windows {
interface ISpeechContinuousRecognitionResultGeneratedEventArgs;
interface ISpeechContinuousRecognitionSession;
interface ISpeechRecognitionConstraint;
+ interface ISpeechRecognitionHypothesis;
interface ISpeechRecognitionResult;
interface ISpeechRecognitionResult2;
interface ISpeechRecognitionSemanticInterpretation;
runtimeclass SpeechContinuousRecognitionCompletedEventArgs;
runtimeclass SpeechContinuousRecognitionResultGeneratedEventArgs;
runtimeclass SpeechContinuousRecognitionSession;
+ runtimeclass SpeechRecognitionHypothesis;
runtimeclass SpeechRecognitionResult;
runtimeclass SpeechRecognitionSemanticInterpretation;
}
@@ -184,6 +186,16 @@ namespace Windows {
[propput] HRESULT Probability([in] Windows.Media.SpeechRecognition.SpeechRecognitionConstraintProbability value);
}
+ [
+ contract(Windows.Foundation.UniversalApiContract, 1.0),
+ exclusiveto(Windows.Media.SpeechRecognition.SpeechRecognitionHypothesis),
+ uuid(7a7b25b0-99c5-4f7d-bf84-10aa1302b634)
+ ]
+ interface ISpeechRecognitionHypothesis : IInspectable
+ {
+ [propget] HRESULT Text([out, retval] HSTRING *value);
+ }
+
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
exclusiveto(Windows.Media.SpeechRecognition.SpeechRecognitionResult),
@@ -252,6 +264,16 @@ namespace Windows {
[default] interface Windows.Media.SpeechRecognition.ISpeechContinuousRecognitionSession;
}
+ [
+ contract(Windows.Foundation.UniversalApiContract, 1.0),
+ marshaling_behavior(agile),
+ threading(both)
+ ]
+ runtimeclass SpeechRecognitionHypothesis
+ {
+ [default] interface Windows.Media.SpeechRecognition.ISpeechRecognitionHypothesis;
+ }
+
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
marshaling_behavior(agile)
More information about the wine-cvs
mailing list