PD_FormatPartition (Windows CE 5.0)
This function formats a partition on the storage volume.
DWORD PD_FormatPartition(DWORDdwStoreId, LPCTSTR szPartName, BYTE bPartType, BOOL bAuto);
Parameters
- dwStoreId
[in] This is returned from a PD_OpenStore call. - szPartName
[in] The name of the new partition to format. - bPartType
[in] The partition type or identifier. - bAuto
[in] Whether the partition driver is to automatically select the default file system or partition type.
Return Values
TRUE if the call was successful, FALSE otherwise.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Partdrv.h.
See Also
CreatePartition | PD_OpenStore
Send Feedback on this topic to the authors