Trait IMFMediaKeys_Impl
pub trait IMFMediaKeys_Impl: IUnknownImpl {
// Required methods
fn CreateSession(
&self,
mimetype: &BSTR,
initdata: *const u8,
cb: u32,
customdata: *const u8,
cbcustomdata: u32,
notify: Ref<'_, IMFMediaKeySessionNotify>,
) -> Result<IMFMediaKeySession>;
fn KeySystem(&self) -> Result<BSTR>;
fn Shutdown(&self) -> Result<()>;
fn GetSuspendNotify(&self) -> Result<IMFCdmSuspendNotify>;
}
Required Methods§
fn CreateSession( &self, mimetype: &BSTR, initdata: *const u8, cb: u32, customdata: *const u8, cbcustomdata: u32, notify: Ref<'_, IMFMediaKeySessionNotify>, ) -> Result<IMFMediaKeySession>
fn KeySystem(&self) -> Result<BSTR>
fn Shutdown(&self) -> Result<()>
fn GetSuspendNotify(&self) -> Result<IMFCdmSuspendNotify>
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.