Trait IVMRImageCompositor_Impl
pub trait IVMRImageCompositor_Impl: IUnknownImpl {
// Required methods
fn InitCompositionTarget(
&self,
pd3ddevice: Ref<'_, IUnknown>,
pddsrendertarget: Ref<'_, IDirectDrawSurface7>,
) -> Result<()>;
fn TermCompositionTarget(
&self,
pd3ddevice: Ref<'_, IUnknown>,
pddsrendertarget: Ref<'_, IDirectDrawSurface7>,
) -> Result<()>;
fn SetStreamMediaType(
&self,
dwstrmid: u32,
pmt: *const AM_MEDIA_TYPE,
ftexture: BOOL,
) -> Result<()>;
fn CompositeImage(
&self,
pd3ddevice: Ref<'_, IUnknown>,
pddsrendertarget: Ref<'_, IDirectDrawSurface7>,
pmtrendertarget: *const AM_MEDIA_TYPE,
rtstart: i64,
rtend: i64,
dwclrbkgnd: u32,
pvideostreaminfo: *const VMRVIDEOSTREAMINFO,
cstreams: u32,
) -> Result<()>;
}
Required Methods§
fn InitCompositionTarget( &self, pd3ddevice: Ref<'_, IUnknown>, pddsrendertarget: Ref<'_, IDirectDrawSurface7>, ) -> Result<()>
fn TermCompositionTarget( &self, pd3ddevice: Ref<'_, IUnknown>, pddsrendertarget: Ref<'_, IDirectDrawSurface7>, ) -> Result<()>
fn SetStreamMediaType( &self, dwstrmid: u32, pmt: *const AM_MEDIA_TYPE, ftexture: BOOL, ) -> Result<()>
fn CompositeImage( &self, pd3ddevice: Ref<'_, IUnknown>, pddsrendertarget: Ref<'_, IDirectDrawSurface7>, pmtrendertarget: *const AM_MEDIA_TYPE, rtstart: i64, rtend: i64, dwclrbkgnd: u32, pvideostreaminfo: *const VMRVIDEOSTREAMINFO, cstreams: u32, ) -> 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.