[−][src]Trait com::interfaces::IUnknown
IUnknown COM interface
Required methods
unsafe fn query_interface(
&self,
riid: *const GUID,
ppv: *mut *mut c_void
) -> HRESULT
&self,
riid: *const GUID,
ppv: *mut *mut c_void
) -> HRESULT
The COM QueryInterface
Method
This method normally should not be called directly. Interfaces that implement
IUnknown
also implement IUnknown::get_interface
which is a safe wrapper around
IUnknown::query_interface
.
unsafe fn add_ref(&self) -> u32
The COM AddRef
Method
This method normally should not be called directly. This method is used by
ComRc
to implement the reference counting mechanism.
unsafe fn release(&self) -> u32
The COM Release
Method
This method normally should not be called directly. This method is used by
ComRc
to implement the reference counting mechanism.
Trait Implementations
impl ComInterface for dyn IUnknown
[src]
type VTable = IUnknownVTable
A COM compatible V-Table
type Super = dyn IUnknown
The interface that this interface inherits from
const IID: IID
[src]
fn is_iid_in_inheritance_chain(riid: &IID) -> bool
[src]
impl<C: IUnknown> ProductionComInterface<C> for dyn IUnknown
[src]
Implementors
impl<T: IUnknown + ComInterface + ?Sized> IUnknown for ComPtr<T>
[src]
unsafe fn query_interface(
&self,
riid: *const GUID,
ppv: *mut *mut c_void
) -> HRESULT
[src]
&self,
riid: *const GUID,
ppv: *mut *mut c_void
) -> HRESULT