VMVirtualMachineEvents enumeration

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

Specifies the virtual machine (VM) events.

Syntax

typedef enum  { 
  vmVirtualMachineEvent_StateChanged              = 1,
  vmVirtualMachineEvent_RequestShutdown           = 2,
  vmVirtualMachineEvent_Reset                     = 3,
  vmVirtualMachineEvent_TripleFault               = 4,
  vmVirtualMachineEvent_HeartbeatStopped          = 5,
  vmVirtualMachineEvent_ConfigurationChanged      = 6,
  vmVirtualMachineEvent_EnhancedVideoModeChanged  = 7,
  vmVirtualMachineEvent_AdditionsUninstalled      = 8,
  vmVirtualMachineEvent_AdditionsAvailable        = 9,
  vmVirtualMachineEvent_GuestShutdown             = 10,
  vmVirtualMachineEvent_GuestLogoff               = 11,
  vmVirtualMachineEvent_DiskOutOfSpace            = 12
} VMVirtualMachineEvents;

Constants

vmVirtualMachineEvent_StateChanged

A VM's state has changed.

vmVirtualMachineEvent_RequestShutdown

A shutdown has been requested.

vmVirtualMachineEvent_Reset

A VM has been reset.

vmVirtualMachineEvent_TripleFault

A VM has triple-faulted.

vmVirtualMachineEvent_HeartbeatStopped

A VM's heartbeat has stopped. This usually indicates that the guest operating system has crashed.

vmVirtualMachineEvent_ConfigurationChanged

A value in the configuration for this VM has changed

vmVirtualMachineEvent_EnhancedVideoModeChanged

A VM's video mode has changed.

vmVirtualMachineEvent_AdditionsUninstalled

Integration components have been uninstalled from the VM.

vmVirtualMachineEvent_AdditionsAvailable

Integration are available in the guest operating system.

vmVirtualMachineEvent_GuestShutdown

A guest operating system is shutting down.

vmVirtualMachineEvent_GuestLogoff

A user logged off from the guest operating system.

vmVirtualMachineEvent_DiskOutOfSpace

A disk required by the VM is low on space.

Requirements

Requirement Value
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

IVMVirtualMachineEvents