VDS_FORMAT_OPTION_FLAGS enumeration (vds.h)

[Beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.]

Defines the set of valid formatting options for the IVdsDiskPartitionMF2::FormatPartitionEx2 method.

Syntax

typedef enum _VDS_FORMAT_OPTION_FLAGS {
  VDS_FSOF_NONE,
  VDS_FSOF_FORCE,
  VDS_FSOF_QUICK,
  VDS_FSOF_COMPRESSION,
  VDS_FSOF_DUPLICATE_METADATA
} VDS_FORMAT_OPTION_FLAGS;

Constants

 
VDS_FSOF_NONE
No options are specified.
VDS_FSOF_FORCE
The format operation should be forced, even if the partition is in use.
VDS_FSOF_QUICK
Perform a quick format operation. A quick format does not verify each sector on the volume.
VDS_FSOF_COMPRESSION
Enable compression on the newly formatted file system volume. Compression is a feature of the NTFS file system; it cannot be set for other file systems such as FAT or FAT32.
VDS_FSOF_DUPLICATE_METADATA
Forces duplication of metadata for UDF 2.5 and above.

Remarks

Note  Additional constants might be added to the VDS_FORMAT_OPTION_FLAGS enumeration in future Windows versions. For this reason, your application must be designed to gracefully handle an unrecognized VDS_FORMAT_OPTION_FLAGS enumeration constant.
 

Requirements

   
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header vds.h

See also

IVdsDiskPartitionMF2::FormatPartitionEx2