MSDN里的原话:
Physical Drive Number
If your application accesses hard drives and volumes in a low-level way (as with virus scanners, for example), you'll need to find the physical drive number, and you are going to have to change the way you find that number. The physical drive number isn't in that symbolic link anymore, anywhere. Instead you will need to use a couple of IOCTLs that are available. The first one:
IOCTL_STORAGE_GET_DEVICE_NUMBER
works for a single drive number. For example, if the drive is a C drive, that will work, or even if you have multiple partitions on a drive. But if you have a multi-volume set, you'll need to use: