Quote Originally Posted by wqweto View Post
Is operator first casts to IUnknown and then compares the ObjPtr of these references.
That actually makes perfect sense. And, the link states...

For any given object instance, a call to QueryInterface with IID_IUnknown must always return the same physical pointer value.
...which basically just affirms what you said.

All stuff that's good to know that I hadn't really thought about before. I typically use the "Is" operator, but I could have seen myself comparing ObjPtr() values and not thinking anything of it.