VDS_MAINTENANCE_OPERATION 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 valid subsystem maintenance operations.

Syntax

typedef enum _VDS_MAINTENANCE_OPERATION {
  BlinkLight = 1,
  BeepAlarm = 2,
  SpinDown = 3,
  SpinUp = 4,
  Ping = 5
} VDS_MAINTENANCE_OPERATION;

Constants

 
BlinkLight
Value: 1
Blinks a light on a drive.
BeepAlarm
Value: 2
Beeps an alarm on a drive.
SpinDown
Value: 3
Slows the spinning of a drive such that the drive enters an idle state. Typically used for the purpose of saving power.
SpinUp
Value: 4
Starts the spinning of a drive in preparation for data reads.
Ping
Value: 5
Pings a drive.

Remarks

The IVdsMaintenance::StartMaintenance, IVdsMaintenance::StopMaintenance, and IVdsMaintenance::PulseMaintenance methods pass a VDS_MAINTENANCE_OPERATION value as an argument to specify operation details.

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

Requirements

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

See also

IVdsMaintenance::PulseMaintenance

IVdsMaintenance::StartMaintenance

IVdsMaintenance::StopMaintenance

VDS Enumerations