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

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

Fields

lpVtbl: *const IDCompositionSurfaceFactoryVtbl

Methods

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 Interface for IDCompositionSurfaceFactory[src]

impl Deref for IDCompositionSurfaceFactory[src]

type Target = IUnknown

The resulting type after dereferencing.

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

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