kavitesh
December 23rd, 2008, 05:14 AM
I want to use only Win32 APIs with no calls to any COM components or MFC.
I want to perform two tasks:-
1. Know the number of harddisk present on the system.
2. List all the partitions on the harddisk
3. Delete all data in the selected partition.
I would be using WinPE bootable CD which would give me access to all the drives in admistrator to perform the disc operations.
I would not like to use some already built command line or GUI applications. I intend to use Win32 APIs and create my application.
Also is there any way using some specified functions to know totals directories on the partition whose data needs to be erased and how much time it will take to remove the data.
I want to perform two tasks:-
1. Know the number of harddisk present on the system.
2. List all the partitions on the harddisk
3. Delete all data in the selected partition.
I would be using WinPE bootable CD which would give me access to all the drives in admistrator to perform the disc operations.
I would not like to use some already built command line or GUI applications. I intend to use Win32 APIs and create my application.
Also is there any way using some specified functions to know totals directories on the partition whose data needs to be erased and how much time it will take to remove the data.