Bernhard K��lbl (@besentv) commented about dlls/windows.devices.enumeration/tests/devices.c:
&stopped_token );
- ok( hr == S_OK, "got hr %#lx\n", hr );
- hr = IDeviceWatcher_get_Status( device_watcher, &status );
- todo_wine ok( hr == S_OK, "got hr %#lx\n", hr );
- todo_wine ok( status == DeviceWatcherStatus_Created, "got status %u\n", status );
- hr = IDeviceWatcher_Start( device_watcher );
- ok( hr == S_OK, "got hr %#lx\n", hr );
- hr = IDeviceWatcher_get_Status( device_watcher, &status );
- todo_wine ok( hr == S_OK, "got hr %#lx\n", hr );
- todo_wine ok( status == DeviceWatcherStatus_Started, "got status %u\n", status );
- hr = IDeviceWatcher_Stop( device_watcher );
- ok( hr == S_OK, "got hr %#lx\n", hr );
- WaitForSingleObject( stopped_handler.event, 1000 );
ok( !WaitForSingleObject( stopped_handler.event, 1000 ), "Wait for stopped_handler.event failed.\n" );