pub trait IDirect3DSurface9_Impl: Sized + IDirect3DResource9_Impl {
    // Required methods
    fn GetContainer(
        &self,
        riid: *const GUID,
        ppcontainer: *mut *mut c_void,
    ) -> Result<()>;
    fn GetDesc(&self, pdesc: *mut D3DSURFACE_DESC) -> Result<()>;
    fn LockRect(
        &self,
        plockedrect: *mut D3DLOCKED_RECT,
        prect: *const RECT,
        flags: u32,
    ) -> Result<()>;
    fn UnlockRect(&self) -> Result<()>;
    fn GetDC(&self, phdc: *mut HDC) -> Result<()>;
    fn ReleaseDC(&self, hdc: HDC) -> Result<()>;
}

Required Methods§

fn GetContainer( &self, riid: *const GUID, ppcontainer: *mut *mut c_void, ) -> Result<()>

fn GetDesc(&self, pdesc: *mut D3DSURFACE_DESC) -> Result<()>

fn LockRect( &self, plockedrect: *mut D3DLOCKED_RECT, prect: *const RECT, flags: u32, ) -> Result<()>

fn UnlockRect(&self) -> Result<()>

fn GetDC(&self, phdc: *mut HDC) -> Result<()>

fn ReleaseDC(&self, hdc: HDC) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§