Struct winapi::d3d9::IDirect3DSurface9 [] [src]

pub struct IDirect3DSurface9 {
    pub lpVtbl: *const IDirect3DSurface9Vtbl,
}

Fields

lpVtbl

Methods

impl IDirect3DSurface9

unsafe fn GetContainer(&mut self, riid: *const IID, ppContainer: *mut *mut VOID) -> HRESULT

unsafe fn GetDesc(&mut self, pDesc: *mut D3DSURFACE_DESC) -> HRESULT

unsafe fn LockRect(&mut self, pLockedRect: *mut D3DLOCKED_RECT, pRect: *const RECT, Flags: DWORD) -> HRESULT

unsafe fn UnlockRect(&mut self) -> HRESULT

unsafe fn GetDC(&mut self, phdc: *mut HDC) -> HRESULT

unsafe fn ReleaseDC(&mut self, hdc: HDC) -> HRESULT

Methods from Deref<Target=IDirect3DResource9>

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

unsafe fn SetPrivateData(&mut self, refguid: *const GUID, pData: *const VOID, SizeOfData: DWORD, Flags: DWORD) -> HRESULT

unsafe fn GetPrivateData(&mut self, refguid: *const GUID, pData: *mut VOID, pSizeOfData: *mut DWORD) -> HRESULT

unsafe fn FreePrivateData(&mut self, refguid: *const GUID) -> HRESULT

unsafe fn SetPriority(&mut self, PriorityNew: DWORD) -> DWORD

unsafe fn GetPriority(&mut self) -> DWORD

unsafe fn PreLoad(&mut self)

unsafe fn GetType(&mut self) -> D3DRESOURCETYPE

Trait Implementations

impl Deref for IDirect3DSurface9

type Target = IDirect3DResource9

fn deref(&self) -> &IDirect3DResource9

impl DerefMut for IDirect3DSurface9

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

Derived Implementations

impl Debug for IDirect3DSurface9

fn fmt(&self, __arg_0: &mut Formatter) -> Result