pub trait IWMRegisteredDevice_Impl: Sized {
Show 14 methods // Required methods fn GetDeviceSerialNumber(&self) -> Result<DRM_VAL16>; fn GetDeviceCertificate(&self) -> Result<INSSBuffer>; fn GetDeviceType(&self) -> Result<u32>; fn GetAttributeCount(&self) -> Result<u32>; fn GetAttributeByIndex( &self, dwindex: u32, pbstrname: *mut BSTR, pbstrvalue: *mut BSTR ) -> Result<()>; fn GetAttributeByName(&self, bstrname: &BSTR) -> Result<BSTR>; fn SetAttributeByName( &self, bstrname: &BSTR, bstrvalue: &BSTR ) -> Result<()>; fn Approve(&self, fapprove: BOOL) -> Result<()>; fn IsValid(&self) -> Result<BOOL>; fn IsApproved(&self) -> Result<BOOL>; fn IsWmdrmCompliant(&self) -> Result<BOOL>; fn IsOpened(&self) -> Result<BOOL>; fn Open(&self) -> Result<()>; fn Close(&self) -> Result<()>;
}

Required Methods§

fn GetDeviceSerialNumber(&self) -> Result<DRM_VAL16>

fn GetDeviceCertificate(&self) -> Result<INSSBuffer>

fn GetDeviceType(&self) -> Result<u32>

fn GetAttributeCount(&self) -> Result<u32>

fn GetAttributeByIndex( &self, dwindex: u32, pbstrname: *mut BSTR, pbstrvalue: *mut BSTR ) -> Result<()>

fn GetAttributeByName(&self, bstrname: &BSTR) -> Result<BSTR>

fn SetAttributeByName(&self, bstrname: &BSTR, bstrvalue: &BSTR) -> Result<()>

fn Approve(&self, fapprove: BOOL) -> Result<()>

fn IsValid(&self) -> Result<BOOL>

fn IsApproved(&self) -> Result<BOOL>

fn IsWmdrmCompliant(&self) -> Result<BOOL>

fn IsOpened(&self) -> Result<BOOL>

fn Open(&self) -> Result<()>

fn Close(&self) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§