IOCTL support for disk format
Posted on 2003-03-05
I'm trying to write my own formating utility for various removable media in Visual C++. i have found out that I can use IOCTL device control codes. But I have problem with using them. Does anybody know what is the order of IOCTL codes to do a low level format and set up a apropriete partition and file system?
I found here an example for floppy disk, but most of the removable media are close to disk (or most of them apear to use the disk.sys driver)
Or does anybody know how can I get the list of supported IOCTL control codes directly from device drivers if I don't have a source code from these .sys drivers?
Is there any chance to do a media recovery?