windows::Win32::Media::MediaFoundation

Trait IMFASFStreamPrioritization_Impl

pub trait IMFASFStreamPrioritization_Impl: IUnknownImpl {
    // Required methods
    fn GetStreamCount(&self) -> Result<u32>;
    fn GetStream(
        &self,
        dwstreamindex: u32,
        pwstreamnumber: *mut u16,
        pwstreamflags: *mut u16,
    ) -> Result<()>;
    fn AddStream(&self, wstreamnumber: u16, wstreamflags: u16) -> Result<()>;
    fn RemoveStream(&self, dwstreamindex: u32) -> Result<()>;
    fn Clone(&self) -> Result<IMFASFStreamPrioritization>;
}

Required Methods§

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

fn GetStream( &self, dwstreamindex: u32, pwstreamnumber: *mut u16, pwstreamflags: *mut u16, ) -> Result<()>

fn AddStream(&self, wstreamnumber: u16, wstreamflags: u16) -> Result<()>

fn RemoveStream(&self, dwstreamindex: u32) -> Result<()>

fn Clone(&self) -> Result<IMFASFStreamPrioritization>

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§