pub trait IDDrawExclModeVideo_Impl: Sized {
    // Required methods
    fn SetDDrawObject(&self, pddrawobject: Option<&IDirectDraw>) -> Result<()>;
    fn GetDDrawObject(
        &self,
        ppddrawobject: *mut Option<IDirectDraw>,
        pbusingexternal: *mut BOOL
    ) -> Result<()>;
    fn SetDDrawSurface(
        &self,
        pddrawsurface: Option<&IDirectDrawSurface>
    ) -> Result<()>;
    fn GetDDrawSurface(
        &self,
        ppddrawsurface: *mut Option<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: Option<&IDDrawExclModeVideoCallback>,
        dwflags: u32
    ) -> Result<()>;
}

Required Methods§

fn SetDDrawObject(&self, pddrawobject: Option<&IDirectDraw>) -> Result<()>

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

fn SetDDrawSurface( &self, pddrawsurface: Option<&IDirectDrawSurface> ) -> Result<()>

fn GetDDrawSurface( &self, ppddrawsurface: *mut Option<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: Option<&IDDrawExclModeVideoCallback>, dwflags: u32 ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§