다음을 통해 공유


PD_FormatPartition (Windows Embedded CE 6.0)

1/6/2010

This function formats a partition on the storage volume.

Syntax

DWORD PD_FormatPartition(
  DWORD dwStoreId, 
  LPCTSTR szPartName, 
  BYTE bPartType, 
  BOOL bAuto
);

Parameters

  • dwStoreId
    [in] Handle returned by the PD_OpenStore function.
  • szPartName
    [in] Name of the new partition to format.
  • bPartType
    [in] Partition type or identifier.
  • bAuto
    [in] Specifies whether the partition driver automatically selects the default file system or partition type.

Return Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header partdrv.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Partition Manager Functions
CreatePartition
PD_OpenStore