IVdsLun 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 logical unit number (LUN).

Inheritance

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

Methods

The IVdsLun interface has these methods.

 
IVdsLun::AddPlex

The IVdsLun::AddPlex (vdshwprv.h) method adds a LUN to the target LUN as a new plex.
IVdsLun::ApplyHints

The IVdsLun::ApplyHints (vdshwprv.h) method applies a new set of hints to the LUN. Hints that are applied to a LUN are simultaneously applied to all plexes.
IVdsLun::AssociateControllers

The IVdsLun::AssociateControllers (vdshwprv.h) method sets the subsystem controllers to active or inactive with respect to the LUN.
IVdsLun::Delete

The IVdsLun::Delete (vdshwprv.h) method deletes the LUN and all of its plexes. Any data on the LUN is lost. VDS frees the extents allocated to the LUN.
IVdsLun::Extend

The IVdsLun::Extend (vdshwprv.h) method extends a LUN by a specified number of bytes.
IVdsLun::GetIdentificationData

The IVdsLun::GetIdentificationData (vdshwprv.h) method returns data from the SCSI Inquiry Data and Vital Product Data pages 0x80 and 0x83.
IVdsLun::GetProperties

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

The IVdsLun::GetSubSystem (vdshwprv.h) method returns the subsystem that surfaces the LUN.
IVdsLun::QueryActiveControllers

The IVdsLun::QueryActiveControllers (vdshwprv.h) method returns an enumeration of currently active controllers.
IVdsLun::QueryHints

The IVdsLun::QueryHints (vdshwprv.h) method returns the hints currently applied to the LUN.
IVdsLun::QueryMaxLunExtendSize

The IVdsLun::QueryMaxLunExtendSize (vdshwprv.h) method returns the maximum size by which a LUN can be extended.
IVdsLun::QueryPlexes

The IVdsLun::QueryPlexes (vdshwprv.h) method returns an enumeration of the plexes in a LUN.
IVdsLun::Recover

The IVdsLun::Recover (vdshwprv.h) method starts a recovery operation on a LUN.
IVdsLun::RemovePlex

The IVdsLun::RemovePlex (vdshwprv.h) method removes a plex from a LUN.
IVdsLun::SetMask

The IVdsLun::SetMask (vdshwprv.h) method specifies the unmasking list, which is the list of computers to be granted access to the LUN.
IVdsLun::SetStatus

The IVdsLun::SetStatus (vdshwprv.h) method sets the status of the LUN to the specified value.
IVdsLun::Shrink

The IVdsLun::Shrink (vdshwprv.h) method shrinks a LUN by a specified number of bytes.

Requirements

   
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

IVdsLunPlex::GetLun

LUN Object

VDS Interfaces