Trait IMFSampleProtection_Impl
pub trait IMFSampleProtection_Impl: IUnknownImpl {
// Required methods
fn GetInputProtectionVersion(&self) -> Result<u32>;
fn GetOutputProtectionVersion(&self) -> Result<u32>;
fn GetProtectionCertificate(
&self,
dwversion: u32,
ppcert: *mut *mut u8,
pcbcert: *mut u32,
) -> Result<()>;
fn InitOutputProtection(
&self,
dwversion: u32,
dwoutputid: u32,
pbcert: *const u8,
cbcert: u32,
ppbseed: *mut *mut u8,
pcbseed: *mut u32,
) -> Result<()>;
fn InitInputProtection(
&self,
dwversion: u32,
dwinputid: u32,
pbseed: *const u8,
cbseed: u32,
) -> Result<()>;
}
Required Methods§
fn GetInputProtectionVersion(&self) -> Result<u32>
fn GetOutputProtectionVersion(&self) -> Result<u32>
fn GetProtectionCertificate( &self, dwversion: u32, ppcert: *mut *mut u8, pcbcert: *mut u32, ) -> Result<()>
fn InitOutputProtection( &self, dwversion: u32, dwoutputid: u32, pbcert: *const u8, cbcert: u32, ppbseed: *mut *mut u8, pcbseed: *mut u32, ) -> Result<()>
fn InitInputProtection( &self, dwversion: u32, dwinputid: u32, pbseed: *const u8, cbseed: 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.