VMUndoAction enumeration

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

Specifies what happens to undo drives when a virtual machine is shut down or turned off.

Syntax

typedef enum  { 
  vmUndoAction_Discard  = 0,
  vmUndoAction_Keep     = 1,
  vmUndoAction_Commit   = 2
} VMUndoAction;

Constants

vmUndoAction_Discard

Discard the undo drives; the parent drives remain unchanged.

vmUndoAction_Keep

Keep the undo drives; the parent drives remain unchanged, but changes will be maintained the next time the virtual machine starts.

vmUndoAction_Commit

Commit changes to the parent drives.

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

IVMVirtualMachine::UndoAction