Rémi Bernon (@rbernon) commented about dlls/windows.devices.bluetooth/tests/bluetooth.c:
- {
todo_wine win_skip( "%s runtimeclass not registered, skipping tests.\n", wine_dbgstr_w( class_name ) );
return;
- }
- check_interface( factory, &IID_IUnknown );
- check_interface( factory, &IID_IInspectable );
- check_interface( factory, &IID_IAgileObject );
- hr = IActivationFactory_QueryInterface( factory, &IID_IBluetoothLEDeviceStatics, (void **)&statics );
- ok( hr == S_OK, "got hr %#lx.\n", hr );
- IActivationFactory_Release( factory );
- if (FAILED( hr ))
- {
skip( "BluetoothLEDeviceStatics not available.\n" );
return;
- }
This doesn't seem necessary? The test right before it would fail if the call failed.