windows::Win32::Media::MediaFoundation

Trait IMFCaptureSink_Impl

pub trait IMFCaptureSink_Impl: IUnknownImpl {
    // Required methods
    fn GetOutputMediaType(
        &self,
        dwsinkstreamindex: u32,
        ppmediatype: OutRef<'_, IMFMediaType>,
    ) -> Result<()>;
    fn GetService(
        &self,
        dwsinkstreamindex: u32,
        rguidservice: *const GUID,
        riid: *const GUID,
        ppunknown: OutRef<'_, IUnknown>,
    ) -> Result<()>;
    fn AddStream(
        &self,
        dwsourcestreamindex: u32,
        pmediatype: Ref<'_, IMFMediaType>,
        pattributes: Ref<'_, IMFAttributes>,
        pdwsinkstreamindex: *mut u32,
    ) -> Result<()>;
    fn Prepare(&self) -> Result<()>;
    fn RemoveAllStreams(&self) -> Result<()>;
}

Required Methods§

fn GetOutputMediaType( &self, dwsinkstreamindex: u32, ppmediatype: OutRef<'_, IMFMediaType>, ) -> Result<()>

fn GetService( &self, dwsinkstreamindex: u32, rguidservice: *const GUID, riid: *const GUID, ppunknown: OutRef<'_, IUnknown>, ) -> Result<()>

fn AddStream( &self, dwsourcestreamindex: u32, pmediatype: Ref<'_, IMFMediaType>, pattributes: Ref<'_, IMFAttributes>, pdwsinkstreamindex: *mut u32, ) -> Result<()>

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

fn RemoveAllStreams(&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§