Trait 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§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§