From: bluestar on
Dear joe:

You mean i use DeviceIoControl API to do quick-format that is a
good method, right?

Could you teach me how to set parameters of DeviceIoControl to
do this if i want
to quick format driver: "E:" ?

Thanks for your great help.


On 5$B7n(B5$BF|(B, $B2<8a(B10$B;~(B17$BJ,(B, Joseph M. Newcomer <newco...(a)flounder.com> wrote:
> The problem with using CreateProcess to create a cmd interpreter that runs a Format
> command is that if anything goes wrong, you have no idea what happened. Using the APIs,
> you usually know exactly what happened.
> joe
From: bluestar on
Could i use API to call the dialog that pop-up when right-click on the
driver:E and select the item:"Format"?


> On 5$B7n(B5$BF|(B, $B2<8a(B10$B;~(B17$BJ,(B, Joseph M. Newcomer <newco...(a)flounder.com> wrote:
>
>
>
> > The problem with using CreateProcess to create a cmd interpreter that runs a Format
> > command is that if anything goes wrong, you have no idea what happened. Using the APIs,
> > you usually know exactly what happened.
> > joe- $Bp,i6Ho0zMQJ8;z(B -
>
> - $Bp}<(Ho0zMQJ8;z(B -

From: David on
bluestar wrote:
> Could i use API to call the dialog that pop-up when right-click on the
> driver:E and select the item:"Format"?

Ask on specialized win32 api ng (comp.os.ms-windows.programmer.win32)
All methods, documented or not, to format a drive have been given for ages..