Trait windows::Win32::Media::MediaFoundation::IMFASFProfile_Impl
pub trait IMFASFProfile_Impl: Sized + IMFAttributes_Impl {
Show 16 methods
// Required methods
fn GetStreamCount(&self) -> Result<u32>;
fn GetStream(
&self,
dwstreamindex: u32,
pwstreamnumber: *mut u16,
ppistream: *mut Option<IMFASFStreamConfig>
) -> Result<()>;
fn GetStreamByNumber(
&self,
wstreamnumber: u16
) -> Result<IMFASFStreamConfig>;
fn SetStream(&self, pistream: Option<&IMFASFStreamConfig>) -> Result<()>;
fn RemoveStream(&self, wstreamnumber: u16) -> Result<()>;
fn CreateStream(
&self,
pimediatype: Option<&IMFMediaType>
) -> Result<IMFASFStreamConfig>;
fn GetMutualExclusionCount(&self) -> Result<u32>;
fn GetMutualExclusion(
&self,
dwmutexindex: u32
) -> Result<IMFASFMutualExclusion>;
fn AddMutualExclusion(
&self,
pimutex: Option<&IMFASFMutualExclusion>
) -> Result<()>;
fn RemoveMutualExclusion(&self, dwmutexindex: u32) -> Result<()>;
fn CreateMutualExclusion(&self) -> Result<IMFASFMutualExclusion>;
fn GetStreamPrioritization(&self) -> Result<IMFASFStreamPrioritization>;
fn AddStreamPrioritization(
&self,
pistreamprioritization: Option<&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: *mut Option<IMFASFStreamConfig> ) -> Result<()>
fn GetStreamByNumber(&self, wstreamnumber: u16) -> Result<IMFASFStreamConfig>
fn SetStream(&self, pistream: Option<&IMFASFStreamConfig>) -> Result<()>
fn RemoveStream(&self, wstreamnumber: u16) -> Result<()>
fn CreateStream( &self, pimediatype: Option<&IMFMediaType> ) -> Result<IMFASFStreamConfig>
fn GetMutualExclusionCount(&self) -> Result<u32>
fn GetMutualExclusion(&self, dwmutexindex: u32) -> Result<IMFASFMutualExclusion>
fn AddMutualExclusion( &self, pimutex: Option<&IMFASFMutualExclusion> ) -> Result<()>
fn RemoveMutualExclusion(&self, dwmutexindex: u32) -> Result<()>
fn CreateMutualExclusion(&self) -> Result<IMFASFMutualExclusion>
fn GetStreamPrioritization(&self) -> Result<IMFASFStreamPrioritization>
fn AddStreamPrioritization( &self, pistreamprioritization: Option<&IMFASFStreamPrioritization> ) -> Result<()>
fn RemoveStreamPrioritization(&self) -> Result<()>
fn CreateStreamPrioritization(&self) -> Result<IMFASFStreamPrioritization>
fn Clone(&self) -> Result<IMFASFProfile>
Object Safety§
This trait is not object safe.