[][src]Struct winapi::um::dcomp::IDCompositionSurfaceFactory

#[repr(C)]pub struct IDCompositionSurfaceFactory {
    pub lpVtbl: *const IDCompositionSurfaceFactoryVtbl,
}

Fields

lpVtbl: *const IDCompositionSurfaceFactoryVtbl

Implementations

impl IDCompositionSurfaceFactory[src]

pub unsafe fn CreateSurface(
    &self,
    width: UINT,
    height: UINT,
    pixelFormat: DXGI_FORMAT,
    alphaMode: DXGI_ALPHA_MODE,
    surface: *mut *mut IDCompositionSurface
) -> HRESULT
[src]

pub unsafe fn CreateVirtualSurface(
    &self,
    initialWidth: UINT,
    initialHeight: UINT,
    pixelFormat: DXGI_FORMAT,
    alphaMode: DXGI_ALPHA_MODE,
    virtualSurface: *mut *mut IDCompositionVirtualSurface
) -> HRESULT
[src]

Methods from Deref<Target = IUnknown>

pub unsafe fn QueryInterface(
    &self,
    riid: REFIID,
    ppvObject: *mut *mut c_void
) -> HRESULT
[src]

pub unsafe fn AddRef(&self) -> ULONG[src]

pub unsafe fn Release(&self) -> ULONG[src]

Trait Implementations

impl Deref for IDCompositionSurfaceFactory[src]

type Target = IUnknown

The resulting type after dereferencing.

impl Interface for IDCompositionSurfaceFactory[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, 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.