Trait windows::Win32::Media::MediaFoundation::IMFMediaKeys2_Impl
pub trait IMFMediaKeys2_Impl: Sized + IMFMediaKeys_Impl {
// Required methods
fn CreateSession2(
&self,
esessiontype: MF_MEDIAKEYSESSION_TYPE,
pmfmediakeysessionnotify2: Option<&IMFMediaKeySessionNotify2>,
) -> Result<IMFMediaKeySession2>;
fn SetServerCertificate(
&self,
pbservercertificate: *const u8,
cb: u32,
) -> Result<()>;
fn GetDOMException(&self, systemcode: HRESULT) -> Result<HRESULT>;
}
Required Methods§
fn CreateSession2( &self, esessiontype: MF_MEDIAKEYSESSION_TYPE, pmfmediakeysessionnotify2: Option<&IMFMediaKeySessionNotify2>, ) -> Result<IMFMediaKeySession2>
fn SetServerCertificate( &self, pbservercertificate: *const u8, cb: u32, ) -> Result<()>
fn GetDOMException(&self, systemcode: HRESULT) -> Result<HRESULT>
Object Safety§
This trait is not object safe.