windows::Win32::Media::MediaFoundation

Trait IMFPresentationDescriptor_Impl

pub trait IMFPresentationDescriptor_Impl: IMFAttributes_Impl {
    // Required methods
    fn GetStreamDescriptorCount(&self) -> Result<u32>;
    fn GetStreamDescriptorByIndex(
        &self,
        dwindex: u32,
        pfselected: *mut BOOL,
        ppdescriptor: OutRef<'_, IMFStreamDescriptor>,
    ) -> Result<()>;
    fn SelectStream(&self, dwdescriptorindex: u32) -> Result<()>;
    fn DeselectStream(&self, dwdescriptorindex: u32) -> Result<()>;
    fn Clone(&self) -> Result<IMFPresentationDescriptor>;
}

Required Methods§

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

fn GetStreamDescriptorByIndex( &self, dwindex: u32, pfselected: *mut BOOL, ppdescriptor: OutRef<'_, IMFStreamDescriptor>, ) -> Result<()>

fn SelectStream(&self, dwdescriptorindex: u32) -> Result<()>

fn DeselectStream(&self, dwdescriptorindex: u32) -> Result<()>

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

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§