mxp
November 20th, 2005, 11:39 AM
Hello guys,
I have sucessfully open physical disk by using the CreateFile function and passing it the "\\.\\\\PHYSICALDISK1", but this methods opens a whole disk. I want to open an ext2 partion, given me disk number and partition number how can I do that???
Remember I am coding a software so I cannot use an already programmed driver, or software. In short I have to look up partitions in MBR, can some one provide me some document on format of MBR, or a piece of code that can enumrate partitions. (They must be window independent function)
I have sucessfully open physical disk by using the CreateFile function and passing it the "\\.\\\\PHYSICALDISK1", but this methods opens a whole disk. I want to open an ext2 partion, given me disk number and partition number how can I do that???
Remember I am coding a software so I cannot use an already programmed driver, or software. In short I have to look up partitions in MBR, can some one provide me some document on format of MBR, or a piece of code that can enumrate partitions. (They must be window independent function)