windows::Win32::Media::DirectShow

Trait IVMRSurfaceAllocatorNotify_Impl

pub trait IVMRSurfaceAllocatorNotify_Impl: IUnknownImpl {
    // Required methods
    fn AdviseSurfaceAllocator(
        &self,
        dwuserid: usize,
        lpivrmsurfaceallocator: Ref<'_, IVMRSurfaceAllocator>,
    ) -> Result<()>;
    fn SetDDrawDevice(
        &self,
        lpddrawdevice: Ref<'_, IDirectDraw7>,
        hmonitor: HMONITOR,
    ) -> Result<()>;
    fn ChangeDDrawDevice(
        &self,
        lpddrawdevice: Ref<'_, IDirectDraw7>,
        hmonitor: HMONITOR,
    ) -> Result<()>;
    fn RestoreDDrawSurfaces(&self) -> Result<()>;
    fn NotifyEvent(
        &self,
        eventcode: i32,
        param1: isize,
        param2: isize,
    ) -> Result<()>;
    fn SetBorderColor(&self, clrborder: COLORREF) -> Result<()>;
}

Required Methods§

fn AdviseSurfaceAllocator( &self, dwuserid: usize, lpivrmsurfaceallocator: Ref<'_, IVMRSurfaceAllocator>, ) -> Result<()>

fn SetDDrawDevice( &self, lpddrawdevice: Ref<'_, IDirectDraw7>, hmonitor: HMONITOR, ) -> Result<()>

fn ChangeDDrawDevice( &self, lpddrawdevice: Ref<'_, IDirectDraw7>, hmonitor: HMONITOR, ) -> Result<()>

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

fn NotifyEvent( &self, eventcode: i32, param1: isize, param2: isize, ) -> Result<()>

fn SetBorderColor(&self, clrborder: COLORREF) -> 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.

Implementors§