Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
VmResdllContextTurnOffValue: 0 Turns off the virtual machine. |
VmResdllContextSaveValue: 1 Saves the virtual machine. |
VmResdllContextShutdownValue: 2 Shuts down the virtual machine. |
VmResdllContextShutdownForceValue: 3 Forces a shutdown of the virtual machine. |
VmResdllContextLiveMigrationValue: 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 |