windows::Win32::Media::MediaFoundation

Trait IMFMediaSession_Impl

pub trait IMFMediaSession_Impl: IMFMediaEventGenerator_Impl {
    // Required methods
    fn SetTopology(
        &self,
        dwsettopologyflags: u32,
        ptopology: Ref<'_, IMFTopology>,
    ) -> Result<()>;
    fn ClearTopologies(&self) -> Result<()>;
    fn Start(
        &self,
        pguidtimeformat: *const GUID,
        pvarstartposition: *const PROPVARIANT,
    ) -> Result<()>;
    fn Pause(&self) -> Result<()>;
    fn Stop(&self) -> Result<()>;
    fn Close(&self) -> Result<()>;
    fn Shutdown(&self) -> Result<()>;
    fn GetClock(&self) -> Result<IMFClock>;
    fn GetSessionCapabilities(&self) -> Result<u32>;
    fn GetFullTopology(
        &self,
        dwgetfulltopologyflags: u32,
        topoid: u64,
    ) -> Result<IMFTopology>;
}

Required Methods§

fn SetTopology( &self, dwsettopologyflags: u32, ptopology: Ref<'_, IMFTopology>, ) -> Result<()>

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

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

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

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

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

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

fn GetClock(&self) -> Result<IMFClock>

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

fn GetFullTopology( &self, dwgetfulltopologyflags: u32, topoid: u64, ) -> Result<IMFTopology>

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§