View Single Post
Old 27 July 2015, 13:12   #2
Registered User
thomas's Avatar
Join Date: Jan 2002
Location: Germany
Posts: 6,184
It depends a bit on the purpose of that all. If you want to make a list of device names for example, then you have to traverse the dos list anyway. Then it is not a big deal to traverse it again to find the corresponding volume names.

If you want to do it just once, well for the first case you could just Lock() the device name and Examine() it to find the volume name.

For the second case I don't remember if there is any function which returns the device name. It's probably up to the dos list again...

To match a device node with the corresponding volume node in the dos list you can use the dol_Task field.
thomas is offline  
Page generated in 0.08476 seconds with 11 queries