Trait windows::Win32::Graphics::Direct3D9::IDirect3DVolume9_Impl
pub trait IDirect3DVolume9_Impl: Sized {
// Required methods
fn GetDevice(&self) -> Result<IDirect3DDevice9>;
fn SetPrivateData(
&self,
refguid: *const GUID,
pdata: *const c_void,
sizeofdata: u32,
flags: u32,
) -> Result<()>;
fn GetPrivateData(
&self,
refguid: *const GUID,
pdata: *mut c_void,
psizeofdata: *mut u32,
) -> Result<()>;
fn FreePrivateData(&self, refguid: *const GUID) -> Result<()>;
fn GetContainer(
&self,
riid: *const GUID,
ppcontainer: *mut *mut c_void,
) -> Result<()>;
fn GetDesc(&self, pdesc: *mut D3DVOLUME_DESC) -> Result<()>;
fn LockBox(
&self,
plockedvolume: *mut D3DLOCKED_BOX,
pbox: *const D3DBOX,
flags: u32,
) -> Result<()>;
fn UnlockBox(&self) -> Result<()>;
}
Required Methods§
fn GetDevice(&self) -> Result<IDirect3DDevice9>
fn SetPrivateData( &self, refguid: *const GUID, pdata: *const c_void, sizeofdata: u32, flags: u32, ) -> Result<()>
fn GetPrivateData( &self, refguid: *const GUID, pdata: *mut c_void, psizeofdata: *mut u32, ) -> Result<()>
fn FreePrivateData(&self, refguid: *const GUID) -> Result<()>
fn GetContainer( &self, riid: *const GUID, ppcontainer: *mut *mut c_void, ) -> Result<()>
fn GetDesc(&self, pdesc: *mut D3DVOLUME_DESC) -> Result<()>
fn LockBox( &self, plockedvolume: *mut D3DLOCKED_BOX, pbox: *const D3DBOX, flags: u32, ) -> Result<()>
fn UnlockBox(&self) -> Result<()>
Object Safety§
This trait is not object safe.