Re: How to determine logical volume given a device instance

Im not sure if this is exactly what you are looking for but, WMI provodes a
lot of info on this sort of thing on 2000 and XP. If you have the WMI sdk
installed (it comes with Platform SDK) run the WMI Object Viewer and browse
for Win32_DiskDrive. There will be objects for all drives ie.
\\.\PHYSICALDRIVE0,\\.\PHYSICALDRIVE1. Select from any of them and
there will be an entry for Win32_DiskDriveToDiskPartition.Dependent, from
here you can link to the DeviceID “C:\”.

I have done a similar thing from user mode to match PhysicalDrive? with
their corresponding controllers (IDE,USB,1394,SCSI)