IVMFloppyDrive::AttachHostDrive method
The AttachHostDrive method attaches a physical floppy drive on the host machine to the floppy drive in the virtual machine.
Syntax
HRESULT AttachHostDrive(
[in] BSTR driveLetter
);
Parameters
-
driveLetter [in]
-
The drive letter of the physical floppy drive on the host machine that is to be attached.
Return value
This method can return one of these values.
This method supports standard return values, as well as the following. For information on Virtual Server specific return values not listed below, see HRESULT Codes Specific to the Virtual Server.
Return code | Description |
---|---|
|
The operation was successful. |
|
The parameter is NULL, or the given path is empty. |
|
The configuration for this virtual machine is invalid or cannot be found. |
|
The host drive specified could not be captured. |
|
An unexpected error occurred. |
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|