Trait winsafe::prelude::dshow_IMediaControl

source ·
pub trait dshow_IMediaControl: oleaut_IDispatch {
    // Provided methods
    fn AddSourceFilter(&self, file_name: &str) -> HrResult<IDispatch> { ... }
    fn GetState(&self, ms_timeout: Option<i32>) -> HrResult<FILTER_STATE> { ... }
    fn Pause(&self) -> HrResult<bool> { ... }
    fn RenderFile(&self, file_name: &str) -> HrResult<()> { ... }
    fn Run(&self) -> HrResult<bool> { ... }
    fn Stop(&self) -> HrResult<()> { ... }
    fn StopWhenReady(&self) -> HrResult<bool> { ... }
}
Available on crate features kernel and dshow only.
Expand description

This trait is enabled with the dshow feature, and provides methods for IMediaControl.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§