Trait IMFMediaEngineProtectedContent_Impl
pub trait IMFMediaEngineProtectedContent_Impl: IUnknownImpl {
// Required methods
fn ShareResources(&self, punkdevicecontext: Ref<'_, IUnknown>) -> Result<()>;
fn GetRequiredProtections(&self) -> Result<u32>;
fn SetOPMWindow(&self, hwnd: HWND) -> Result<()>;
fn TransferVideoFrame(
&self,
pdstsurf: Ref<'_, IUnknown>,
psrc: *const MFVideoNormalizedRect,
pdst: *const RECT,
pborderclr: *const MFARGB,
) -> Result<u32>;
fn SetContentProtectionManager(
&self,
pcpm: Ref<'_, IMFContentProtectionManager>,
) -> Result<()>;
fn SetApplicationCertificate(
&self,
pbblob: *const u8,
cbblob: u32,
) -> Result<()>;
}
Required Methods§
fn GetRequiredProtections(&self) -> Result<u32>
fn SetOPMWindow(&self, hwnd: HWND) -> Result<()>
fn TransferVideoFrame( &self, pdstsurf: Ref<'_, IUnknown>, psrc: *const MFVideoNormalizedRect, pdst: *const RECT, pborderclr: *const MFARGB, ) -> Result<u32>
fn SetContentProtectionManager( &self, pcpm: Ref<'_, IMFContentProtectionManager>, ) -> Result<()>
fn SetApplicationCertificate( &self, pbblob: *const u8, cbblob: u32, ) -> 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.