VDS_ASYNC_OUTPUT_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 operations that objects can process.

Syntax

typedef enum _VDS_ASYNC_OUTPUT_TYPE {
  VDS_ASYNCOUT_UNKNOWN,
  VDS_ASYNCOUT_CREATEVOLUME,
  VDS_ASYNCOUT_EXTENDVOLUME,
  VDS_ASYNCOUT_SHRINKVOLUME,
  VDS_ASYNCOUT_ADDVOLUMEPLEX,
  VDS_ASYNCOUT_BREAKVOLUMEPLEX,
  VDS_ASYNCOUT_REMOVEVOLUMEPLEX,
  VDS_ASYNCOUT_REPAIRVOLUMEPLEX,
  VDS_ASYNCOUT_RECOVERPACK,
  VDS_ASYNCOUT_REPLACEDISK,
  VDS_ASYNCOUT_CREATEPARTITION,
  VDS_ASYNCOUT_CLEAN,
  VDS_ASYNCOUT_CREATELUN,
  VDS_ASYNCOUT_ADDLUNPLEX,
  VDS_ASYNCOUT_REMOVELUNPLEX,
  VDS_ASYNCOUT_EXTENDLUN,
  VDS_ASYNCOUT_SHRINKLUN,
  VDS_ASYNCOUT_RECOVERLUN,
  VDS_ASYNCOUT_LOGINTOTARGET,
  VDS_ASYNCOUT_LOGOUTFROMTARGET,
  VDS_ASYNCOUT_CREATETARGET,
  VDS_ASYNCOUT_CREATEPORTALGROUP,
  VDS_ASYNCOUT_DELETETARGET,
  VDS_ASYNCOUT_ADDPORTAL,
  VDS_ASYNCOUT_REMOVEPORTAL,
  VDS_ASYNCOUT_DELETEPORTALGROUP,
  VDS_ASYNCOUT_FORMAT,
  VDS_ASYNCOUT_CREATE_VDISK,
  VDS_ASYNCOUT_ATTACH_VDISK,
  VDS_ASYNCOUT_COMPACT_VDISK,
  VDS_ASYNCOUT_MERGE_VDISK,
  VDS_ASYNCOUT_EXPAND_VDISK
} VDS_ASYNC_OUTPUT_TYPE;

Constants

 
VDS_ASYNCOUT_UNKNOWN
The value is reserved.
VDS_ASYNCOUT_CREATEVOLUME
The operation returns the IUnknown pointer for the newly
created volume object. For operation details, see the
IVdsPack::CreateVolume method.
VDS_ASYNCOUT_EXTENDVOLUME
The operation expands the size of the current volume by adding disk extents to each member of each plex.
For operation details, see the
IVdsVolume::Extend method.
VDS_ASYNCOUT_SHRINKVOLUME
The operation reduces the size of the volume and all plexes and returns the released extents to free
space. For operation details, see the
IVdsVolume::Shrink method.
VDS_ASYNCOUT_ADDVOLUMEPLEX
The operation adds a volume as a plex to the current volume. For operation details, see the
IVdsVolume::AddPlex method.
VDS_ASYNCOUT_BREAKVOLUMEPLEX
The operation returns the IUnknown pointer for the
hidden volume object. For operation details, see the
IVdsVolume::BreakPlex method.
VDS_ASYNCOUT_REMOVEVOLUMEPLEX
The operation removes one or more specified plexes from the current volume, releasing the extents. For
operation details, see the
IVdsVolume::RemovePlex method.
VDS_ASYNCOUT_REPAIRVOLUMEPLEX
The operation repairs a fault-tolerant volume plex by moving bad members to good disks. For operation
details, see the
IVdsVolumePlex::Repair method.
VDS_ASYNCOUT_RECOVERPACK
The operation returns a failing or failed pack to a healthy state, if possible. For operation details, see
the IVdsPack::Recover method.
VDS_ASYNCOUT_REPLACEDISK
This value is reserved for future use.
VDS_ASYNCOUT_CREATEPARTITION
The operation creates a new partition on a basic disk. For operation details, see the
IVdsAdvancedDisk::CreatePartition
method.
VDS_ASYNCOUT_CLEAN
IVdsAdvancedDisk::Clean
VDS_ASYNCOUT_CREATELUN
The operation returns the IUnknown pointer for the newly
created LUN object. For operation details, see the
IVdsSubSystem::CreateLun method.
VDS_ASYNCOUT_ADDLUNPLEX
The operation adds a LUN to the target LUN as a new plex. For operation details, see the
IVdsLun::AddPlex method.
VDS_ASYNCOUT_REMOVELUNPLEX
The operation returns the IUnknown pointer for the
removed LUN object. For operation details, see the
IVdsLun::RemovePlex method.
VDS_ASYNCOUT_EXTENDLUN
The operation extends a LUN by a specified number of bytes. For operation details, see the
IVdsLun::Extend method.
VDS_ASYNCOUT_SHRINKLUN
The operation shrinks a LUN by a specified number of bytes. For operation details, see the
IVdsLun::Shrink method.
VDS_ASYNCOUT_RECOVERLUN
The operation starts a recovery operation on a LUN. For operation details, see the
IVdsLun::Recover method.
VDS_ASYNCOUT_LOGINTOTARGET
The operation logs in to a target. For operation details, see the
IVdsIscsiInitiatorAdapter::LoginToTarget
method.

