Commit graph

31 commits

Author SHA1 Message Date
Mohamad Al-Jaf 36e3122329 include: Add support for IAsyncOperation UINT32.
Needed by windows.devices.usb.idl.
2023-07-24 11:52:58 +02:00
Hans Leidekker ac55e6eb9f include: Add Uri runtime class and related definitions. 2023-07-19 12:01:38 +02:00
Mohamad Al-Jaf 296fc81340 include: Add support for BYTE IReference.
Needed by Windows.Networking.Connectivity.IPInformation.
2023-07-07 12:18:14 +02:00
Fabian Maurer 1e659a1fff include/windows.foundation: Add double reference. 2023-07-06 22:58:46 +02:00
Mohamad Al-Jaf 923a1b4e5c include: Add Windows.Foundation.Deferral definition.
Needed by windows.graphics.holographic.idl.
2023-03-17 11:55:36 +01:00
Rémi Bernon 5050ae668d include: Add Windows.Foundation.Collections.IPropertySet definition. 2023-01-25 18:31:03 +01:00
Biswapriyo Nath 8c50a9508c include: Add Windows.Foundation.MemoryBuffer runtimeclass declaration.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-25 15:09:02 +02:00
Biswapriyo Nath 82fe55f3ca include: Use nested namespace declaration in windows.foundation.idl.
And move generic instantiations forward.

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-25 15:08:55 +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 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
Rémi Bernon 1e9b83a440 windows.gaming.input: Implement Controller(Added|Removed) event support.
Using a generic EventHandler<IInspectable *> implementation.

This adds several todo_wine because we currently do not implement custom
game controller factories.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-10 18:27:44 +01:00
Rémi Bernon 474c588249 include: Fix IIterator<T> declaration and missing IVector(View)<T> requires.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-09 20:54:16 +01:00
Rémi Bernon e8dd8b0108 include: Add Windows.Devices.Power.IBatteryReport interface definition.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-07 11:23:42 +01:00
Rémi Bernon 46f4975b05 windows.gaming.input: Introduce a generic IVector<IInspectable *> implementation.
And use it to factor all the IVectorView<T> stubs.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-28 21:31:56 +01:00
Bernhard Kölbl 8d5791a928 include/windows.foundation.idl: Add more declares.
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-11 18:37:14 +01:00
Bernhard Kölbl f89774a79f include/windows.foundation.idl: Add IAsyncAction interface.
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-11 18:36:59 +01:00
Paul Gofman 850083d088 include: Define ISpeechSynthesizer interface.
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
Rémi Bernon 9bc674f57b include: Add GlobalizationPreferences runtimeclass in windows.system.userprofile.idl.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-23 20:52:14 +01:00
Jacek Caban 41df83c50e include: Add missing typedefs to windows.foundation.idl.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-19 22:13:12 +01:00
Rémi Bernon ef5b724fac include: Add ForceFeedbackMotor runtimeclass in windows.gaming.input.forcefeedback.idl.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-19 19:55:34 +01:00
Rémi Bernon 7179898eb2 include: Add IAsyncInfo interface in asyncinfo.idl.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-19 19:55:34 +01:00
Rémi Bernon e680cc53e0 include: Split Windows.Foundation.Collections parameterized types.
To windows.foundation.collections.idl.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-25 22:39:21 +01:00
Rémi Bernon fecfd245a1 widl: Support WinRT parameterized delegate type.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Jacek Caban<jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-18 22:39:33 +01:00
Rémi Bernon d5bf8f4e8a widl: Support partially specialized parameterized type.
This allows parameterized types to reference each other with a different
set of parameters. This is required for instance for IIterable<T>, that
needs to reference IIterator<T>.

The partial specialization is recorded by adding a new parameterized
type, referencing the original one as its template. The parameterized
type chain will be resolved all at once when the type is declared.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-17 21:42:18 +01:00
Rémi Bernon ed21c29481 widl: Support WinRT parameterized type parsing.
And add IVectorView<T> and IIterator<T> parameterized interfaces to
windows.foundation.idl for illustration and future use. They won't
generate any additional code until they are fully specialized.

This is a WIDL-specific feature, but MIDL has some magic knowledge of
these Windows.Foundation.Collections interface templates, and we need a
way to instruct WIDL about them too.

Having these interfaces declared in the IDL, guarded with __WIDL__ ifdef
is easier and more flexible than re-creating the types by hand in WIDL
source.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-12 14:46:29 +01:00
Rémi Bernon 54035a2101 widl: Support WinRT contract attribute.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-01 19:50:04 +01:00
Rémi Bernon ee490ee26c widl: Support WinRT apicontract type.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-01 19:49:52 +01:00
Jacek Caban a00d6ccb7b windows.foundation.idl: Added struct declarations. 2015-08-13 15:03:24 +09:00
Jacek Caban cad391f0f6 windows.foundation.idl: Added PropertyType declaration. 2015-08-07 23:50:48 +09:00
Jacek Caban 21740b5e15 widl: Added support for -ns_prefix option. 2015-08-05 23:42:45 +09:00
Jacek Caban e3c6777edd windows.foundation.idl: Added new file. 2015-08-03 20:50:33 +02:00