This function formats a volume.
[in] Handle to a disk or partition. Call CreateFile to obtain a handle to the volume.
[in, out] Pointer to a FORMAT_PARAMS structure used to pass in parameters and receive results of the the format.
ERROR_SUCCESS indicates success. ERROR_GEN_FAILURE indicates failure.
For best results, use the correct type of handle. For example, if the store to be scanned is partitioned, use a handle to the partition. If the store is not partitioned, use a disk handle.