Provides low-level access to a COM interface.
This trait is automatically implemented by the generated bindings and should not be implemented manually.
It is only safe to implement this trait if the implementing type is a valid COM interface pointer meaning the following criteria are met:
- its in-memory representation is equal to
- the vtable is correctly structured beginning with the
- the vtable must be the correct vtable for the supplied IID
Required Associated Constants§
A unique identifier representing this interface.
Attempts to cast the current interface to another interface using
cast is preferred to
query because there is a WinRT method named query but not one
Attempts to create a
Weak reference to this object.