[][src]Struct com::interfaces::iclass_factory::IClassFactory

#[repr(transparent)]pub struct IClassFactory { /* fields omitted */ }

IClassFactory COM interface

Implementations

impl IClassFactory[src]

pub unsafe fn CreateInstance<'a, __0: Into<Param<'a, Option<IUnknown>>>, __1: Into<Param<'a, *const GUID>>, __2: Into<Param<'a, *mut *mut c_void>>>(
    &self,
    aggr: __0,
    riid: __1,
    ppv: __2
) -> HRESULT
[src]

the CreateInstance COM method

pub unsafe fn LockServer<'a, __0: Into<Param<'a, BOOL>>>(
    &self,
    increment: __0
) -> HRESULT
[src]

the LockServer COM method

impl IClassFactory[src]

pub fn create_instance<T: Interface>(&self) -> Option<T>[src]

Create an instance of the associated class

This is a safe wrapper around CreateInstance

Methods from Deref<Target = <IClassFactory as Interface>::Super>

pub unsafe fn CreateInstance<'a, __0: Into<Param<'a, Option<IUnknown>>>, __1: Into<Param<'a, *const GUID>>, __2: Into<Param<'a, *mut *mut c_void>>>(
    &self,
    aggr: __0,
    riid: __1,
    ppv: __2
) -> HRESULT
[src]

the CreateInstance COM method

pub unsafe fn LockServer<'a, __0: Into<Param<'a, BOOL>>>(
    &self,
    increment: __0
) -> HRESULT
[src]

the LockServer COM method

pub fn create_instance<T: Interface>(&self) -> Option<T>[src]

Create an instance of the associated class

This is a safe wrapper around CreateInstance

Trait Implementations

impl Clone for IClassFactory[src]

impl Debug for IClassFactory[src]

impl Deref for IClassFactory[src]

type Target = <IClassFactory as Interface>::Super

The resulting type after dereferencing.

impl Drop for IClassFactory[src]

impl<'a> From<&'a IClassFactory> for &'a IUnknown[src]

impl From<IClassFactory> for IUnknown[src]

impl Interface for IClassFactory[src]

type VTable = IClassFactoryVTable

A COM compatible V-Table

type Super = IUnknown

The interface that this interface inherits from

impl<'a> Into<Param<'a, IUnknown>> for IClassFactory[src]

impl<'a> Into<Param<'a, IUnknown>> for &'a IClassFactory[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.