Trait IVMRSurfaceAllocatorNotify9_Impl
pub trait IVMRSurfaceAllocatorNotify9_Impl: IUnknownImpl {
// Required methods
fn AdviseSurfaceAllocator(
&self,
dwuserid: usize,
lpivrmsurfaceallocator: Ref<'_, IVMRSurfaceAllocator9>,
) -> Result<()>;
fn SetD3DDevice(
&self,
lpd3ddevice: Ref<'_, IDirect3DDevice9>,
hmonitor: HMONITOR,
) -> Result<()>;
fn ChangeD3DDevice(
&self,
lpd3ddevice: Ref<'_, IDirect3DDevice9>,
hmonitor: HMONITOR,
) -> Result<()>;
fn AllocateSurfaceHelper(
&self,
lpallocinfo: *const VMR9AllocationInfo,
lpnumbuffers: *mut u32,
lplpsurface: OutRef<'_, IDirect3DSurface9>,
) -> Result<()>;
fn NotifyEvent(
&self,
eventcode: i32,
param1: isize,
param2: isize,
) -> Result<()>;
}
Required Methods§
fn AdviseSurfaceAllocator( &self, dwuserid: usize, lpivrmsurfaceallocator: Ref<'_, IVMRSurfaceAllocator9>, ) -> Result<()>
fn SetD3DDevice( &self, lpd3ddevice: Ref<'_, IDirect3DDevice9>, hmonitor: HMONITOR, ) -> Result<()>
fn ChangeD3DDevice( &self, lpd3ddevice: Ref<'_, IDirect3DDevice9>, hmonitor: HMONITOR, ) -> Result<()>
fn AllocateSurfaceHelper( &self, lpallocinfo: *const VMR9AllocationInfo, lpnumbuffers: *mut u32, lplpsurface: OutRef<'_, IDirect3DSurface9>, ) -> Result<()>
fn NotifyEvent( &self, eventcode: i32, param1: isize, param2: isize, ) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.