windows::Win32::Media::WindowsMediaFormat

Trait IWMMediaProps_Impl

pub trait IWMMediaProps_Impl: IUnknownImpl {
    // Required methods
    fn GetType(&self) -> Result<GUID>;
    fn GetMediaType(
        &self,
        ptype: *mut WM_MEDIA_TYPE,
        pcbtype: *mut u32,
    ) -> Result<()>;
    fn SetMediaType(&self, ptype: *const WM_MEDIA_TYPE) -> Result<()>;
}

Required Methods§

fn GetType(&self) -> Result<GUID>

fn GetMediaType( &self, ptype: *mut WM_MEDIA_TYPE, pcbtype: *mut u32, ) -> Result<()>

fn SetMediaType(&self, ptype: *const WM_MEDIA_TYPE) -> 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§