windows::Win32::Media::DirectShow

Trait IDDrawExclModeVideo_Impl

pub trait IDDrawExclModeVideo_Impl: IUnknownImpl {
    // Required methods
    fn SetDDrawObject(&self, pddrawobject: Ref<'_, IDirectDraw>) -> Result<()>;
    fn GetDDrawObject(
        &self,
        ppddrawobject: OutRef<'_, IDirectDraw>,
        pbusingexternal: *mut BOOL,
    ) -> Result<()>;
    fn SetDDrawSurface(
        &self,
        pddrawsurface: Ref<'_, IDirectDrawSurface>,
    ) -> Result<()>;
    fn GetDDrawSurface(
        &self,
        ppddrawsurface: OutRef<'_, IDirectDrawSurface>,
        pbusingexternal: *mut BOOL,
    ) -> Result<()>;
    fn SetDrawParameters(
        &self,
        prcsource: *const RECT,
        prctarget: *const RECT,
    ) -> Result<()>;
    fn GetNativeVideoProps(
        &self,
        pdwvideowidth: *mut u32,
        pdwvideoheight: *mut u32,
        pdwpictaspectratiox: *mut u32,
        pdwpictaspectratioy: *mut u32,
    ) -> Result<()>;
    fn SetCallbackInterface(
        &self,
        pcallback: Ref<'_, IDDrawExclModeVideoCallback>,
        dwflags: u32,
    ) -> Result<()>;
}

Required Methods§

fn SetDDrawObject(&self, pddrawobject: Ref<'_, IDirectDraw>) -> Result<()>

fn GetDDrawObject( &self, ppddrawobject: OutRef<'_, IDirectDraw>, pbusingexternal: *mut BOOL, ) -> Result<()>

fn SetDDrawSurface( &self, pddrawsurface: Ref<'_, IDirectDrawSurface>, ) -> Result<()>

fn GetDDrawSurface( &self, ppddrawsurface: OutRef<'_, IDirectDrawSurface>, pbusingexternal: *mut BOOL, ) -> Result<()>

fn SetDrawParameters( &self, prcsource: *const RECT, prctarget: *const RECT, ) -> Result<()>

fn GetNativeVideoProps( &self, pdwvideowidth: *mut u32, pdwvideoheight: *mut u32, pdwpictaspectratiox: *mut u32, pdwpictaspectratioy: *mut u32, ) -> Result<()>

fn SetCallbackInterface( &self, pcallback: Ref<'_, IDDrawExclModeVideoCallback>, dwflags: 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.

Implementors§