Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

VDS_FORMAT_OPTION_FLAGS enumeration

[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_FSOF_NONE                = 0x00000000,
  VDS_FSOF_FORCE               = 0x00000001,
  VDS_FSOF_QUICK               = 0x00000002,
  VDS_FSOF_COMPRESSION         = 0x00000004,
  VDS_FSOF_DUPLICATE_METADATA  = 0x00000008
} 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

 

 

Show: