Struct windows::Win32::Media::WindowsMediaFormat::IWMDRMReader
pub struct IWMDRMReader(/* private fields */);
Implementations§
§impl IWMDRMReader
impl IWMDRMReader
pub unsafe fn AcquireLicense(&self, dwflags: u32) -> Result<()>
pub unsafe fn CancelLicenseAcquisition(&self) -> Result<()>
pub unsafe fn Individualize(&self, dwflags: u32) -> Result<()>
pub unsafe fn CancelIndividualization(&self) -> Result<()>
pub unsafe fn MonitorLicenseAcquisition(&self) -> Result<()>
pub unsafe fn CancelMonitorLicenseAcquisition(&self) -> Result<()>
pub unsafe fn SetDRMProperty<P0>(
&self,
pwstrname: P0,
dwtype: WMT_ATTR_DATATYPE,
pvalue: &[u8]
) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn GetDRMProperty<P0>(
&self,
pwstrname: P0,
pdwtype: *mut WMT_ATTR_DATATYPE,
pvalue: *mut u8,
pcblength: *mut u16
) -> Result<()>where
P0: IntoParam<PCWSTR>,
Trait Implementations§
§impl Clone for IWMDRMReader
impl Clone for IWMDRMReader
§fn clone(&self) -> IWMDRMReader
fn clone(&self) -> IWMDRMReader
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 IWMDRMReader
impl Debug for IWMDRMReader
§impl From<&IWMDRMReader> for &IUnknown
impl From<&IWMDRMReader> for &IUnknown
§fn from(value: &IWMDRMReader) -> Self
fn from(value: &IWMDRMReader) -> Self
Converts to this type from the input type.
§impl From<&IWMDRMReader2> for &IWMDRMReader
impl From<&IWMDRMReader2> for &IWMDRMReader
§fn from(value: &IWMDRMReader2) -> Self
fn from(value: &IWMDRMReader2) -> Self
Converts to this type from the input type.
§impl From<&IWMDRMReader3> for &IWMDRMReader
impl From<&IWMDRMReader3> for &IWMDRMReader
§fn from(value: &IWMDRMReader3) -> Self
fn from(value: &IWMDRMReader3) -> Self
Converts to this type from the input type.
§impl From<IWMDRMReader> for IUnknown
impl From<IWMDRMReader> for IUnknown
§fn from(value: IWMDRMReader) -> Self
fn from(value: IWMDRMReader) -> Self
Converts to this type from the input type.
§impl From<IWMDRMReader2> for IWMDRMReader
impl From<IWMDRMReader2> for IWMDRMReader
§fn from(value: IWMDRMReader2) -> Self
fn from(value: IWMDRMReader2) -> Self
Converts to this type from the input type.
§impl From<IWMDRMReader3> for IWMDRMReader
impl From<IWMDRMReader3> for IWMDRMReader
§fn from(value: IWMDRMReader3) -> Self
fn from(value: IWMDRMReader3) -> Self
Converts to this type from the input type.
§impl Interface for IWMDRMReader
impl Interface for IWMDRMReader
§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 IWMDRMReader
impl PartialEq for IWMDRMReader
§fn eq(&self, other: &IWMDRMReader) -> bool
fn eq(&self, other: &IWMDRMReader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IWMDRMReader
impl StructuralPartialEq for IWMDRMReader
Auto Trait Implementations§
impl RefUnwindSafe for IWMDRMReader
impl !Send for IWMDRMReader
impl !Sync for IWMDRMReader
impl Unpin for IWMDRMReader
impl UnwindSafe for IWMDRMReader
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