windows::Win32::Media::MediaFoundation

Trait IMFDXGIBuffer_Impl

pub trait IMFDXGIBuffer_Impl: IUnknownImpl {
    // Required methods
    fn GetResource(
        &self,
        riid: *const GUID,
        ppvobject: *mut *mut c_void,
    ) -> Result<()>;
    fn GetSubresourceIndex(&self) -> Result<u32>;
    fn GetUnknown(
        &self,
        guid: *const GUID,
        riid: *const GUID,
        ppvobject: *mut *mut c_void,
    ) -> Result<()>;
    fn SetUnknown(
        &self,
        guid: *const GUID,
        punkdata: Ref<'_, IUnknown>,
    ) -> Result<()>;
}

Required Methods§

fn GetResource( &self, riid: *const GUID, ppvobject: *mut *mut c_void, ) -> Result<()>

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

fn GetUnknown( &self, guid: *const GUID, riid: *const GUID, ppvobject: *mut *mut c_void, ) -> Result<()>

fn SetUnknown( &self, guid: *const GUID, punkdata: Ref<'_, IUnknown>, ) -> 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§