Rémi Bernon (@rbernon) commented about dlls/windows.ui/tests/uisettings.c:
check_interface( factory, &IID_IInspectable, TRUE ); check_interface( factory, &IID_IAgileObject, FALSE );
- hr = IActivationFactory_QueryInterface( factory, &IID_IUISettings3, (void **)&uisettings3 );
- ok( hr == E_NOINTERFACE, "Got unexpected hr %#lx.\n", hr );
- hr = RoActivateInstance( str, &inspectable );
- ok( hr == S_OK, "Got unexpected hr %#lx.\n", hr );
- WindowsDeleteString( str );
- hr = IInspectable_QueryInterface( inspectable, &IID_IUISettings3, (void **)&uisettings3 );
- ok( hr == S_OK || broken( hr == E_NOINTERFACE ), "Got unexpected hr %#lx.\n", hr );
- if (FAILED( hr ))
```suggestion:-0+0 if (FAILED(hr)) ```