>I want to know is there a way to determine
programmatically the physical location of a given logical letter. For example I have two hard drives, each of them with more than one partition.
>
>In windows NT/2K/XP (NTFS) with Disk Manager I can assign drive letters to each partition, in Windows 9x/ME (FAT, FAT32) the letters that are assigned to partitions are given by the OS.
>I want to know for example on which of the two (for example) hard disks resides drive letter 'E:'. I wish to determine this programmatically, from my own program.
>
Yes, the DeviceIoControl() API will do it - you need to use some of the discontinued functionality to work under systems prior to Win2K. Good luck implementing it.