windows::Win32::Media::MediaFoundation

Trait IDirectXVideoAccelerationService_Impl

pub trait IDirectXVideoAccelerationService_Impl: IUnknownImpl {
    // Required method
    fn CreateSurface(
        &self,
        width: u32,
        height: u32,
        backbuffers: u32,
        format: D3DFORMAT,
        pool: D3DPOOL,
        usage: u32,
        dxvatype: &DXVA2_VideoRenderTargetType,
        ppsurface: OutRef<'_, IDirect3DSurface9>,
        psharedhandle: *mut HANDLE,
    ) -> Result<()>;
}

Required Methods§

fn CreateSurface( &self, width: u32, height: u32, backbuffers: u32, format: D3DFORMAT, pool: D3DPOOL, usage: u32, dxvatype: &DXVA2_VideoRenderTargetType, ppsurface: OutRef<'_, IDirect3DSurface9>, psharedhandle: *mut HANDLE, ) -> 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§