windows::Win32::Media::MediaFoundation

Trait IMFStreamSink_Impl

pub trait IMFStreamSink_Impl: IMFMediaEventGenerator_Impl {
    // Required methods
    fn GetMediaSink(&self) -> Result<IMFMediaSink>;
    fn GetIdentifier(&self) -> Result<u32>;
    fn GetMediaTypeHandler(&self) -> Result<IMFMediaTypeHandler>;
    fn ProcessSample(&self, psample: Ref<'_, IMFSample>) -> Result<()>;
    fn PlaceMarker(
        &self,
        emarkertype: MFSTREAMSINK_MARKER_TYPE,
        pvarmarkervalue: *const PROPVARIANT,
        pvarcontextvalue: *const PROPVARIANT,
    ) -> Result<()>;
    fn Flush(&self) -> Result<()>;
}

Required Methods§

fn GetMediaSink(&self) -> Result<IMFMediaSink>

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

fn GetMediaTypeHandler(&self) -> Result<IMFMediaTypeHandler>

fn ProcessSample(&self, psample: Ref<'_, IMFSample>) -> Result<()>

fn PlaceMarker( &self, emarkertype: MFSTREAMSINK_MARKER_TYPE, pvarmarkervalue: *const PROPVARIANT, pvarcontextvalue: *const PROPVARIANT, ) -> Result<()>

fn Flush(&self) -> 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§