I am seeking information on how to format a diskette using my own C++ program. I can't seem to find any function calls for this in the MS Visual C++ help.

I do not wish to launch someone else's program to do it because I don't want dialog boxes or user inputs other than those I design myself.