Επεξεργασία

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


IVMGuestOS::InstallIntegrationComponents method

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

Locates and installs the latest Integration Components into the guest operating system.

Syntax

HRESULT InstallIntegrationComponents();

Parameters

This method has no parameters.

Return value

This method can return one of these values.

Return code/value Description
S_OK
0
The operation was successful.
VM_E_VM_NOT_RUNNING
0xA0040206
The virtual machine must be running for this operation.
VM_E_VM_UNKNOWN
0xA0040207
The virtual machine could not be found.
VM_E_DRIVE_INVALID
0xA0040502
The virtual machine does not have an empty DVD drive.
VM_E_MEDIA_UNMOUNT_FAIL
0xA0040508
The attempt to unmount the media from the virtual machine DVD drive failed.
DISP_E_EXCEPTION
0x80020009
An unexpected error has occurred.
HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)
0x80070002
The system cannot find the ISO file for the Integration Components.

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
IID
IID_IVMGuestOS is defined as 99fea0db-4880-499a-b6d8-73dff9bc91be

See also

IVMGuestOS