Struct com_rs::IUnknown [] [src]

pub struct IUnknown {
    // some fields omitted
}

Base interface for all COM types.

None of the methods on this struct should be called directly, use ComPtr instead.

Methods

impl IUnknown
[src]

unsafe fn query_interface(&self, iid: &IID, object: *mut *mut c_void) -> HResult

Retrieves pointers to the supported interfaces on an object. Use ComPtr::from instead.

unsafe fn add_ref(&self) -> u32

Increments the reference count for an interface on an object. Should never need to call this directly.

unsafe fn release(&self) -> u32

Decrements the reference count for an interface on an object. Should never need to call this directly.

Trait Implementations

impl Debug for IUnknown
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl AsComPtr<IUnknown> for IUnknown
[src]

impl ComInterface for IUnknown
[src]

fn iid() -> IID

Get the IID associated with a COM interface struct.