Windows desktop applications
Collapse the table of content
Expand the table of content
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_DISK_EXTENT_TYPE 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 disk extents types. The type can be a partition, volume, or free space.

Syntax


typedef enum _VDS_DISK_EXTENT_TYPE { 
  VDS_DET_UNKNOWN   = 0,
  VDS_DET_FREE      = 1,
  VDS_DET_DATA      = 2,
  VDS_DET_OEM       = 3,
  VDS_DET_ESP       = 4,
  VDS_DET_MSR       = 5,
  VDS_DET_LDM       = 6,
  VDS_DET_CLUSTER   = 7,
  VDS_DET_UNUSABLE  = 0x7FFF
} VDS_DISK_EXTENT_TYPE;

Constants

VDS_DET_UNKNOWN

An extent of any unknown partition.

VDS_DET_FREE

An extent of free space, including free space inside an extended partition.

VDS_DET_DATA

An extent of any volume.

VDS_DET_OEM

An extent of an OEM partition.

VDS_DET_ESP

An extent of an ESP partition.

VDS_DET_MSR

An extent of a MSR partition.

VDS_DET_LDM

An extent of a LDM metadata partition.

VDS_DET_CLUSTER

An extent of a cluster metadata partition.

VDS_DET_UNUSABLE

An extent of unusable space on a disk. That is, space outside the four primary partitions (or three primary partitions plus one extended partition) on a basic MBR disk and space outside the dynamic disk public region.

Remarks

ESP, MBR, and LDM metadata partitions are partition styles on GPT disks only.

The VDS_DISK_EXTENT structure includes a VDS_DISK_EXTENT_TYPE value as a member to indicate an existing disk extent type.

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Vds.h

See also

VDS Enumerations
VDS_DISK_EXTENT

 

 

Community Additions

Show:
© 2016 Microsoft