Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function performs the equivalent of a clean format of the storage volume. This removes all partition information in the store.
BOOL WINAPI FormatStore(HANDLE hStore);
Parameters
- hStore
[in] Handle to the store returned from OpenStore.
Return Values
Returns TRUE if successful, otherwise FALSE.
Remarks
FormatStore writes a new Master Boot Record to sector zero of the storage device, which effectively deletes all existing partitions. However, FormatStore does not actually write a file system format; to write a file system format, such as FATFS, call FormatVolume.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Storemgr.h
Link Library: Storeapi.lib
See Also
OpenStore | Storage Manager Functions | Partitioning a Storage Volume
Send Feedback on this topic to the authors