Struct windows::Win32::Media::WindowsMediaFormat::IWMDRMReader3
pub struct IWMDRMReader3(/* private fields */);
Implementations§
§impl IWMDRMReader3
impl IWMDRMReader3
Methods from Deref<Target = IWMDRMReader2>§
pub unsafe fn SetEvaluateOutputLevelLicenses<P0>(
&self,
fevaluate: P0,
) -> Result<()>where
P0: Param<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<()>
Methods from Deref<Target = 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: Param<PCWSTR>,
pub unsafe fn GetDRMProperty<P0>(
&self,
pwstrname: P0,
pdwtype: *mut WMT_ATTR_DATATYPE,
pvalue: *mut u8,
pcblength: *mut u16,
) -> Result<()>where
P0: Param<PCWSTR>,
Trait Implementations§
§impl CanInto<IUnknown> for IWMDRMReader3
impl CanInto<IUnknown> for IWMDRMReader3
§impl CanInto<IWMDRMReader> for IWMDRMReader3
impl CanInto<IWMDRMReader> for IWMDRMReader3
§impl CanInto<IWMDRMReader2> for IWMDRMReader3
impl CanInto<IWMDRMReader2> for IWMDRMReader3
§impl Clone for IWMDRMReader3
impl Clone for IWMDRMReader3
§fn clone(&self) -> IWMDRMReader3
fn clone(&self) -> IWMDRMReader3
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 IWMDRMReader3
impl Debug for IWMDRMReader3
§impl Deref for IWMDRMReader3
impl Deref for IWMDRMReader3
§impl From<&IWMDRMReader3> for &IUnknown
impl From<&IWMDRMReader3> for &IUnknown
§fn from(value: &IWMDRMReader3) -> Self
fn from(value: &IWMDRMReader3) -> 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<&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<IWMDRMReader3> for IUnknown
impl From<IWMDRMReader3> for IUnknown
§fn from(value: IWMDRMReader3) -> Self
fn from(value: IWMDRMReader3) -> 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<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 IWMDRMReader3
impl Interface for IWMDRMReader3
§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§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IWMDRMReader3
impl PartialEq for IWMDRMReader3
§fn eq(&self, other: &IWMDRMReader3) -> bool
fn eq(&self, other: &IWMDRMReader3) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IWMDRMReader3
impl StructuralPartialEq for IWMDRMReader3
Auto Trait Implementations§
impl Freeze for IWMDRMReader3
impl RefUnwindSafe for IWMDRMReader3
impl !Send for IWMDRMReader3
impl !Sync for IWMDRMReader3
impl Unpin for IWMDRMReader3
impl UnwindSafe for IWMDRMReader3
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)