VMTaskResult enumeration

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

Specifies the result of a task.

Syntax

typedef enum  { 
  vmTaskResult_Success                      = 0,
  vmTaskResult_Cancelled                    = 1,
  vmTaskResult_UnexpectedError              = 2,
  vmTaskResult_OutOfMemoryError             = 3,
  vmTaskResult_DiskRelatedError             = 4,
  vmTaskResult_IncompatibleSavedStateError  = 5,
  vmTaskResult_TimeOutError                 = 6,
  vmTaskResult_IllegalValueError            = 7,
  vmTaskResult_ThreadCrashError             = 8,
  vmTaskResult_ShutdownAbort                = 9
} VMTaskResult;

Constants

vmTaskResult_Success

The task was successful.

vmTaskResult_Cancelled

The task was canceled.

vmTaskResult_UnexpectedError

The task had an unexpected error.

vmTaskResult_OutOfMemoryError

There was not enough memory for the task to complete.

vmTaskResult_DiskRelatedError

The task had an error while writing to disk (make sure there is enough disk space).

vmTaskResult_IncompatibleSavedStateError

The virtual machine could not restore because the saved state was incompatible.

vmTaskResult_TimeOutError

The task timed out.

vmTaskResult_IllegalValueError

An illegal preference value was read while the task was processing.

vmTaskResult_ThreadCrashError

A thread associated with the task crashed.

vmTaskResult_ShutdownAbort

The shutdown requested was aborted.

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

IVMTask::Result