My application is for windows Vista and XP.
There are more than on Hard drive connected to my machine. I need to get Drive Letters of the Hard drive from which my system is booting.
By using GetLogicalDriveStrings Function I can get the drive letters of all Hard drives. But how can I differentiate that this particular drive letter is the partition name of my booting Hard drive?
The structure of disks are:
disk0(Booting with this)- C D G
disk1- E F H
disk2- I J
I need to get the C,D,G only.