Bernhard K��lbl (@besentv) commented about dlls/windows.devices.enumeration/tests/devices.c:
+ WaitForSingleObject( stopped_handler.event, 1000 ); + + hr = IDeviceWatcher_get_Status( device_watcher, &status ); + todo_wine ok( hr == S_OK, "got hr %#lx\n", hr ); + todo_wine ok( status == DeviceWatcherStatus_Stopped, "got status %u\n", status ); + ok( stopped_handler.invoked, "stopped_handler not invoked\n" ); + ok( stopped_handler.args == NULL, "stopped_handler not invoked\n" ); + + CloseHandle( stopped_handler.event ); + IDeviceWatcher_Release( device_watcher ); + IInspectable_Release( inspectable2 ); + +skip_device_statics2: + ref = IInspectable_Release( inspectable ); + ok( ref == 1, "got ref %lu\n", ref ); +
skip_device_statics2:
IInspectable_Release( inspectable );
ref = IActivationFactory_Release( factory );
ok( ref == 1, "got ref %lu\n", ref );
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/716#note_7166