Struct windows::Win32::Media::WindowsMediaFormat::IWMDRMReader2
pub struct IWMDRMReader2(/* private fields */);
Implementations§
§impl IWMDRMReader2
impl IWMDRMReader2
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>,
pub unsafe fn SetEvaluateOutputLevelLicenses<P0>(
&self,
fevaluate: P0
) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn GetPlayOutputLevels( &self, pplayopl: *mut DRM_PLAY_OPL, pcblength: *mut u32, pdwminappcompliancelevel: *mut u32 ) -> Result<()>
pub unsafe fn GetCopyOutputLevels( &self, pcopyopl: *mut DRM_COPY_OPL, pcblength: *mut u32, pdwminappcompliancelevel: *mut u32 ) -> Result<()>
pub unsafe fn TryNextLicense(&self) -> Result<()>
Trait Implementations§
§impl Clone for IWMDRMReader2
impl Clone for IWMDRMReader2
§fn clone(&self) -> IWMDRMReader2
fn clone(&self) -> IWMDRMReader2
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 IWMDRMReader2
impl Debug for IWMDRMReader2
§impl From<&IWMDRMReader2> for &IUnknown
impl From<&IWMDRMReader2> for &IUnknown
§fn from(value: &IWMDRMReader2) -> Self
fn from(value: &IWMDRMReader2) -> 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 &IWMDRMReader2
impl From<&IWMDRMReader3> for &IWMDRMReader2
§fn from(value: &IWMDRMReader3) -> Self
fn from(value: &IWMDRMReader3) -> Self
Converts to this type from the input type.
§impl From<IWMDRMReader2> for IUnknown
impl From<IWMDRMReader2> for IUnknown
§fn from(value: IWMDRMReader2) -> Self
fn from(value: IWMDRMReader2) -> 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 IWMDRMReader2
impl From<IWMDRMReader3> for IWMDRMReader2
§fn from(value: IWMDRMReader3) -> Self
fn from(value: IWMDRMReader3) -> Self
Converts to this type from the input type.
§impl Interface for IWMDRMReader2
impl Interface for IWMDRMReader2
§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 IWMDRMReader2
impl PartialEq for IWMDRMReader2
§fn eq(&self, other: &IWMDRMReader2) -> bool
fn eq(&self, other: &IWMDRMReader2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IWMDRMReader2
impl StructuralPartialEq for IWMDRMReader2
Auto Trait Implementations§
impl RefUnwindSafe for IWMDRMReader2
impl !Send for IWMDRMReader2
impl !Sync for IWMDRMReader2
impl Unpin for IWMDRMReader2
impl UnwindSafe for IWMDRMReader2
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