>Thank you , This is realy helping.
>
>But just one thing is missing. I like to call the format without the dialog window.
>
>I am creating a application that drive a Autoloader ( It a mouster that write on disk and print on the lable ) and we want to format the disk before we write on it. This process can run over night and the user must not do any input.
>
>Is there a way to call this API function without the dialop showing?
>Can you tell me wher in MSDN you found the information on this?
Hi Jean-Rene,
AFAIK, Windows doesn't expose this functionality. What I'm about to write applied years ago, and my hunch is that it still does. However, if some else says "Nope!", I'll defer to them.
The ability to format a drive is (or at least was) provided through a ROM BIOS interrupt call (one of the 13H functions). Windows exposes some of this functionality through the API, but not all. In general, going outside of the API to access the ROM BIOS isn't a terribly good idea, IMHO. This is what you'd have to do, I believe.
George
Ubi caritas et amor, deus ibi est