windows::Win32::Media::WindowsMediaFormat

Trait IWMWriterFileSink3_Impl

pub trait IWMWriterFileSink3_Impl: IWMWriterFileSink2_Impl {
    // Required methods
    fn SetAutoIndexing(&self, fdoautoindexing: BOOL) -> Result<()>;
    fn GetAutoIndexing(&self) -> Result<BOOL>;
    fn SetControlStream(
        &self,
        wstreamnumber: u16,
        fshouldcontrolstartandstop: BOOL,
    ) -> Result<()>;
    fn GetMode(&self) -> Result<u32>;
    fn OnDataUnitEx(
        &self,
        pfilesinkdataunit: *const WMT_FILESINK_DATA_UNIT,
    ) -> Result<()>;
    fn SetUnbufferedIO(
        &self,
        funbufferedio: BOOL,
        frestrictmemusage: BOOL,
    ) -> Result<()>;
    fn GetUnbufferedIO(&self) -> Result<BOOL>;
    fn CompleteOperations(&self) -> Result<()>;
}

Required Methods§

fn SetAutoIndexing(&self, fdoautoindexing: BOOL) -> Result<()>

fn GetAutoIndexing(&self) -> Result<BOOL>

fn SetControlStream( &self, wstreamnumber: u16, fshouldcontrolstartandstop: BOOL, ) -> Result<()>

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

fn OnDataUnitEx( &self, pfilesinkdataunit: *const WMT_FILESINK_DATA_UNIT, ) -> Result<()>

fn SetUnbufferedIO( &self, funbufferedio: BOOL, frestrictmemusage: BOOL, ) -> Result<()>

fn GetUnbufferedIO(&self) -> Result<BOOL>

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