pub trait IMFMediaEngineProtectedContent_Impl: Sized {
    // Required methods
    fn ShareResources(&self, punkdevicecontext: Option<&IUnknown>) -> Result<()>;
    fn GetRequiredProtections(&self) -> Result<u32>;
    fn SetOPMWindow(&self, hwnd: HWND) -> Result<()>;
    fn TransferVideoFrame(
        &self,
        pdstsurf: Option<&IUnknown>,
        psrc: *const MFVideoNormalizedRect,
        pdst: *const RECT,
        pborderclr: *const MFARGB
    ) -> Result<u32>;
    fn SetContentProtectionManager(
        &self,
        pcpm: Option<&IMFContentProtectionManager>
    ) -> Result<()>;
    fn SetApplicationCertificate(
        &self,
        pbblob: *const u8,
        cbblob: u32
    ) -> Result<()>;
}

Required Methods§

fn ShareResources(&self, punkdevicecontext: Option<&IUnknown>) -> Result<()>

fn GetRequiredProtections(&self) -> Result<u32>

fn SetOPMWindow(&self, hwnd: HWND) -> Result<()>

fn TransferVideoFrame( &self, pdstsurf: Option<&IUnknown>, psrc: *const MFVideoNormalizedRect, pdst: *const RECT, pborderclr: *const MFARGB ) -> Result<u32>

fn SetContentProtectionManager( &self, pcpm: Option<&IMFContentProtectionManager> ) -> Result<()>

fn SetApplicationCertificate( &self, pbblob: *const u8, cbblob: u32 ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§