How to map Physical to Logical Drives?

How to map Physical to Logical Drives?

Postby mvandere » 17 Jul 2010 01:10

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 :)
mvandere
 
Posts: 4
Joined: 15 Jul 2010 09:35

Re: How to map Physical to Logical Drives?

Postby mvandere » 17 Jul 2010 02:25

I think IOCTL_STORAGE_GET_DEVICE_NUMBER is what I'm looking for
mvandere
 
Posts: 4
Joined: 15 Jul 2010 09:35

Re: How to map Physical to Logical Drives?

Postby Maël » 17 Jul 2010 15:44

I haven't had a need to implement this so far, so I don't know, I'm sorry.
Maël
Site Admin
 
Posts: 492
Joined: 12 Mar 2005 15:15
Location: Germany


Return to Off Topic

Who is online

Users browsing this forum: No registered users and 1 guest

cron