include/windows.media.speechrecognition.idl: Add SpeechRecognitionCompilationResult.

Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Bernhard Kölbl 2022-03-01 17:42:37 +01:00 committed by Alexandre Julliard
parent b5147ad87c
commit 71d9e9663a
1 changed files with 21 additions and 0 deletions

View File

@ -40,6 +40,7 @@ namespace Windows {
interface ISpeechContinuousRecognitionCompletedEventArgs;
interface ISpeechContinuousRecognitionResultGeneratedEventArgs;
interface ISpeechContinuousRecognitionSession;
interface ISpeechRecognitionCompilationResult;
interface ISpeechRecognitionConstraint;
interface ISpeechRecognitionHypothesis;
interface ISpeechRecognitionHypothesisGeneratedEventArgs;
@ -51,6 +52,7 @@ namespace Windows {
runtimeclass SpeechContinuousRecognitionCompletedEventArgs;
runtimeclass SpeechContinuousRecognitionResultGeneratedEventArgs;
runtimeclass SpeechContinuousRecognitionSession;
runtimeclass SpeechRecognitionCompilationResult;
runtimeclass SpeechRecognitionHypothesis;
runtimeclass SpeechRecognitionHypothesisGeneratedEventArgs;
runtimeclass SpeechRecognitionResult;
@ -177,6 +179,16 @@ namespace Windows {
[eventremove] HRESULT ResultGenerated([in] EventRegistrationToken token);
}
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
exclusiveto(Windows.Media.SpeechRecognition.SpeechRecognitionCompilationResult),
uuid(407e6c5d-6ac7-4da4-9cc1-2fce32cf7489)
]
interface ISpeechRecognitionCompilationResult : IInspectable
{
[propget] HRESULT Status([out, retval] Windows.Media.SpeechRecognition.SpeechRecognitionResultStatus *value);
}
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
uuid(79ac1628-4d68-43c4-8911-40dc4101b55b)
@ -312,6 +324,15 @@ namespace Windows {
[default] interface Windows.Media.SpeechRecognition.ISpeechContinuousRecognitionSession;
}
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
marshaling_behavior(agile)
]
runtimeclass SpeechRecognitionCompilationResult
{
[default] interface Windows.Media.SpeechRecognition.ISpeechRecognitionCompilationResult;
}
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
marshaling_behavior(agile),