Share via


VMVirtualMachineEvents enumeration

The VMVirtualMachineEvents enumeration specifies events generated by an IVMVirtualMachine object.

Syntax

typedef enum  { 
  vmVirtualMachineEvent_StateChanged          = 1,
  vmVirtualMachineEvent_RequestShutdown       = 2,
  vmVirtualMachineEvent_Reset                 = 3,
  vmVirtualMachineEvent_TripleFault           = 4,
  vmVirtualMachineEvent_HeartbeatStopped      = 5,
  vmVirtualMachineEvent_ConfigurationChanged  = 6
} VMVirtualMachineEvents;

Constants

vmVirtualMachineEvent_StateChanged

Occurs when a virtual machine's state changes.

vmVirtualMachineEvent_RequestShutdown

Occurs when a request to shut down the virtual machine session is made.

vmVirtualMachineEvent_Reset

Occurs when a virtual machine resets.

vmVirtualMachineEvent_TripleFault

Occurs when a virtual machine triple-faults.

vmVirtualMachineEvent_HeartbeatStopped

Occurs when a virtual machine's heartbeat stops. This usually indicates the guest operating system has crashed.

vmVirtualMachineEvent_ConfigurationChanged

Occurs when a value in the configuration for this virtual machine changes.

Remarks

The value vmVirtualMachineEvent_RequestShutdown indicates that a request to shut down the virtual machine session hardware has been made. Operating system shutdown routines, such as IVMGuestOS:Shutdown, do not fire this event directly.

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