VM_RESDLL_CONTEXT enumeration (resapi.h)

Contains actions for a virtual machine to perform.

Syntax

typedef enum VM_RESDLL_CONTEXT {
  VmResdllContextTurnOff = 0,
  VmResdllContextSave = 1,
  VmResdllContextShutdown = 2,
  VmResdllContextShutdownForce = 3,
  VmResdllContextLiveMigration = 4
}  *PVM_RESDLL_CONTEXT;

Constants

 
VmResdllContextTurnOff
Value: 0
Turns off the virtual machine.
VmResdllContextSave
Value: 1
Saves the virtual machine.
VmResdllContextShutdown
Value: 2
Shuts down the virtual machine.
VmResdllContextShutdownForce
Value: 3
Forces a shutdown of the virtual machine.
VmResdllContextLiveMigration
Value: 4
Performs a live migration of the virtual machine.

Remarks

The values in this enumeration can be used in a property list as input for the MoveClusterGroupEx function's lpInBuffer parameter to specify actions to take on a virtual machine. The resource type name to use in the CLUSPROP_PROPERTY_NAME structure is "Virtual Machine" or "Virtual Machine Configuration", and the proper CLUSTER_PROPERTY_FORMAT enumeration value to specify for the data format is CLUSPROP_FORMAT_DWORD.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2012
Header resapi.h

See also

CLUSPROP_PROPERTY_NAME

CLUSTER_PROPERTY_FORMAT

MoveClusterGroupEx

Property Lists