Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

VDS_VDISK_STATE enumeration

[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 status values for a virtual disk object.

Syntax


typedef enum  { 
  VDS_VST_UNKNOWN            = 0,
  VDS_VST_ADDED              = 1,
  VDS_VST_OPEN               = 2,
  VDS_VST_ATTACH_PENDING     = 3,
  VDS_VST_ATTACHED_NOT_OPEN  = 4,
  VDS_VST_ATTACHED           = 5,
  VDS_VST_DETACH_PENDING     = 6,
  VDS_VST_COMPACTING         = 7,
  VDS_VST_MERGING            = 8,
  VDS_VST_EXPANDING          = 9,
  VDS_VST_DELETED            = 10,
  VDS_VST_MAX                = 11
} VDS_VDISK_STATE;

Constants

VDS_VST_UNKNOWN

VDS was not able to identify the virtual disk's current status.

VDS_VST_ADDED

The virtual disk is has been added to the VDS virtual disk provider.

VDS_VST_OPEN

A handle has been opened to the virtual disk file.

VDS_VST_ATTACH_PENDING

The virtual disk is being attached

VDS_VST_ATTACHED_NOT_OPEN

The virtual disk is attached, but a handle has not been opened to the virtual disk file.

VDS_VST_ATTACHED

The virtual disk is attached and a handle has been opened to the virtual disk file.

VDS_VST_DETACH_PENDING

The virtual disk is being detached and a handle is being opened to the virtual disk file.

VDS_VST_COMPACTING

The virtual disk is being compacted.

VDS_VST_MERGING

The virtual disk is being merged.

VDS_VST_EXPANDING

The virtual disk is being expanded.

VDS_VST_DELETED

The virtual disk has been deleted.

VDS_VST_MAX

This value is reserved for system use.

Remarks

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

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Vds.h

See also

VDS Enumerations

 

 

Community Additions

Show:
© 2016 Microsoft