[PATCH v2 5/5] include/windows.media.speechrecognition.idl: Add SpeechRecognizer.

Rémi Bernon rbernon at codeweavers.com
Tue Mar 1 13:07:24 CST 2022


On 3/1/22 20:05, Alexandre Julliard wrote:
> Rémi Bernon <rbernon at codeweavers.com> writes:
> 
>> @@ -433,6 +526,21 @@ namespace Windows {
>>                   [default] interface Windows.Media.SpeechRecognition.ISpeechRecognitionSemanticInterpretation;
>>               }
>>   
>> +            [
>> +                activatable(Windows.Foundation.UniversalApiContract, 1.0),
>> +                activatable(Windows.Media.SpeechRecognition.ISpeechRecognizerFactory, Windows.Foundation.UniversalApiContract, 1.0),
>> +                contract(Windows.Foundation.UniversalApiContract, 1.0),
>> +                marshaling_behavior(agile),
>> +                static(Windows.Media.SpeechRecognition.ISpeechRecognizerStatics, Windows.Foundation.UniversalApiContract, 1.0),
>> +                static(Windows.Media.SpeechRecognition.ISpeechRecognizerStatics2, Windows.Foundation.UniversalApiContract, 5.0)
>> +            ]
>> +            runtimeclass SpeechRecognizer
>> +            {
>> +                [default] interface Windows.Media.SpeechRecognition.ISpeechRecognizer;
>> +                interface Windows.Foundation.IClosable;
>> +                [contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.Media.SpeechRecognition.ISpeechRecognizer2;
>> +            }
> 
> This is causing a warning:
> 
> include/windows.media.speechrecognition.idl:532: warning: duplicate attribute activatable
> 

Ah, I missed it somehow, sorry. It seems correct according to the SDK, 
so probably something that needs fixing in widl.
-- 
Rémi Bernon <rbernon at codeweavers.com>



More information about the wine-devel mailing list