Compartilhar via


IVMFloppyDrive interface

The IVMFloppyDrive interface controls a floppy drive within a virtual machine. IVMFloppyDrive can notify clients about events using the IVMFloppyDriveEvents outgoing interface. You can retrieve an IVMFloppyDrive object from the IVMFloppyDriveCollection object returned from the IVMVirtualMachine::FloppyDrives property.

Members

The IVMFloppyDrive interface inherits from the IDispatch interface. IVMFloppyDrive also has these types of members:

Methods

The IVMFloppyDrive interface has these methods.

Method Description
AttachHostDrive Attaches a physical floppy drive on the host machine to the floppy drive in the virtual machine.
AttachImage Attaches a floppy media image residing on the host machine to the floppy drive in the virtual machine.
ReleaseHostDrive Releases the currently attached physical floppy drive from the floppy drive in the virtual machine.
ReleaseImage Releases the currently attached floppy media image from the floppy drive in the virtual machine.

Properties

The IVMFloppyDrive interface has these properties.

Property Access type Description
Attachment
Read-only
The type of media that is attached to this floppy drive in the virtual machine.
DriveNumber
Read-only
The zero-based index of the controller to which this floppy drive is attached.
HostDriveLetter
Read-only
The letter of the physical floppy drive to which this floppy drive is attached.
ImageFile
Read-only
The full path of the image file to which this floppy drive is attached.

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

IDispatch