Επεξεργασία

Κοινή χρήση μέσω


HRESULT Codes Specific to Windows Virtual PC

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

Constant/value Description
VM_E_ADAPTER_NOT_FOUND
0xA0040700
The host Ethernet adapter to which this virtual network was connected is no longer available. The host Ethernet adapter may have been removed or disabled.
VM_E_ADDITIONS_FEATURE_NOT_AVAIL
0xA0040505
The integration components feature is not installed in this VM.
VM_E_ADDITIONS_NOT_AVAIL
0xA0040504
The VM is not fully booted, the integration components feature is not installed, or the installed version does not support this feature.
VM_E_APP_SHUTTING_DOWN
0xA0040209
The operation cannot be completed because the application is shutting down.
VM_E_CANT_SET_DYNAMIC_MAC_ADDRESS
0xA004070A
The Ethernet address for a network interface can either be generated dynamically or can be set to a static address by the user. This operation cannot be completed when the address is set to be generated dynamically. The IsEthernetAddressDynamic property is used to change the generation behavior of the Ethernet address.
VM_E_CONFIG_DUPLICATE_NAME
0xA0040403
There is already a VM with this name.
VM_E_CONFIG_NAME_INVALID_CHAR
0xA0040402
The configuration name contains an invalid character (one of "*?:<>/|\"").
VM_E_CONFIG_NAME_TOO_LONG
0xA0040401
The configuration name exceeds 80 characters in length.
VM_E_CONFIG_NO_NAME
0xA0040400
The configuration name is empty.
VM_E_DRIVE_BUS_LOC_IN_USE
0xA0040503
The specified bus location is in use.
VM_E_DRIVE_IN_USE
0xA0040727
A host DVD drive or ISO image is already attached to this drive.
VM_E_DRIVE_INVALID
0xA0040502
The drive specified is not valid.
VM_E_FILE_READ_ONLY
0xA004067A
A file is marked as read only.
VM_E_FILE_TOO_LARGE_FOR_VOLUME
0xA0040679
The host volume cannot support a file this size. The maximum file size for a FAT32 volume is 4 GB. The maximum file size for a FAT16 volume is 2 GB.
VM_E_HARDWARE_VIRTUALIZATION_DISABLED
0xA0040951
The processor does not support Hardware Accelerated Virtualization (HAV) extensions.
VM_E_HD_IMAGE_ACCESS
0xA0040681
An error occurred while attempting to access the hard disk image file.
VM_E_HD_IMAGE_OPEN_FAIL
0xA004067C
An error occurred while attempting to open the hard disk image file.
VM_E_IMAGE_CAPTURE_FAIL
0xA0040650
The image file specified could not be captured.
VM_E_IMAGE_SIZE_TOO_LARGE
0xA0040683
The image size must be less than 2,088,960 MB. If the format is FAT16, then the image size must be less than 2000 MB.
VM_E_IMAGE_SIZE_TOO_SMALL
0xA0040684
Unformatted and FAT16 formatted virtual hard disk images must be at least 3 MB. FAT32 formatted virtual hard disk images must be at least 514 MB.
VM_E_INVALID_HD_FILE
0xA0040682
The referenced virtual hard disk image does not seem to be a valid image.
VM_E_INVALID_VIRTUAL_NETWORK_ID
0xA0040702
The parameter is not an existing virtual network.
VM_E_MEDIA_UNMOUNT_FAIL
0xA0040508
The attempt to unmount the media from the VM failed.
VM_E_MEDIA_WRONG_TYPE
0xA0040728
The media attached to this drive is not the correct type of disk image.
VM_E_MOUSE_NOT_ACTIVE
0xA0040800
The operation cannot complete if the mouse device is not powered up, or if it is not currently active in the VM.
VM_E_NO_DISPLAY
0xA0040850
Unable to locate a valid display for the VM.
VM_E_NO_MEDIA_CAPTURED
0xA0040652
There is no media attached to this drive.
VM_E_OTHER_VIRTUALIZATION_SOFTWARE
0xA0040953
Other virtualization software is installed.
VM_E_OUT_OF_RESOURCE
0xA0040203
There are not enough host resources.
VM_E_PARENT_CHILD_ID_MISMATCH
0xA0040685
The parent virtual hard disk image does not have the same ID as the child disk image. Make sure the parent virtual hard disk image is the same image used to create the differencing virtual hard disk image.
VM_E_PARENT_MODIFIED
0xA0040687
The virtual machine cannot be started as the parent VHD has been modified.
VM_E_PARENT_PATH_NOT_FOUND
0xA0040677
The parent of the virtual hard disk referenced by this object does not exist.
VM_E_PREF_ILLEGAL_VALUE
0xA0040301
The configuration value is not allowed.
VM_E_PREF_NOT_FOUND
0xA0040300
The configuration value was not found.
VM_E_PREF_VM_ACTIVE
0xA0040302
The virtual machine is running or saved.
VM_E_SET_EXCLUSIVE_MODE_FAIL
0xA0040825
Failed to set or release exclusive mode as requested. This could be because the VM is no longer running, or because another process has already acquired exclusive mode on the VM's keyboard device.
VM_E_TIMED_OUT
0xA0040202
The operation did not complete in a timely manner.
VM_E_TOO_MANY_VMS
0xA0040204
There are too many active VMs.
VM_E_UNSUPPORTED_HD_DISK_TYPE
0xA0040686
Linked VHDs cannot be attached to virtual machines.
VM_E_USB_ATTACH_FAILED
0xA0040926
The attach operation failed.
VM_E_USB_ATTACH_FAILED_ALREADY_ASSIGNED
0xA0040933
A USB device has already been attached by some other client.
VM_E_USB_ATTACH_FAILED_GP_ERROR
0xA0040932
A group policy setting is preventing the USB redirection.
VM_E_USB_ATTACH_FAILED_MORE_DEVICES
0xA0040931
Cannot attach more devices to the VM.
VM_E_USB_CONNECTOR_DRIVER_ERROR
0xA0040925
There was a USB Connector driver error.
VM_E_USB_DETACH_FAILED
0xA0040927
The detach operation failed.
VM_E_USB_ENUMERATION_FAILED_MORE_DEVICES
0xA0040930
More than 16 USB devices are connected to the host.
VM_E_USB_EXTERNAL_VM
0xA0040929
The device is attached to a VM in another user session.
VM_E_USING_ABSOLUTE_COORDINATES
0xA0040801
The operation cannot complete when the mouse device is using absolute coordinates.
VM_E_USING_RELATIVE_COORDINATES
0xA0040802
The mouse device is currently set to use relative mouse coordinates.
VM_E_VM_NO_SAVED_STATE
0xA0040501
The VM has no associated saved state file.
VM_E_VM_NOT_RUNNING
0xA0040206
The VM must be running for this operation.
VM_E_VM_PAUSED
0xA0040507
The VM is paused.
VM_E_VM_RUNNING
0xA0040500
The VM is already running.
VM_E_VM_RUNNING_OR_SAVED
0xA004020B
The VM is in a running or saved state.
VM_E_VM_UNKNOWN
0xA0040207
The configuration is unknown.
VM_E_VMVIRTUALPC_OLDER_VERSION
0xA0040952
Both Virtual PC 2007 and Windows Virtual PC are installed.
VM_E_WRONG_HD_IMAGE_TYPE
0xA004067B
The virtual hard disk image is the incorrect image type.

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

Windows Virtual PC Constants