what my problem is suppose I have 2 hard disk connected in my PC They both having 4 partitions each. by using the function "GetLogicalDrives" I can get the drive letters of all the partitions. Say suppose C:,D:,E:,F:,G:,H:,I:,J:. Now the problem is how I am going to identify which drive letters belongs to which Hard drive? If I just want to have the drive letters of the "PhysicalDrive0" how I am going to differentiate. Is there any function through which I can get the Disk number from drive letters??? Hope you must have understood my problem!!! Thanks Mayank