I need to use FormatEx to format one of my drive. I need to use this because I want to show the progress percentage and read somewhere the using FormatEx I can get the percentage of the task done.

Now, my problem is I never used this API function and don't know how to use it.

Can anyone help me in declaring and executing the function in C#?

Thanks in advance for your help.

Ashish Sharma