Rémi Bernon (@rbernon) commented about dlls/windows.perception.stub/tests/perception.c:
check_interface( factory, &IID_IInspectable ); check_interface( factory, &IID_IAgileObject );
- hr = IActivationFactory_QueryInterface( factory, &IID_ISpatialSurfaceObserverStatics, (void **)&observer_statics );
- ok( hr == S_OK, "got hr %#lx.\n", hr );
- ref = ISpatialSurfaceObserverStatics_Release( observer_statics );
- ok( ref == 2, "got ref %ld.\n", ref );
You could just call `check_interface` there I guess? Also it doesn't look like `ISpatialSurfaceObserverStatics` iface is actually needed, or are the games querying it?
Fwiw, you don't have to implement every interface, only the default and then the needed ones. It probably doesn't matter too much here.