Hi all,

I am trying to format an USB device [Pendrive] by using Wince 5.0. I have
written one application but it is working for formating the USB.

Is any body know how to format an USB using Wince5.0? and which main
functions are used to format USB?


Thanks in advance,

Swapnil

Re: How to format USB in WinCE 5.0? by Michel

Michel
Fri Jul 25 04:10:46 PDT 2008

What API are you using to format now?

The way to format is using fatutil, so FormatVolume, see
http://msdn.microsoft.com/en-us/library/aa910657.aspx

Here's some code I posted a while back that shows you how to format (as
well as partition):
http://groups.google.co.nz/group/microsoft.public.windowsce.platbuilder/browse_thread/thread/3607ffc6f69b59e3/851812ab08988a6a?hl=en&lnk=st&q=partition+group%3A*windowsce*+author%3Amichel+author%3Averhagen#851812ab08988a6a


Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE Ltd.
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.

Nil wrote:
> Hi all,
>
> I am trying to format an USB device [Pendrive] by using Wince 5.0. I have
> written one application but it is working for formating the USB.
>
> Is any body know how to format an USB using Wince5.0? and which main
> functions are used to format USB?
>
>
> Thanks in advance,
>
> Swapnil