# IFloppyDrive Interface Reference

The IFloppyDrive interface represents the virtual floppy drive of the virtual machine. More...

List of all members.

## Public Member Functions
void | mountImage (in uuid imageId)
| Mounts the specified image.
void | captureHostDrive (in IHostFloppyDrive drive)
| Captures the specified host drive.
void | unmount ()
| Unmounts the currently mounted image/device.
void | getImage ([retval] out IFloppyImage image)
| Gets the currently mounted image ID.
void | getHostDrive ([retval] out IHostFloppyDrive drive)
| Gets the currently mounted image ID.
## Public Attributes
attribute boolean | enabled
| Flag whether the floppy drive is enabled.
readonly attribute DriveState | state
| Current drive state.

## Detailed Description

The IFloppyDrive interface represents the virtual floppy drive of the virtual machine.

Used in IMachine::FloppyDrive.

Interface ID:
  `{E9318F71-78D2-4B00-863C-B7CB0030A2D9}`

## Member Function Documentation

void IFloppyDrive::mountImage | ( | in uuid | imageId | ) |

Mounts the specified image.

void IFloppyDrive::captureHostDrive | ( | in IHostFloppyDrive | drive | ) |

Captures the specified host drive.

void IFloppyDrive::unmount | ( |  | ) |

Unmounts the currently mounted image/device.

void IFloppyDrive::getImage | ( | [retval] out IFloppyImage | image | ) |

Gets the currently mounted image ID.

void IFloppyDrive::getHostDrive | ( | [retval] out IHostFloppyDrive | drive | ) |

Gets the currently mounted image ID.

## Member Data Documentation

attribute boolean IFloppyDrive::enabled

Flag whether the floppy drive is enabled.

If it is disabled, the floppy drive will not be reported to the guest.

readonly attribute DriveState IFloppyDrive::state

Current drive state.