المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : initialize disk using c++ code



C++ Programming
01-26-2010, 05:11 AM
Hi All,

At one place in my code i need to run IOCTL_DISK_DELETE_DRIVE_LAYOUT, that execute smoothly. This IOCTL code make the disk signature as zero so it can not be initialize.
I need to initialize this disk using code. Is there any API or any function that can initialize the disk?

Please suggest me some way to initialize it using c++ code.


Thanks
MChauhan