windows::Win32::Media::DirectShow

Trait IAMMultiMediaStream_Impl

pub trait IAMMultiMediaStream_Impl: IMultiMediaStream_Impl {
    // Required methods
    fn Initialize(
        &self,
        streamtype: STREAM_TYPE,
        dwflags: &AMMSF_MMS_INIT_FLAGS,
        pfiltergraph: Ref<'_, IGraphBuilder>,
    ) -> Result<()>;
    fn GetFilterGraph(&self) -> Result<IGraphBuilder>;
    fn GetFilter(&self) -> Result<IMediaStreamFilter>;
    fn AddMediaStream(
        &self,
        pstreamobject: Ref<'_, IUnknown>,
        purposeid: *const GUID,
        dwflags: &AMMSF_MS_FLAGS,
    ) -> Result<IMediaStream>;
    fn OpenFile(&self, pszfilename: &PCWSTR, dwflags: u32) -> Result<()>;
    fn OpenMoniker(
        &self,
        pctx: Ref<'_, IBindCtx>,
        pmoniker: Ref<'_, IMoniker>,
        dwflags: u32,
    ) -> Result<()>;
    fn Render(&self, dwflags: u32) -> Result<()>;
}

Required Methods§

fn Initialize( &self, streamtype: STREAM_TYPE, dwflags: &AMMSF_MMS_INIT_FLAGS, pfiltergraph: Ref<'_, IGraphBuilder>, ) -> Result<()>

fn GetFilterGraph(&self) -> Result<IGraphBuilder>

fn GetFilter(&self) -> Result<IMediaStreamFilter>

fn AddMediaStream( &self, pstreamobject: Ref<'_, IUnknown>, purposeid: *const GUID, dwflags: &AMMSF_MS_FLAGS, ) -> Result<IMediaStream>

fn OpenFile(&self, pszfilename: &PCWSTR, dwflags: u32) -> Result<()>

fn OpenMoniker( &self, pctx: Ref<'_, IBindCtx>, pmoniker: Ref<'_, IMoniker>, dwflags: u32, ) -> Result<()>

fn Render(&self, dwflags: u32) -> Result<()>

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§