Windows Server 2003:  This flag is not supported before Windows Server 2003 R2.
VDS_ASYNCOUT_LOGOUTFROMTARGET
The operation logs out from a target. For operation details, see the
IVdsIscsiInitiatorAdapter::LogoutFromTarget
method.

Windows Server 2003:  This flag is not supported before Windows Server 2003 R2.
VDS_ASYNCOUT_CREATETARGET
The operation returns the IUnknown interface pointer
for the newly created target object. For operation details, see the
IVdsSubSystemIscsi::CreateTarget method.

Windows Server 2003:  This flag is not supported before Windows Server 2003 R2.
VDS_ASYNCOUT_CREATEPORTALGROUP
The operation returns the IUnknown interface pointer
for the newly created portal group object. For operation details, see the
IVdsIscsiTarget::CreatePortalGroup method.

Windows Server 2003:  This flag is not supported before Windows Server 2003 R2.
VDS_ASYNCOUT_DELETETARGET
The operation deletes a target. For operation details, see the
IVdsIscsiTarget::Delete method.

Windows Server 2003:  This flag is not supported before Windows Server 2003 R2.
VDS_ASYNCOUT_ADDPORTAL
The operation adds a portal to a portal group. For operation details, see the
IVdsIscsiPortalGroup::AddPortal method.

Windows Server 2003:  This flag is not supported before Windows Server 2003 R2.
VDS_ASYNCOUT_REMOVEPORTAL
The operation removes a portal from a portal group. For operation details, see the
IVdsIscsiPortalGroup::RemovePortal method.

Windows Server 2003:  This flag is not supported before Windows Server 2003 R2.
VDS_ASYNCOUT_DELETEPORTALGROUP
The operation deletes a portal group. For operation details, see the
IVdsIscsiPortalGroup::Delete method.

Windows Server 2003:  This flag is not supported before Windows Server 2003 R2.
VDS_ASYNCOUT_FORMAT
The operation formats a volume. For operation details, see the
IVdsVolumeMF::Format method.
VDS_ASYNCOUT_CREATE_VDISK
The operation creates a virtual disk. For operation details, see the IVdsVdProvider::CreateVDisk method.

Windows Server 2008, Windows Vista and Windows Server 2003:  Not supported.
VDS_ASYNCOUT_ATTACH_VDISK
The operation attaches a virtual disk. For operation details, see the IVdsOpenVDisk::Attach method.

Windows Server 2008, Windows Vista and Windows Server 2003:  Not supported.
VDS_ASYNCOUT_COMPACT_VDISK
The operation compacts a virtual disk to reduce the physical size of the backing file. For operation details, see the IVdsOpenVDisk::Compact method.

Windows Server 2008, Windows Vista and Windows Server 2003:  Not supported.
VDS_ASYNCOUT_MERGE_VDISK
The operation merges a child virtual disk with its parents in the differencing chain. For operation details, see the IVdsOpenVDisk::Merge method.

Windows Server 2008, Windows Vista and Windows Server 2003:  Not supported.
VDS_ASYNCOUT_EXPAND_VDISK
The operation increases the size of a virtual disk to the maximum available on a fixed-size or expandable disk. For operation details, see the IVdsOpenVDisk::Expand method.

Windows Server 2008, Windows Vista and Windows Server 2003:  Not supported.

Remarks

The VDS_ASYNC_OUTPUT structure includes a VDS_ASYNC_OUTPUT_TYPE value as a member to indicate an operation type.

Note  Additional constants might be added to the VDS_ASYNC_OUTPUT_TYPE enumeration in future Windows versions. For this reason, your application must be designed to gracefully handle an unrecognized VDS_ASYNC_OUTPUT_TYPE enumeration constant.
 

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header vds.h

See also

IVdsAdvancedDisk

IVdsIscsiInitiatorAdapter

IVdsIscsiPortalGroup

IVdsIscsiTarget

IVdsLun

IVdsPack

IVdsSubSystem

IVdsSubSystemIscsi

IVdsVolume

IVdsVolumePlex

VDS Enumerations

VDS_ASYNC_OUTPUT