Is there a way to associate drive letter to VendorID or Physical serial
number under win95 family ?
For external drive attached with USB, 1394 etc., I can not use scsi cmd,
since I can not open the device thatway on CreateFile ( …) . On the
other hand ASPI cmd would give me the physical serial, but how could I
associate it with drive letter(s).
I tried to look at the IFS_Mgr interfaces, and struggling with the
internal DSs like
Shell resouces, volinfo, CDS etc. Using an example hook to IFS_Mgr, I
can grab quite a bit of infos but still not obvious yet that I could
associate with drv. Letter. Damn!, why do I end up w/hooking :).
For Apps, or using the above method, I can see the drive letter(s), and
it is thru the Filesystem stack, but ASPI goes outside of this until
SCSI port Manager.
Any help !
-prokash
Well for now I got a solution, that is to find the drive letter
assignments from the registry. Hope it should be fine.
Thanks
-prokash
-----Original Message-----
From: Sinha, Prokash
Sent: Friday, February 27, 2004 2:32 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Drive letter association on Win95
Is there a way to associate drive letter to VendorID or Physical serial
number under win95 family ?
For external drive attached with USB, 1394 etc., I can not use scsi cmd,
since I can not open the device thatway on CreateFile ( …) . On the
other hand ASPI cmd would give me the physical serial, but how could I
associate it with drive letter(s).
I tried to look at the IFS_Mgr interfaces, and struggling with the
internal DSs like Shell resouces, volinfo, CDS etc. Using an example
hook to IFS_Mgr, I can grab quite a bit of infos but still not obvious
yet that I could associate with drv. Letter. Damn!, why do I end up
w/hooking :).
For Apps, or using the above method, I can see the drive letter(s), and
it is thru the Filesystem stack, but ASPI goes outside of this until
SCSI port Manager.
Any help !
-prokash
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@maxtor.com To
unsubscribe send a blank email to xxxxx@lists.osr.com