Struct windows::Win32::Media::WindowsMediaFormat::IWMRegisteredDevice
pub struct IWMRegisteredDevice(/* private fields */);
Implementations§
§impl IWMRegisteredDevice
impl IWMRegisteredDevice
pub unsafe fn GetDeviceSerialNumber(&self) -> Result<DRM_VAL16>
pub unsafe fn GetDeviceCertificate(&self) -> Result<INSSBuffer>
pub unsafe fn GetDeviceType(&self) -> Result<u32>
pub unsafe fn GetAttributeCount(&self) -> Result<u32>
pub unsafe fn GetAttributeByIndex( &self, dwindex: u32, pbstrname: *mut BSTR, pbstrvalue: *mut BSTR ) -> Result<()>
pub unsafe fn GetAttributeByName<P0>(&self, bstrname: P0) -> Result<BSTR>where
P0: IntoParam<BSTR>,
pub unsafe fn SetAttributeByName<P0, P1>( &self, bstrname: P0, bstrvalue: P1 ) -> Result<()>
pub unsafe fn Approve<P0>(&self, fapprove: P0) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn IsValid(&self) -> Result<BOOL>
pub unsafe fn IsApproved(&self) -> Result<BOOL>
pub unsafe fn IsWmdrmCompliant(&self) -> Result<BOOL>
pub unsafe fn IsOpened(&self) -> Result<BOOL>
pub unsafe fn Open(&self) -> Result<()>
pub unsafe fn Close(&self) -> Result<()>
Trait Implementations§
§impl Clone for IWMRegisteredDevice
impl Clone for IWMRegisteredDevice
§fn clone(&self) -> IWMRegisteredDevice
fn clone(&self) -> IWMRegisteredDevice
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 IWMRegisteredDevice
impl Debug for IWMRegisteredDevice
§impl From<&IWMRegisteredDevice> for &IUnknown
impl From<&IWMRegisteredDevice> for &IUnknown
§fn from(value: &IWMRegisteredDevice) -> Self
fn from(value: &IWMRegisteredDevice) -> Self
Converts to this type from the input type.
§impl From<IWMRegisteredDevice> for IUnknown
impl From<IWMRegisteredDevice> for IUnknown
§fn from(value: IWMRegisteredDevice) -> Self
fn from(value: IWMRegisteredDevice) -> Self
Converts to this type from the input type.
§impl Interface for IWMRegisteredDevice
impl Interface for IWMRegisteredDevice
§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 IWMRegisteredDevice
impl PartialEq for IWMRegisteredDevice
§fn eq(&self, other: &IWMRegisteredDevice) -> bool
fn eq(&self, other: &IWMRegisteredDevice) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IWMRegisteredDevice
impl StructuralPartialEq for IWMRegisteredDevice
Auto Trait Implementations§
impl RefUnwindSafe for IWMRegisteredDevice
impl !Send for IWMRegisteredDevice
impl !Sync for IWMRegisteredDevice
impl Unpin for IWMRegisteredDevice
impl UnwindSafe for IWMRegisteredDevice
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