On Mon Jul 3 09:42:26 2023 +0000, Rémi Bernon wrote:
I suspect that this should not do that, and only let you query the IWeakReference interface. Otherwise this would be a way to acquire public reference on an invalid (with ref_public == 0) object.
Fwiw this could be a test, checking that IWeakReference_QueryInterface only let you query IWeakReference iface, could also be interesting to check what it does for IAgileObject which is often implemented everywhere.