windows::Win32::Media::MediaFoundation

Trait IMFSampleAllocatorControl_Impl

pub trait IMFSampleAllocatorControl_Impl: IUnknownImpl {
    // Required methods
    fn SetDefaultAllocator(
        &self,
        dwoutputstreamid: u32,
        pallocator: Ref<'_, IUnknown>,
    ) -> Result<()>;
    fn GetAllocatorUsage(
        &self,
        dwoutputstreamid: u32,
        pdwinputstreamid: *mut u32,
        peusage: *mut MFSampleAllocatorUsage,
    ) -> Result<()>;
}

Required Methods§

fn SetDefaultAllocator( &self, dwoutputstreamid: u32, pallocator: Ref<'_, IUnknown>, ) -> Result<()>

fn GetAllocatorUsage( &self, dwoutputstreamid: u32, pdwinputstreamid: *mut u32, peusage: *mut MFSampleAllocatorUsage, ) -> 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§