This topic has not yet been rated - Rate this topic

VDS_FILE_SYSTEM_FORMAT_SUPPORT_PROP structure

[Both the Virtual Disk Service and dynamic disks are deprecated as of Windows 8 Consumer Preview and Windows Server 8 Beta, and may be unavailable in subsequent versions of Windows. For more information, see Windows Storage Management API.]

Applies to: desktop apps only

Provides information about file systems that are supported for formatting volumes.

Syntax

typedef struct _VDS_FILE_SYSTEM_FORMAT_SUPPORT_PROP {
  ULONG  ulFlags;
  USHORT usRevision;
  ULONG  ulDefaultUnitAllocationSize;
  ULONG  rgulAllowedUnitAllocationSizes;
  WCHAR  wszName;
} VDS_FILE_SYSTEM_FORMAT_SUPPORT_PROP, *PVDS_FILE_SYSTEM_FORMAT_SUPPORT_PROP;

Members

ulFlags

Bitwise-OR of any of the values defined in the VDS_FILE_SYSTEM_FORMAT_SUPPORT_FLAG enumeration.

usRevision

The revision of the file system, if any. This member is expressed as a 16-bit binary-coded decimal number, where a decimal point is implied between the second and third digits. For example, a value of 0x0250 indicates revision 2.50.

ulDefaultUnitAllocationSize

Default allocation unit size, in bytes, that will be used by the file system for formatting the volume. This value must be a power of 2 and must also appear in the rgulAllowedUnitAllocationSizes member.

rgulAllowedUnitAllocationSizes

A zero-terminated array of allocation unit sizes, in bytes, that are supported by the file system for formatting the volume. The case where the array will not be zero-terminated is if there are MAX_FS_ALLOWED_CLUSTER_SIZES_SIZE number of elements in the array. Each of the values in the array must be a power of 2.

wszName

Null-terminated Unicode string indicating the name of the file system. Possible values include the following.

ValueMeaning
L"CDFS"

CD-ROM file system (CDFS)

L"FAT"

FAT file system

L"FAT32"

FAT32 file system

L"NTFS"

NTFS file system

L"UDF"

Universal Disk Format (UDF) file system

 

Remarks

If an OEM partition is formatted as FAT or FAT32, the partition type does not change. If it is formatted with NTFS, the partition type changes to PARTITION_IFS (0x07). For information about partition types, see CREATE_PARTITION_PARAMETERS.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Vds.h

See also

IVdsDiskPartitionMF::QueryPartitionFileSystemFormatSupport
IVdsDiskPartitionMF2::FormatPartitionEx2
IVdsVolumeMF2::FormatEx
IVdsVolumeMF2::QueryFileSystemFormatSupport
VDS_FILE_SYSTEM_FORMAT_SUPPORT_FLAG

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