[Message Deleted]
-
I can't tell you how to do it, having tried half seriously myself on occassions and failed but I can tell you that DefineDosDevice is not the way to go and throttling somebody at Microsoft until they publish the interface for the Logical Disk Manager would probably be more productive. At your own risk of course. :)
"The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)
-
mayank_3103 wrote:
My main purpose is to find the drive letter of a newly created partition...
What do you know about this "newly created partition?" Have you looked at
QueryDosDevice()
?"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
mayank_3103 wrote:
My main purpose is to find the drive letter of a newly created partition...
What do you know about this "newly created partition?" Have you looked at
QueryDosDevice()
?"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
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