windows::Win32::Media::WindowsMediaFormat

Trait IWMSyncReader2_Impl

pub trait IWMSyncReader2_Impl: IWMSyncReader_Impl {
    // Required methods
    fn SetRangeByTimecode(
        &self,
        wstreamnum: u16,
        pstart: *const WMT_TIMECODE_EXTENSION_DATA,
        pend: *const WMT_TIMECODE_EXTENSION_DATA,
    ) -> Result<()>;
    fn SetRangeByFrameEx(
        &self,
        wstreamnum: u16,
        qwframenumber: u64,
        cframestoread: i64,
    ) -> Result<u64>;
    fn SetAllocateForOutput(
        &self,
        dwoutputnum: u32,
        pallocator: Ref<'_, IWMReaderAllocatorEx>,
    ) -> Result<()>;
    fn GetAllocateForOutput(
        &self,
        dwoutputnum: u32,
    ) -> Result<IWMReaderAllocatorEx>;
    fn SetAllocateForStream(
        &self,
        wstreamnum: u16,
        pallocator: Ref<'_, IWMReaderAllocatorEx>,
    ) -> Result<()>;
    fn GetAllocateForStream(
        &self,
        dwsreamnum: u16,
    ) -> Result<IWMReaderAllocatorEx>;
}

Required Methods§

fn SetRangeByTimecode( &self, wstreamnum: u16, pstart: *const WMT_TIMECODE_EXTENSION_DATA, pend: *const WMT_TIMECODE_EXTENSION_DATA, ) -> Result<()>

fn SetRangeByFrameEx( &self, wstreamnum: u16, qwframenumber: u64, cframestoread: i64, ) -> Result<u64>

fn SetAllocateForOutput( &self, dwoutputnum: u32, pallocator: Ref<'_, IWMReaderAllocatorEx>, ) -> Result<()>

fn GetAllocateForOutput(&self, dwoutputnum: u32) -> Result<IWMReaderAllocatorEx>

fn SetAllocateForStream( &self, wstreamnum: u16, pallocator: Ref<'_, IWMReaderAllocatorEx>, ) -> Result<()>

fn GetAllocateForStream(&self, dwsreamnum: u16) -> Result<IWMReaderAllocatorEx>

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§