windows::Win32::Media::MediaFoundation

Trait ITocCollection_Impl

pub trait ITocCollection_Impl: IUnknownImpl {
    // Required methods
    fn GetEntryCount(&self, pdwentrycount: *mut u32) -> Result<()>;
    fn GetEntryByIndex(&self, dwentryindex: u32) -> Result<IToc>;
    fn AddEntry(
        &self,
        ptoc: Ref<'_, IToc>,
        pdwentryindex: *mut u32,
    ) -> Result<()>;
    fn AddEntryByIndex(
        &self,
        dwentryindex: u32,
        ptoc: Ref<'_, IToc>,
    ) -> Result<()>;
    fn RemoveEntryByIndex(&self, dwentryindex: u32) -> Result<()>;
}

Required Methods§

fn GetEntryCount(&self, pdwentrycount: *mut u32) -> Result<()>

fn GetEntryByIndex(&self, dwentryindex: u32) -> Result<IToc>

fn AddEntry(&self, ptoc: Ref<'_, IToc>, pdwentryindex: *mut u32) -> Result<()>

fn AddEntryByIndex(&self, dwentryindex: u32, ptoc: Ref<'_, IToc>) -> Result<()>

fn RemoveEntryByIndex(&self, dwentryindex: u32) -> 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§