Trait windows::Win32::Media::MediaFoundation::IMFSampleProtection_Impl
pub trait IMFSampleProtection_Impl: Sized {
// 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<()>
Object Safety§
This trait is not object safe.