[][src]Trait com::interfaces::iunknown::IUnknown

pub trait IUnknown {
    unsafe fn query_interface(
        &self,
        riid: *const GUID,
        ppv: *mut *mut c_void
    ) -> HRESULT;
unsafe fn add_ref(&self) -> u32;
unsafe fn release(&self) -> u32; }

IUnknown COM interface

Required methods

unsafe fn query_interface(
    &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.

Loading content...

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

impl<C: IUnknown> ProductionComInterface<C> for dyn IUnknown[src]

Implementors

impl<T: IUnknown + ComInterface + ?Sized> IUnknown for ComPtr<T>[src]

impl<T: IUnknown + ComInterface + ?Sized> IUnknown for ComRc<T>[src]

Loading content...