How do you map physical drives(0,1,2,...) to logical drives(C:,D:,E:...), or vice versa?
All the code I can find on the net seems to be wrong (it only works if the logical drive is partitioned)
Delphi examples would be fine
How to map Physical to Logical Drives?
Re: How to map Physical to Logical Drives?
I think IOCTL_STORAGE_GET_DEVICE_NUMBER is what I'm looking for
Re: How to map Physical to Logical Drives?
I haven't had a need to implement this so far, so I don't know, I'm sorry.