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 = 0,
  VDS_FSOF_FORCE = 0x1,
  VDS_FSOF_QUICK = 0x2,
  VDS_FSOF_COMPRESSION = 0x4,
  VDS_FSOF_DUPLICATE_METADATA = 0x8
} VDS_FORMAT_OPTION_FLAGS;

Constants

 
VDS_FSOF_NONE
Value: 0
No options are specified.
VDS_FSOF_FORCE
Value: 0x1
The format operation should be forced, even if the partition is in use.
VDS_FSOF_QUICK
Value: 0x2
Perform a quick format operation. A quick format does not verify each sector on the volume.
VDS_FSOF_COMPRESSION
Value: 0x4
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
Value: 0x8
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