VMVMState enumeration

Windows Virtual PC

[Windows Virtual PC is no longer available for use as of Windows 8. Instead, use the Hyper-V WMI provider (V2).]

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

An invalid state (should not occur if the virtual machine exists).

vmVMState_TurnedOff

Off and not saved.

vmVMState_Saved

Off but the guest is saved.

vmVMState_TurningOn

In the process of turning on.

vmVMState_Restoring

Restoring the state.

vmVMState_Running

Running and not paused.

vmVMState_Paused

Running and paused.

vmVMState_Saving

Saving the state.

vmVMState_TurningOff

In the process of turning off.

vmVMState_MergingDrives

In the process of merging undo drives.

vmVMState_DeleteMachine

Deleting the virtual machine.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

None supported

End of client support

Windows 7

Product

Windows Virtual PC

Header

VPCCOMInterfaces.h

See also

IVMVirtualMachine::State
IVMVirtualMachineEvents::OnStateChange
IVMVirtualPCEvents::OnVMStateChange

 

 

Community Additions

ADD
Show: