Expand Minimize

VM_RESDLL_CONTEXT enumeration

Contains actions for a virtual machine to perform.

Syntax


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

Constants

VmResdllContextTurnOff

Turns off the virtual machine.

VmResdllContextSave

Saves the virtual machine.

VmResdllContextShutdown

Shuts down the virtual machine.

VmResdllContextShutdownForce

Forces a shutdown of the virtual machine.

VmResdllContextLiveMigration

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

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

 

 

Show:
© 2014 Microsoft