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.