Rémi Bernon (@rbernon) commented about dlls/windows.devices.geolocation.geolocator/tests/geolocator.c:
check_interface(factory, &IID_IInspectable, FALSE); check_interface(factory, &IID_IAgileObject, TRUE); check_interface(factory, &IID_IActivationFactory, FALSE);
- hr = IActivationFactory_ActivateInstance(factory, &inspectable);
- ok(hr == S_OK && inspectable, "got hr %#lx.\n", hr);
- check_interface(inspectable, &IID_IUnknown, FALSE);
- check_interface(inspectable, &IID_IInspectable, FALSE);
- check_interface(inspectable, &IID_IAgileObject, FALSE);
- hr = IInspectable_QueryInterface(inspectable, &IID_IGeolocator, (void **)&geolocator);
- ok(hr == S_OK && geolocator, "got hr %#lx.\n", hr);
- ok((void*)inspectable == (void*)geolocator, "Interfaces are not the same\n");
```suggestion:-0+0 ok((void *)inspectable == (void *)geolocator, "Interfaces are not the same\n"); ```