IVMFloppyDrive interface

Windows Virtual PC

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

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.

MethodDescription
AttachHostDrive

Attaches a physical drive on the host to the floppy drive in the virtual machine.

AttachImage

Attaches a floppy media image on the host to the floppy drive.

ReleaseHostDrive

Releases a physical drive on the host from the floppy drive.

ReleaseImage

Releases a floppy media image on the host from the floppy drive.

 

Properties

The IVMFloppyDrive interface has these properties.

PropertyAccess typeDescription

Attachment

Read-only

The type of media attached to the floppy drive within 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 host drive to which the floppy drive is attached.

ImageFile

Read-only

The full path of the image file to which the floppy drive is attached.

 

Requirements

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_IVMFloppyDrive is defined as 661abee6-112a-4ed9-babf-3c874969f10e

 

 

Show: