M
Monty
i opend the harddisk like this
sHardDisk.Format("\\\\.\\PhysicalDrive1");
HANDLE hDevice =
CreateFile(sHardDisk,GENERIC_READ,......,0,OPEN_EXISTING,0,0);
then i read the Partition table using ReadFile
Everything is fine i can read all the partitions and extended
partitions directly from harddisk but my questions is
How can i find out the logical drive name corresponding to the
Partitions and extended
partitions that i read directly from hard disk?
Thank you in advance.
sHardDisk.Format("\\\\.\\PhysicalDrive1");
HANDLE hDevice =
CreateFile(sHardDisk,GENERIC_READ,......,0,OPEN_EXISTING,0,0);
then i read the Partition table using ReadFile
Everything is fine i can read all the partitions and extended
partitions directly from harddisk but my questions is
How can i find out the logical drive name corresponding to the
Partitions and extended
partitions that i read directly from hard disk?
Thank you in advance.