VDS_DISK_EXTENT_TYPE 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 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 Value: 0 An extent of any unknown partition. |
VDS_DET_FREE Value: 1 An extent of free space, including free space inside an extended partition. |
VDS_DET_DATA Value: 2 An extent of any volume. |
VDS_DET_OEM Value: 3 An extent of an OEM partition. |
VDS_DET_ESP Value: 4 An extent of an ESP partition. |
VDS_DET_MSR Value: 5 An extent of a MSR partition. |
VDS_DET_LDM Value: 6 An extent of a LDM metadata partition. |
VDS_DET_CLUSTER Value: 7 An extent of a cluster metadata partition. |
VDS_DET_UNUSABLE Value: 0x7fff 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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | vds.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for