pub trait IMFMediaSource_Impl: Sized + IMFMediaEventGenerator_Impl {
    // Required methods
    fn GetCharacteristics(&self) -> Result<u32>;
    fn CreatePresentationDescriptor(&self) -> Result<IMFPresentationDescriptor>;
    fn Start(
        &self,
        ppresentationdescriptor: Option<&IMFPresentationDescriptor>,
        pguidtimeformat: *const GUID,
        pvarstartposition: *const PROPVARIANT
    ) -> Result<()>;
    fn Stop(&self) -> Result<()>;
    fn Pause(&self) -> Result<()>;
    fn Shutdown(&self) -> Result<()>;
}

Required Methods§

fn GetCharacteristics(&self) -> Result<u32>

fn CreatePresentationDescriptor(&self) -> Result<IMFPresentationDescriptor>

fn Start( &self, ppresentationdescriptor: Option<&IMFPresentationDescriptor>, pguidtimeformat: *const GUID, pvarstartposition: *const PROPVARIANT ) -> Result<()>

fn Stop(&self) -> Result<()>

fn Pause(&self) -> Result<()>

fn Shutdown(&self) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§