Eh, I probably didn't see the warning. It's definitely a Widl issue, though. I'll try to submit a patch for that.
Bernhard
Am Di., 1. März 2022 um 20:07 Uhr schrieb Rémi Bernon rbernon@codeweavers.com:
On 3/1/22 20:05, Alexandre Julliard wrote:
Rémi Bernon rbernon@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@codeweavers.com