Formatting the hard disk drive

Hi all,

I wish to format a small partition in the virtual disk created by my
program.
The one packet i thought which was useful for it was
IOCTL_DISK_VERIFY,
there must be other issues involved because, its not working in my case, I
am sending VERIFY_INFORMATION information correctly.
Please Help.

Thanks,
Lalit