windows::Win32::System::WinRT::Media

Trait IVideoFrameNativeFactory_Impl

pub trait IVideoFrameNativeFactory_Impl: IUnknownImpl {
    // Required method
    fn CreateFromMFSample(
        &self,
        data: Ref<'_, IMFSample>,
        subtype: *const GUID,
        width: u32,
        height: u32,
        forcereadonly: BOOL,
        mindisplayaperture: *const MFVideoArea,
        device: Ref<'_, IMFDXGIDeviceManager>,
        riid: *const GUID,
        ppv: *mut *mut c_void,
    ) -> Result<()>;
}

Required Methods§

fn CreateFromMFSample( &self, data: Ref<'_, IMFSample>, subtype: *const GUID, width: u32, height: u32, forcereadonly: BOOL, mindisplayaperture: *const MFVideoArea, device: Ref<'_, IMFDXGIDeviceManager>, riid: *const GUID, ppv: *mut *mut c_void, ) -> 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§