Trait winsafe::prelude::dshow_IMediaFilter
source · pub trait dshow_IMediaFilter: ole_IPersist {
// Provided methods
fn GetState(&self, ms_timeout: Option<u32>) -> HrResult<FILTER_STATE> { ... }
fn Pause(&self) -> HrResult<bool> { ... }
fn Run(&self, start: i64) -> HrResult<bool> { ... }
fn Stop(&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
IMediaFilter
.
Prefer importing this trait through the prelude:
use winsafe::prelude::*;
Provided Methods§
sourcefn GetState(&self, ms_timeout: Option<u32>) -> HrResult<FILTER_STATE>
fn GetState(&self, ms_timeout: Option<u32>) -> HrResult<FILTER_STATE>
IMediaFilter::GetState
method.
sourcefn Pause(&self) -> HrResult<bool>
fn Pause(&self) -> HrResult<bool>
IMediaFilter::Pause
method.
sourcefn Stop(&self) -> HrResult<bool>
fn Stop(&self) -> HrResult<bool>
IMediaFilter::Stop
method.
Object Safety§
This trait is not object safe.