VMVMState enumeration

The VMVMState enumeration specifies the state of a virtual machine.

Syntax

typedef enum  { 
  vmVMState_Invalid        = 0,
  vmVMState_TurnedOff      = 1,
  vmVMState_Saved          = 2,
  vmVMState_TurningOn      = 3,
  vmVMState_Restoring      = 4,
  vmVMState_Running        = 5,
  vmVMState_Paused         = 6,
  vmVMState_Saving         = 7,
  vmVMState_TurningOff     = 8,
  vmVMState_MergingDrives  = 9,
  vmVMState_DeleteMachine  = 10
} VMVMState;

Constants

vmVMState_Invalid

Invalid virtual machine state. If the virtual machine exists, this state should not occur.

vmVMState_TurnedOff

The virtual machine is off and the guest was not previously saved.

vmVMState_Saved

The virtual machine is off but the guest is saved.

vmVMState_TurningOn

The virtual machine is turning on or restoring.

vmVMState_Restoring

The virtual machine is restoring the previous state of the virtual machine.

vmVMState_Running

The virtual machine is restored and turned on, not suspended.

vmVMState_Paused

The virtual machine is turned on but has paused execution.

vmVMState_Saving

The virtual machine is saving the current state of the virtual machine.

vmVMState_TurningOff

The virtual machine is turning off.

vmVMState_MergingDrives

The virtual machine is merging undo drives.

vmVMState_DeleteMachine

The virtual machine is being deleted.

Requirements

Product
Microsoft Virtual Server 2005 onWindows Server 2003
Download
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003
Header
VsComInterfaces.h

See also

Virtual Server Enumerations

IVMVirtualMachine.State

IVMVirtualMachineEvents::OnStateChange

IVMVirtualServerEvents::OnVMStateChange