IVdsDrive interface (vdshwprv.h)

[Beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.]

Provides methods for performing query and configuration operations on a drive.

Inheritance

The IVdsDrive interface inherits from the IUnknown interface. IVdsDrive also has these types of members:

Methods

The IVdsDrive interface has these methods.

 
IVdsDrive::ClearFlags

The IVdsDrive::ClearFlags (vdshwprv.h) method clears the flags of a drive object.
IVdsDrive::GetProperties

The IVdsDrive::GetProperties (vdshwprv.h) method returns the properties of a drive object.
IVdsDrive::GetSubSystem

The IVdsDrive::GetSubSystem (vdshwprv.h) method returns the subsystem to which the drive belongs.
IVdsDrive::QueryExtents

The VdsDrive::QueryExtents (vdshwprv.h) method returns an array of the extents on a drive, including both allocated and unallocated extents.
IVdsDrive::SetFlags

The IVdsDrive::SetFlags (vdshwprv.h) method sets flags of a drive object.
IVdsDrive::SetStatus

The IVdsDrive::SetStatus (vdshwprv.h) method sets the status of the drive to the specified value.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header vdshwprv.h

See also

Drive Object

IVdsLunPlex::QueryExtents

IVdsSubSystem::GetDrive

IVdsSubSystem::QueryDrives

VDS Interfaces

VDS_DRIVE_PROP