Struct windows::Win32::Media::MediaFoundation::IMFContentDecryptionModule
pub struct IMFContentDecryptionModule(/* private fields */);
Implementations§
§impl IMFContentDecryptionModule
impl IMFContentDecryptionModule
pub unsafe fn SetContentEnabler<P0, P1>(
&self,
contentenabler: P0,
result: P1
) -> Result<()>where
P0: IntoParam<IMFContentEnabler>,
P1: IntoParam<IMFAsyncResult>,
pub unsafe fn GetSuspendNotify(&self) -> Result<IMFCdmSuspendNotify>
pub unsafe fn SetPMPHostApp<P0>(&self, pmphostapp: P0) -> Result<()>where
P0: IntoParam<IMFPMPHostApp>,
pub unsafe fn CreateSession<P0>(
&self,
sessiontype: MF_MEDIAKEYSESSION_TYPE,
callbacks: P0
) -> Result<IMFContentDecryptionModuleSession>where
P0: IntoParam<IMFContentDecryptionModuleSessionCallbacks>,
pub unsafe fn SetServerCertificate(&self, certificate: &[u8]) -> Result<()>
pub unsafe fn CreateTrustedInput( &self, contentinitdata: &[u8] ) -> Result<IMFTrustedInput>
pub unsafe fn GetProtectionSystemIds( &self, systemids: *mut *mut GUID, count: *mut u32 ) -> Result<()>
Trait Implementations§
§impl Clone for IMFContentDecryptionModule
impl Clone for IMFContentDecryptionModule
§fn clone(&self) -> IMFContentDecryptionModule
fn clone(&self) -> IMFContentDecryptionModule
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IMFContentDecryptionModule
impl Debug for IMFContentDecryptionModule
§impl From<&IMFContentDecryptionModule> for &IUnknown
impl From<&IMFContentDecryptionModule> for &IUnknown
§fn from(value: &IMFContentDecryptionModule) -> Self
fn from(value: &IMFContentDecryptionModule) -> Self
Converts to this type from the input type.
§impl From<IMFContentDecryptionModule> for IUnknown
impl From<IMFContentDecryptionModule> for IUnknown
§fn from(value: IMFContentDecryptionModule) -> Self
fn from(value: IMFContentDecryptionModule) -> Self
Converts to this type from the input type.
§impl Interface for IMFContentDecryptionModule
impl Interface for IMFContentDecryptionModule
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IMFContentDecryptionModule
impl PartialEq for IMFContentDecryptionModule
§fn eq(&self, other: &IMFContentDecryptionModule) -> bool
fn eq(&self, other: &IMFContentDecryptionModule) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMFContentDecryptionModule
impl StructuralPartialEq for IMFContentDecryptionModule
Auto Trait Implementations§
impl RefUnwindSafe for IMFContentDecryptionModule
impl !Send for IMFContentDecryptionModule
impl !Sync for IMFContentDecryptionModule
impl Unpin for IMFContentDecryptionModule
impl UnwindSafe for IMFContentDecryptionModule
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more