[][src]Struct winapi::shared::d3d9::IDirect3DSwapChain9

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

Fields

lpVtbl: *const IDirect3DSwapChain9Vtbl

Methods

impl IDirect3DSwapChain9[src]

pub unsafe fn Present(
    &self,
    pSourceRect: *const RECT,
    pDestRect: *const RECT,
    hDestWindowOverride: HWND,
    pDirtyRegion: *const RGNDATA,
    dwFlags: DWORD
) -> HRESULT
[src]

pub unsafe fn GetFrontBufferData(
    &self,
    pDestSurface: *mut IDirect3DSurface9
) -> HRESULT
[src]

pub unsafe fn GetBackBuffer(
    &self,
    iBackBuffer: UINT,
    Type: D3DBACKBUFFER_TYPE,
    ppBackBuffer: *mut *mut IDirect3DSurface9
) -> HRESULT
[src]

pub unsafe fn GetRasterStatus(
    &self,
    pRasterStatus: *mut D3DRASTER_STATUS
) -> HRESULT
[src]

pub unsafe fn GetDisplayMode(&self, pMode: *mut D3DDISPLAYMODE) -> HRESULT[src]

pub unsafe fn GetDevice(&self, ppDevice: *mut *mut IDirect3DDevice9) -> HRESULT[src]

pub unsafe fn GetPresentParameters(
    &self,
    pPresentationParameters: *mut D3DPRESENT_PARAMETERS
) -> 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 IDirect3DSwapChain9[src]

impl Deref for IDirect3DSwapChain9[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]