Program to format every media in c++

Posted by AtoMerZ on Stack Overflow See other posts from Stack Overflow or by AtoMerZ
Published on 2012-11-06T11:30:16Z Indexed on 2012/11/14 11:01 UTC
Read the original article Hit count: 218

Filed under:
|
|
|

Problem:
I'm trying to write a program that formats any type of media. So far I've managed to format Hard disk partitions, flash memories, SDRAM, RDX.
But there's this last type of media (DVD-RAM) I need to format. My program fails to format this media.
I'm using the FormatEx function in fmifs.dll. I had absolutely no idea how to use this function Except for its name and that it resides in fmifs.dll. with the help of this I managed to find a simple program that uses this library. Yet still it doesn't give complete information about how to use it.

What I've tried:
I'm looking for a full documentation about FormatEx, its parameters, and exactly what values each parameter can take.
I tried searching on google and MSDN. This is what I found. First of all this isn't the function I'm working with. But even putting that aside there's not enough information on how to use the function (Like which headers/libraries to use).

EDIT:
I don't have to use FormatEx if there's an alternative to use please tell.

© Stack Overflow or respective owner

Related posts about c++

Related posts about windows-xp