Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

FormatVolumeEx (Windows Embedded CE 6.0)

1/6/2010

This function formats a volume.


DWORD FormatVolumeEx(
  HANDLE hVolume,
  PFORMAT_PARAMS pfp, 
);

hVolume

[in] Handle to a disk or partition. Call CreateFile to obtain a handle to the volume.

pfp

[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.

Headerformatdisk.h
LibraryFatutil.dll
Windows Embedded CEWindows CE .NET 4.2 and later

Community Additions

ADD
Show:
© 2015 Microsoft