Struct dxgi_win::interfaces::IDXGISurface [] [src]

pub struct IDXGISurface {
    pub lpVtbl: *const IDXGISurfaceVtbl,
}

Fields

lpVtbl

Methods

impl IDXGISurface

unsafe fn GetDesc(&mut self, desc: *mut DXGI_SURFACE_DESC) -> HRESULT

unsafe fn Map(&mut self, locked_rect: *mut DXGI_MAPPED_RECT, map_flags: UINT) -> HRESULT

unsafe fn Unmap(&mut self) -> HRESULT

Methods from Deref<Target=IDXGIDeviceSubObject>

unsafe fn GetDevice(&mut self, riid: REFIID, device: *mut *mut c_void) -> HRESULT

Trait Implementations

impl Deref for IDXGISurface

type Target = IDXGIDeviceSubObject

fn deref(&self) -> &IDXGIDeviceSubObject

impl DerefMut for IDXGISurface

fn deref_mut(&mut self) -> &mut IDXGIDeviceSubObject

impl COMInterface for IDXGISurface

fn i_unknown(&self) -> &IUnknown

fn i_unknown_mut(&mut self) -> &mut IUnknown

impl QueryIID for IDXGISurface

fn iid() -> GUID