windows::Win32::Media::MediaFoundation

Trait IMFASFProfile_Impl

pub trait IMFASFProfile_Impl: IMFAttributes_Impl {
Show 16 methods // Required methods fn GetStreamCount(&self) -> Result<u32>; fn GetStream( &self, dwstreamindex: u32, pwstreamnumber: *mut u16, ppistream: OutRef<'_, IMFASFStreamConfig>, ) -> Result<()>; fn GetStreamByNumber( &self, wstreamnumber: u16, ) -> Result<IMFASFStreamConfig>; fn SetStream(&self, pistream: Ref<'_, IMFASFStreamConfig>) -> Result<()>; fn RemoveStream(&self, wstreamnumber: u16) -> Result<()>; fn CreateStream( &self, pimediatype: Ref<'_, IMFMediaType>, ) -> Result<IMFASFStreamConfig>; fn GetMutualExclusionCount(&self) -> Result<u32>; fn GetMutualExclusion( &self, dwmutexindex: u32, ) -> Result<IMFASFMutualExclusion>; fn AddMutualExclusion( &self, pimutex: Ref<'_, IMFASFMutualExclusion>, ) -> Result<()>; fn RemoveMutualExclusion(&self, dwmutexindex: u32) -> Result<()>; fn CreateMutualExclusion(&self) -> Result<IMFASFMutualExclusion>; fn GetStreamPrioritization(&self) -> Result<IMFASFStreamPrioritization>; fn AddStreamPrioritization( &self, pistreamprioritization: Ref<'_, IMFASFStreamPrioritization>, ) -> Result<()>; fn RemoveStreamPrioritization(&self) -> Result<()>; fn CreateStreamPrioritization(&self) -> Result<IMFASFStreamPrioritization>; fn Clone(&self) -> Result<IMFASFProfile>;
}

Required Methods§

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

fn GetStream( &self, dwstreamindex: u32, pwstreamnumber: *mut u16, ppistream: OutRef<'_, IMFASFStreamConfig>, ) -> Result<()>

fn GetStreamByNumber(&self, wstreamnumber: u16) -> Result<IMFASFStreamConfig>

fn SetStream(&self, pistream: Ref<'_, IMFASFStreamConfig>) -> Result<()>

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

fn CreateStream( &self, pimediatype: Ref<'_, IMFMediaType>, ) -> Result<IMFASFStreamConfig>

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

fn GetMutualExclusion(&self, dwmutexindex: u32) -> Result<IMFASFMutualExclusion>

fn AddMutualExclusion( &self, pimutex: Ref<'_, IMFASFMutualExclusion>, ) -> Result<()>

fn RemoveMutualExclusion(&self, dwmutexindex: u32) -> Result<()>

fn CreateMutualExclusion(&self) -> Result<IMFASFMutualExclusion>

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

fn AddStreamPrioritization( &self, pistreamprioritization: Ref<'_, IMFASFStreamPrioritization>, ) -> Result<()>

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

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

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

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§