IVdsSubSystem2 interface (vds.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 subsystem using the VDS_HINTS2 and VDS_SUB_SYSTEM_PROP2 structures.


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


The IVdsSubSystem2 interface has these methods.

Method Description
IVdsSubSystem2::CreateLun2 Creates a LUN. This method is identical to the IVdsSubSystem::CreateLun method, except that automagic hints are provided using a VDS_HINTS2 structure instead of a VDS_HINTS structure.
IVdsSubSystem2::GetDrive2 Returns the specified drive. This method is identical to the IVdsSubSystem::GetDrive method, except that it includes the enclosure number as a parameter.
IVdsSubSystem2::GetProperties2 Returns the properties of a subsystem. This method is identical to the IVdsSubSystem::GetProperties method, except that it returns a VDS_SUB_SYSTEM_PROP2 structure instead of a VDS_SUB_SYSTEM_PROP structure.
IVdsSubSystem2::QueryMaxLunCreateSize2 Returns the size of the maximum LUN that can be created using the specified LUN type and hints.


Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header vds.h