I'm using a fixed "device instance id" e.g.:
"USB\VID_05C6&PID_9000&MI_02\6&2B1C347C&4&0002"
This field can be retrieved from device manager.


-----Original Message-----
From: Bill Luebkert [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 28, 2007 4:26 PM
To: Yaar, Kfir
Cc: [email protected]
Subject: Re: Retrieve USB mass-storage logical drive letter.
Importance: High

Yaar, Kfir wrote:
> Hi,
> 
>  
> 
> I want to retrieve the drive letter of an USB mass-storage device 
> inserted into the computer.
> 
> I have the "device instance id" / "HW ids" if it's helpful.

What sort of id do you have (format of ID and example) and how/where
did you get it ?

Win32API::File::GetVolumeInformation or maybe WMI would probably be
your best bet, but the type of ID/serial # you have would be needed.
_______________________________________________
Perl-Win32-Admin mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to