Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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.
| Method | Description |
|---|---|
| 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.
| Property | Access type | Description |
|---|---|---|
| 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
| 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 |
|
| IID |
IID_IVMFloppyDrive is defined as 661abee6-112a-4ed9-babf-3c874969f10e |