pub struct IPortableDeviceManager(/* private fields */);Implementations§
Source§impl IPortableDeviceManager
impl IPortableDeviceManager
pub unsafe fn GetDevices( &self, ppnpdeviceids: *mut PWSTR, pcpnpdeviceids: *mut u32, ) -> Result<(), Error>
pub unsafe fn RefreshDeviceList(&self) -> Result<(), Error>
pub unsafe fn GetDeviceFriendlyName<P0>(
&self,
pszpnpdeviceid: P0,
pdevicefriendlyname: PWSTR,
pcchdevicefriendlyname: *mut u32,
) -> Result<(), Error>where
P0: IntoParam<PCWSTR>,
pub unsafe fn GetDeviceDescription<P0>(
&self,
pszpnpdeviceid: P0,
pdevicedescription: PWSTR,
pcchdevicedescription: *mut u32,
) -> Result<(), Error>where
P0: IntoParam<PCWSTR>,
pub unsafe fn GetDeviceManufacturer<P0>(
&self,
pszpnpdeviceid: P0,
pdevicemanufacturer: PWSTR,
pcchdevicemanufacturer: *mut u32,
) -> Result<(), Error>where
P0: IntoParam<PCWSTR>,
pub unsafe fn GetDeviceProperty<P0, P1>( &self, pszpnpdeviceid: P0, pszdevicepropertyname: P1, pdata: *mut u8, pcbdata: *mut u32, pdwtype: *mut u32, ) -> Result<(), Error>
pub unsafe fn GetPrivateDevices( &self, ppnpdeviceids: *mut PWSTR, pcpnpdeviceids: *mut u32, ) -> Result<(), Error>
Trait Implementations§
Source§impl Clone for IPortableDeviceManager
impl Clone for IPortableDeviceManager
Source§fn clone(&self) -> IPortableDeviceManager
fn clone(&self) -> IPortableDeviceManager
Returns a duplicate 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 moreSource§impl ComInterface for IPortableDeviceManager
impl ComInterface for IPortableDeviceManager
fn as_unknown(&self) -> &IUnknown
Source§fn cast<T>(&self) -> Result<T, Error>where
T: ComInterface,
fn cast<T>(&self) -> Result<T, Error>where
T: ComInterface,
Attempts to cast the current interface to another interface using
QueryInterface. Read moreSource§impl Debug for IPortableDeviceManager
impl Debug for IPortableDeviceManager
Source§impl Interface for IPortableDeviceManager
impl Interface for IPortableDeviceManager
type Vtable = IPortableDeviceManager_Vtbl
Source§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.Source§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.
Source§impl PartialEq for IPortableDeviceManager
impl PartialEq for IPortableDeviceManager
impl Eq for IPortableDeviceManager
impl StructuralPartialEq for IPortableDeviceManager
Auto Trait Implementations§
impl Freeze for IPortableDeviceManager
impl RefUnwindSafe for IPortableDeviceManager
impl !Send for IPortableDeviceManager
impl !Sync for IPortableDeviceManager
impl Unpin for IPortableDeviceManager
impl UnwindSafe for IPortableDeviceManager
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