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.