Implement `DeviceWatcher` on top of a `HDEVQUERY` object, obtained from `DevCreateObjectQuery`. All events from the query object's associated callback are directly forwarded to the `DeviceWatcher`'s corresponding event handlers.
As closing/freeing the `HDEVQUERY` is performed asynchronously, I have also added `IWeakReference` support for the device watcher.
--
v3: windows.devices.enumeration: Implement DeviceInformationStatics::DeviceWatcher using DevCreateObjectQuery.
windows.devices.enumeration: Implement IWeakReferenceSource for DeviceWatcher.
windows.devices.enumeration/tests: Add weak reference tests for DeviceWatcher.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8555
Implement `DeviceWatcher` on top of a `HDEVQUERY` object, obtained from `DevCreateObjectQuery`. All events from the query object's associated callback are directly forwarded to the `DeviceWatcher`'s corresponding event handlers.
As closing/freeing the `HDEVQUERY` is performed asynchronously, I have also added `IWeakReference` support for the device watcher.
--
v2: windows.devices.enumeration: Implement DeviceInformationStatics::DeviceWatcher using DevCreateObjectQuery.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8555
Needed by LINE.
The IMediaTranscoder2 definition isn't needed for this, but it's small enough to add in case it's used by mingw.
--
v4: windows.media: Implement IActivationFactory::ActivateInstance() for IMediaTranscoder.
include: Add windows.media.transcoding.idl.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8554