Rémi Bernon
3276ab4aeb
windows.media.speech: Assume that async_run_work cannot be NULL in IAsyncInfo_Close.
...
Unless it's closed already.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-27 22:24:21 +02:00
Rémi Bernon
515899483e
windows.media.speech: Simplify error handling in async_operation_create.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-27 22:24:19 +02:00
Rémi Bernon
8992e20898
windows.media.speech: Initialize HRESULT variables consistently.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-27 22:24:17 +02:00
Rémi Bernon
77632af839
windows.media.speech: Return E_ILLEGAL_METHOD_CALL from get_ErrorCode.
...
When async operation status is Closed.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-27 22:24:15 +02:00
Rémi Bernon
4a7ebca319
windows.media.speech: Return operation error from IAsyncOperation_GetResults.
...
And E_ILLEGAL_METHOD_CALL if called when status isn't Completed or
Error.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-27 22:24:13 +02:00
Bernhard Kölbl
5c27a1ccc2
windows.media.speech: Add ISpeechRecognitionCompilationResult.
...
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>
2022-04-22 21:42:20 +02:00
Bernhard Kölbl
f3c131c768
windows.media.speech: Implement concurrency in IAsyncOperation.
...
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>
2022-04-22 21:42:20 +02:00
Bernhard Kölbl
caf138f590
windows.media.speech: Partially implement IAsyncOperation.
...
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>
2022-04-22 21:42:20 +02:00
Bernhard Kölbl
9d67ca493a
windows.media.speech/tests: Add tests to check if IAsyncInfo_Close is non blocking.
...
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>
2022-04-22 21:42:20 +02:00
Bernhard Kölbl
5839f1da7f
windows.media.speech/tests: Remove an unnecessary variable.
...
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>
2022-04-22 21:42:20 +02:00
Bernhard Kölbl
d25ff1802a
windows.media.speech/tests: Remove some tests.
...
The tests were mostly broken, racing or inconsistent.
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>
2022-04-22 21:42:20 +02:00
Bernhard Kölbl
457291c75c
windows.media.speech/tests: Make waits non infinite.
...
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>
2022-04-21 18:58:02 +02:00
Bernhard Kölbl
2fe6d070fb
windows.media.speech/tests: Fix some uses after release.
...
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>
2022-04-21 18:57:58 +02:00
Bernhard Kölbl
5a815669e8
windows.media.speech: Add IAsyncInfo stub to IAsyncOperation<Inspectable*>.
...
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>
2022-04-06 23:07:21 +02:00
Bernhard Kölbl
fb91a29998
windows.media.speech: Add IAsyncOperation<Inspectable*> stub.
...
And return an instance of it in ISpeechRecognizer_CompileConstraintsAsync.
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>
2022-04-06 23:07:20 +02:00
Bernhard Kölbl
4926bb148b
windows.media.speech: Add tests for IAsyncOperation.
...
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>
2022-04-06 23:07:20 +02:00
Bernhard Kölbl
1f35e2fe4f
windows.media.speech: Implement ISpeechRecognizer_get_Constraints.
...
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>
2022-03-30 21:57:02 +02:00
Bernhard Kölbl
3366fecc3c
windows.media.speech: Add IIterator<Inspectable*>.
...
And implement the IIterable<Inspectable*>_First methods.
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>
2022-03-30 21:56:59 +02:00
Bernhard Kölbl
7f5f468748
windows.media.speech: Add IIterable<IInspectable*> stubs.
...
To both IVector<IInspectable*> and IVectorView<IInspectable*>.
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>
2022-03-30 21:56:55 +02:00
Bernhard Kölbl
ba387d5369
windows.media.speech: Add IVectorView<Inspectable*>.
...
And make it obtainable from IVector<Inspectable*>_GetView.
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>
2022-03-30 21:56:51 +02:00
Bernhard Kölbl
4bbc4cebc4
windows.media.speech: Add IVector<Inspectable*>.
...
And use it in recognizer.
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>
2022-03-30 21:56:47 +02:00
Bernhard Kölbl
743d77b2f5
windows.media.speech: Store speech commands in listconstraint.
...
And make them obtainable with ISpeechRecognitionListConstraint_get_Commands.
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>
2022-03-29 20:53:50 +02:00
Bernhard Kölbl
a709f24292
windows.media.speech: Add IIterator<HSTRING>.
...
And implement the IIterable<HSTRING>_First methods.
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>
2022-03-29 20:53:50 +02:00
Bernhard Kölbl
c6b9d9bc4e
windows.media.speech: Add IIterable<HSTRING> stubs.
...
To both IVector<HSTRING> and IVectorView<HSTRING>.
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>
2022-03-29 20:53:50 +02:00
Bernhard Kölbl
016b0a1b04
windows.media.speech: Add IVectorView<HSTRING>.
...
And make it obtainable from IVector<HSTRING>_GetView.
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>
2022-03-29 20:53:50 +02:00
Bernhard Kölbl
d8c9e67059
windows.media.speech: Add IVector<HSTRING>.
...
And use it in listconstraint.
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>
2022-03-29 20:53:50 +02:00
Andrew Eikum
4efd4338e4
windows.media.speech: Add ISpeechSynthesizer2 stub.
...
A recent update for Microsoft Flight Simulator requires this.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-23 18:42:14 +01:00
Bernhard Kölbl
c091065766
windows.media.speech: Implement Completed event.
...
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>
2022-03-16 21:16:21 +01:00
Bernhard Kölbl
3549bb80d0
windows.media.speech: Implement ResultGenerated event.
...
Also add helpers to manage typed event handlers.
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>
2022-03-16 21:16:21 +01:00
Bernhard Kölbl
0ff960b737
windows.media.speech: Implement ISpeechRecognizer2_get_ContinuousRecognitionSession.
...
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>
2022-03-16 21:16:21 +01:00
Bernhard Kölbl
a03a4ee60e
windows.media.speech: Add SpeechContinousRecognitionSession stub.
...
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>
2022-03-16 21:16:21 +01:00
Bernhard Kölbl
be725a5e0d
windows.media.speech: Implement ISpeechRecognitionConstraint isEnabled.
...
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>
2022-03-16 21:16:21 +01:00
Bernhard Kölbl
ab9fa4c679
windows.media.speech: Add SpeechRecognitionListConstraint stub.
...
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>
2022-03-14 18:30:28 +01:00
Bernhard Kölbl
c0afc986b3
windows.media.speech: Add SpeechRecognitionListConstraint statics stub.
...
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>
2022-03-14 18:30:28 +01:00
Bernhard Kölbl
954b14348d
windows.media.speech/tests: Add tests for SpeechRecognitionListConstraint.
...
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>
2022-03-14 18:30:28 +01:00
Bernhard Kölbl
d8a6fc032d
windows.media.speech: Add IAgileObject to SpeechRecognizer.
...
Also make some style improvements.
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>
2022-03-14 18:30:28 +01:00
Bernhard Kölbl
3130182d0f
windows.media.speech/tests: Add basic tests for the SpeechRecognizer class.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-10 22:18:58 +01:00
Bernhard Kölbl
2e53f9e4e5
windows.media.speech: Add SpeechRecognizer stub.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-10 22:18:58 +01:00
Bernhard Kölbl
3cea4f9be3
windows.media.speech: Add SpeechRecognizer statics stubs.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-10 22:18:58 +01:00
Bernhard Kölbl
f6bc470222
windows.media.speech: Import DEFINE_INSPECTABLE macros.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-10 22:18:58 +01:00
Bernhard Kölbl
56accc2532
windows.media.speech/tests: Compile with long types.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-10 18:27:43 +01:00
Bernhard Kölbl
79a19b2b6b
windows.media.speech/tests: Add basic tests for activation factory ifaces.
...
To test, if the ifaces are static and if each activatable class
has it's own activation factory.
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>
2022-03-09 20:54:17 +01:00
Bernhard Kölbl
ebd34c38b1
windows.media.speech: Rename activation factory for SpeechSynthesizer.
...
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>
2022-03-09 20:54:17 +01:00
Bernhard Kölbl
b28902cc27
windows.media.speech: Use C object macros to call iface methods.
...
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>
2022-03-09 20:54:17 +01:00
Bernhard Kölbl
06cba124db
windows.media.speech: Move SpeechSynthesizer into separate file.
...
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>
2022-03-09 20:54:17 +01:00
Bernhard Kölbl
eb6ac35654
windows.media.speech: Explicitly check for available activation factory.
...
Also return the right value when no factory was found.
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>
2022-03-09 20:54:17 +01:00
Bernhard Kölbl
22690a80cc
windows.media.speech: Create private header.
...
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>
2022-03-09 20:54:17 +01:00
Eric Pouech
f0f4e105f1
windows.media.speech: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-22 18:20:23 +01:00
Alexandre Julliard
f0cd33c69e
include: Add support for defining Win32 types as 'long' where possible.
...
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Paul Gofman
a3ef7a13c8
windows.media.speech: Add stub SpeechSynthesizer class.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-30 16:01:11 +01:00