Trait windows::Win32::Media::DirectShow::IMediaControl_Impl

pub trait IMediaControl_Impl: Sized + IDispatch_Impl {
    // Required methods
    fn Run(&self) -> Result<()>;
    fn Pause(&self) -> Result<()>;
    fn Stop(&self) -> Result<()>;
    fn GetState(&self, mstimeout: i32) -> Result<i32>;
    fn RenderFile(&self, strfilename: &BSTR) -> Result<()>;
    fn AddSourceFilter(&self, strfilename: &BSTR) -> Result<IDispatch>;
    fn FilterCollection(&self) -> Result<IDispatch>;
    fn RegFilterCollection(&self) -> Result<IDispatch>;
    fn StopWhenReady(&self) -> Result<()>;
}

Required Methods§

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

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

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

fn GetState(&self, mstimeout: i32) -> Result<i32>

fn RenderFile(&self, strfilename: &BSTR) -> Result<()>

fn AddSourceFilter(&self, strfilename: &BSTR) -> Result<IDispatch>

fn FilterCollection(&self) -> Result<IDispatch>

fn RegFilterCollection(&self) -> Result<IDispatch>

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

Object Safety§

This trait is not object safe.

Implementors§