windows::Win32::Media::WindowsMediaFormat

Trait IWMReaderAllocatorEx_Impl

pub trait IWMReaderAllocatorEx_Impl: IUnknownImpl {
    // Required methods
    fn AllocateForStreamEx(
        &self,
        wstreamnum: u16,
        cbbuffer: u32,
        ppbuffer: OutRef<'_, INSSBuffer>,
        dwflags: u32,
        cnssampletime: u64,
        cnssampleduration: u64,
        pvcontext: *const c_void,
    ) -> Result<()>;
    fn AllocateForOutputEx(
        &self,
        dwoutputnum: u32,
        cbbuffer: u32,
        ppbuffer: OutRef<'_, INSSBuffer>,
        dwflags: u32,
        cnssampletime: u64,
        cnssampleduration: u64,
        pvcontext: *const c_void,
    ) -> Result<()>;
}

Required Methods§

fn AllocateForStreamEx( &self, wstreamnum: u16, cbbuffer: u32, ppbuffer: OutRef<'_, INSSBuffer>, dwflags: u32, cnssampletime: u64, cnssampleduration: u64, pvcontext: *const c_void, ) -> Result<()>

fn AllocateForOutputEx( &self, dwoutputnum: u32, cbbuffer: u32, ppbuffer: OutRef<'_, INSSBuffer>, dwflags: u32, cnssampletime: u64, cnssampleduration: u64, pvcontext: *const c_void, ) -> 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§