Trait winsafe::prelude::dshow_IFilterGraph

source ·
pub trait dshow_IFilterGraph: ole_IUnknown {
    // Provided methods
    fn AddFilter(
        &self,
        filter: &impl dshow_IBaseFilter,
        name: &str
    ) -> HrResult<()> { ... }
    fn ConnectDirect(
        &self,
        pin_out: &impl dshow_IPin,
        pin_in: &impl dshow_IPin,
        mt: Option<&AM_MEDIA_TYPE<'_>>
    ) -> HrResult<()> { ... }
    fn Disconnect(&self, pin: &impl dshow_IPin) -> HrResult<()> { ... }
    fn EnumFilters(&self) -> HrResult<IEnumFilters> { ... }
    fn FindFilterByName(&self, name: &str) -> HrResult<IBaseFilter> { ... }
    fn Reconnect(&self, pin: &impl dshow_IPin) -> HrResult<()> { ... }
    fn RemoveFilter(&self, filter: &impl dshow_IBaseFilter) -> HrResult<()> { ... }
    fn SetDefaultSyncSource(&self) -> HrResult<()> { ... }
}
Available on crate features kernel and dshow only.
Expand description

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

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§