VDS_DRIVE_EXTENT structure (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 properties of a drive extent.

Syntax

typedef struct _VDS_DRIVE_EXTENT {
  VDS_OBJECT_ID id;
  VDS_OBJECT_ID LunId;
  ULONGLONG     ullSize;
  BOOL          bUsed;
} VDS_DRIVE_EXTENT, *PVDS_DRIVE_EXTENT;

Members

id

The VDS_OBJECT_ID of the drive.

LunId

The VDS_OBJECT_ID of the LUN that is associated with the drive extent.

ullSize

The size of the extent, in bytes.

bUsed

If TRUE, the extent is allocated to a LUN plex. If FALSE, the extent is unallocated.

Remarks

The IVdsDrive::QueryExtents method returns this structure to report the properties of a drive extent. It is also returned by the IVdsLunPlex::QueryExtents method to report the details of a drive extent that is allocated to a plex.

A disk extent is a contiguous set of blocks on a single disk or LUN handled by a software provider. A drive extent is not required to be a contiguous set of blocks.

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

Drive Object

IVdsDrive::QueryExtents

IVdsLunPlex::QueryExtents

VDS Structures