HRESULT Codes Specific to Windows Virtual PC

Header: vpccominterfaces.h

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

SymbolicCodeDescription
VM_E_ADAPTER_NOT_FOUND0xA0040700The 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_AVAIL0xA0040505The integration components feature is not installed in this VM.
VM_E_ADDITIONS_NOT_AVAIL0xA0040504The 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_DOWN0xA0040209The operation cannot be completed because the application is shutting down.
VM_E_CANT_SET_DYNAMIC_MAC_ADDRESS0xA004070AThe 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_NAME0xA0040403There is already a VM with this name.
VM_E_CONFIG_NAME_INVALID_CHAR0xA0040402The configuration name contains an invalid character (one of "*?:<>/|"").
VM_E_CONFIG_NAME_TOO_LONG0xA0040401The configuration name exceeds 80 characters in length.
VM_E_CONFIG_NO_NAME0xA0040400The configuration name is empty.
VM_E_DRIVE_BUS_LOC_IN_USE0xA0040503The specified bus location is in use.
VM_E_DRIVE_IN_USE0xA0040727A host DVD drive or ISO image is already attached to this drive.
VM_E_DRIVE_INVALID0xA0040502The drive specified is not valid.
VM_E_FILE_READ_ONLY0xA004067AA file is marked as read only.
VM_E_FILE_TOO_LARGE_FOR_VOLUME0xA0040679The 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_DISABLED0xA0040951The processor does not support Hardware Accelerated Virtualization (HAV) extensions.
VM_E_HD_IMAGE_ACCESS0xA0040681An error occurred while attempting to access the hard disk image file.
VM_E_HD_IMAGE_OPEN_FAIL0xA004067CAn error occurred while attempting to open the hard disk image file.
VM_E_IMAGE_CAPTURE_FAIL0xA0040650The image file specified could not be captured.
VM_E_IMAGE_SIZE_TOO_LARGE0xA0040683The 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_SMALL0xA0040684Unformatted 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_FILE0xA0040682The referenced virtual hard disk image does not seem to be a valid image.
VM_E_INVALID_VIRTUAL_NETWORK_ID0xA0040702The parameter is not an existing virtual network.
VM_E_MEDIA_UNMOUNT_FAIL0xA0040508The attempt to unmount the media from the VM failed.
VM_E_MEDIA_WRONG_TYPE0xA0040728The media attached to this drive is not the correct type of disk image.
VM_E_MOUSE_NOT_ACTIVE0xA0040800The operation cannot complete if the mouse device is not powered up, or if it is not currently active in the VM.
VM_E_NO_DISPLAY0xA0040850Unable to locate a valid display for the VM.
VM_E_NO_MEDIA_CAPTURED0xA0040652There is no media attached to this drive.
VM_E_OTHER_VIRTUALIZATION_SOFTWARE0xA0040953Other virtualization software is installed.
VM_E_OUT_OF_RESOURCE0xA0040203There are not enough host resources.
VM_E_PARENT_CHILD_ID_MISMATCH0xA0040685The 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_MODIFIED0xA0040687The virtual machine cannot be started as the parent VHD has been modified.
VM_E_PARENT_PATH_NOT_FOUND0xA0040677The parent of the virtual hard disk referenced by this object does not exist.
VM_E_PREF_ILLEGAL_VALUE0xA0040301The configuration value is not allowed.
VM_E_PREF_NOT_FOUND0xA0040300The configuration value was not found.
VM_E_PREF_VM_ACTIVE0xA0040302The virtual machine is running or saved.
VM_E_SET_EXCLUSIVE_MODE_FAIL0xA0040825Failed 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_OUT0xA0040202The operation did not complete in a timely manner.
VM_E_TOO_MANY_VMS0xA0040204There are too many active VMs.
VM_E_UNSUPPORTED_HD_DISK_TYPE0xA0040686Linked VHDs cannot be attached to virtual machines.
VM_E_USB_ATTACH_FAILED0xA0040926The attach operation failed.
VM_E_USB_ATTACH_FAILED_ALREADY_ASSIGNED0xA0040933A USB device has already been attached by some other client.
VM_E_USB_ATTACH_FAILED_GP_ERROR0xA0040932A group policy setting is preventing the USB redirection.
VM_E_USB_ATTACH_FAILED_MORE_DEVICES0xA0040931Cannot attach more devices to the VM.
VM_E_USB_CONNECTOR_DRIVER_ERROR0xA0040925There was a USB Connector driver error.
VM_E_USB_DETACH_FAILED0xA0040927The detach operation failed.
VM_E_USB_ENUMERATION_FAILED_MORE_DEVICES0xA0040930More than 16 USB devices are connected to the host.
VM_E_USB_EXTERNAL_VM0xA0040929The device is attached to a VM in another user session.
VM_E_USING_ABSOLUTE_COORDINATES0xA0040801The operation cannot complete when the mouse device is using absolute coordinates.
VM_E_USING_RELATIVE_COORDINATES0xA0040802The mouse device is currently set to use relative mouse coordinates.
VM_E_VM_NO_SAVED_STATE0xA0040501The VM has no associated saved state file.
VM_E_VM_NOT_RUNNING0xA0040206The VM must be running for this operation.
VM_E_VM_PAUSED0xA0040507The VM is paused.
VM_E_VM_RUNNING0xA0040500The VM is already running.
VM_E_VM_RUNNING_OR_SAVED0xA004020BThe VM is in a running or saved state.
VM_E_VM_UNKNOWN0xA0040207The configuration is unknown.
VM_E_VMVIRTUALPC_OLDER_VERSION0xA0040952Both Virtual PC 2007 and Windows Virtual PC are installed.
VM_E_WRONG_HD_IMAGE_TYPE0xA004067BThe virtual hard disk image is the incorrect image type.
57 entries

Article text from the Win32 documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.