windows::Win32::Media::MediaFoundation

Trait IMFMediaKeySession_Impl

pub trait IMFMediaKeySession_Impl: IUnknownImpl {
    // Required methods
    fn GetError(&self, code: *mut u16, systemcode: *mut u32) -> Result<()>;
    fn KeySystem(&self) -> Result<BSTR>;
    fn SessionId(&self) -> Result<BSTR>;
    fn Update(&self, key: *const u8, cb: u32) -> Result<()>;
    fn Close(&self) -> Result<()>;
}

Required Methods§

fn GetError(&self, code: *mut u16, systemcode: *mut u32) -> Result<()>

fn KeySystem(&self) -> Result<BSTR>

fn SessionId(&self) -> Result<BSTR>

fn Update(&self, key: *const u8, cb: u32) -> Result<()>

fn Close(&self) -> 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§