pub trait IPortableDeviceManager_Impl: Sized {
// Required methods
fn GetDevices(
&self,
ppnpdeviceids: *mut PWSTR,
pcpnpdeviceids: *mut u32,
) -> Result<()>;
fn RefreshDeviceList(&self) -> Result<()>;
fn GetDeviceFriendlyName(
&self,
pszpnpdeviceid: &PCWSTR,
pdevicefriendlyname: &PWSTR,
pcchdevicefriendlyname: *mut u32,
) -> Result<()>;
fn GetDeviceDescription(
&self,
pszpnpdeviceid: &PCWSTR,
pdevicedescription: &PWSTR,
pcchdevicedescription: *mut u32,
) -> Result<()>;
fn GetDeviceManufacturer(
&self,
pszpnpdeviceid: &PCWSTR,
pdevicemanufacturer: &PWSTR,
pcchdevicemanufacturer: *mut u32,
) -> Result<()>;
fn GetDeviceProperty(
&self,
pszpnpdeviceid: &PCWSTR,
pszdevicepropertyname: &PCWSTR,
pdata: *mut u8,
pcbdata: *mut u32,
pdwtype: *mut u32,
) -> Result<()>;
fn GetPrivateDevices(
&self,
ppnpdeviceids: *mut PWSTR,
pcpnpdeviceids: *mut u32,
) -> Result<()>;
}
Required Methods§
fn GetDevices( &self, ppnpdeviceids: *mut PWSTR, pcpnpdeviceids: *mut u32, ) -> Result<()>
fn RefreshDeviceList(&self) -> Result<()>
fn GetDeviceFriendlyName( &self, pszpnpdeviceid: &PCWSTR, pdevicefriendlyname: &PWSTR, pcchdevicefriendlyname: *mut u32, ) -> Result<()>
fn GetDeviceDescription( &self, pszpnpdeviceid: &PCWSTR, pdevicedescription: &PWSTR, pcchdevicedescription: *mut u32, ) -> Result<()>
fn GetDeviceManufacturer( &self, pszpnpdeviceid: &PCWSTR, pdevicemanufacturer: &PWSTR, pcchdevicemanufacturer: *mut u32, ) -> Result<()>
fn GetDeviceProperty( &self, pszpnpdeviceid: &PCWSTR, pszdevicepropertyname: &PCWSTR, pdata: *mut u8, pcbdata: *mut u32, pdwtype: *mut u32, ) -> Result<()>
fn GetPrivateDevices( &self, ppnpdeviceids: *mut PWSTR, pcpnpdeviceids: *mut u32, ) -> Result<()>
Object Safety§
This trait is not object safe.