pub trait IVMRSurfaceAllocatorNotify9_Impl: Sized {
// Required methods
fn AdviseSurfaceAllocator(
&self,
dwuserid: usize,
lpivrmsurfaceallocator: Option<&IVMRSurfaceAllocator9>,
) -> Result<()>;
fn SetD3DDevice(
&self,
lpd3ddevice: Option<&IDirect3DDevice9>,
hmonitor: HMONITOR,
) -> Result<()>;
fn ChangeD3DDevice(
&self,
lpd3ddevice: Option<&IDirect3DDevice9>,
hmonitor: HMONITOR,
) -> Result<()>;
fn AllocateSurfaceHelper(
&self,
lpallocinfo: *const VMR9AllocationInfo,
lpnumbuffers: *mut u32,
lplpsurface: *mut Option<IDirect3DSurface9>,
) -> Result<()>;
fn NotifyEvent(
&self,
eventcode: i32,
param1: isize,
param2: isize,
) -> Result<()>;
}
Required Methods§
fn AdviseSurfaceAllocator( &self, dwuserid: usize, lpivrmsurfaceallocator: Option<&IVMRSurfaceAllocator9>, ) -> Result<()>
fn SetD3DDevice( &self, lpd3ddevice: Option<&IDirect3DDevice9>, hmonitor: HMONITOR, ) -> Result<()>
fn ChangeD3DDevice( &self, lpd3ddevice: Option<&IDirect3DDevice9>, hmonitor: HMONITOR, ) -> Result<()>
fn AllocateSurfaceHelper( &self, lpallocinfo: *const VMR9AllocationInfo, lpnumbuffers: *mut u32, lplpsurface: *mut Option<IDirect3DSurface9>, ) -> Result<()>
fn NotifyEvent( &self, eventcode: i32, param1: isize, param2: isize, ) -> Result<()>
Object Safety§
This trait is not object safe.