Share via


IVMFloppyDrive::ReleaseHostDrive method

The ReleaseHostDrive method releases the currently attached physical floppy drive from the floppy drive in the virtual machine.

Syntax

HRESULT ReleaseHostDrive();

Parameters

This method has no parameters.

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
S_OK
The operation was successful.
VM_E_VM_UNKNOWN
The configuration for this virtual machine is invalid or cannot be found.
VM_E_MEDIA_WRONG_TYPE
The media attached to this floppy drive is not a physical floppy drive.
VM_E_NO_MEDIA_CAPTURED
There is no media attached to this floppy drive.
DISP_E_EXCEPTION
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
VsComInterfaces.h

See also

IVMFloppyDrive