ActlEjectMedia

Far Manager

ActlEjectMedia

The ActlEjectMedia structure is used in the AdvControl function to eject the medium from a removable drive (CD-ROM/USB/SUBST).
struct ActlEjectMedia {
  DWORD Letter;
  DWORD Flags;
};

Elements

Letter
Drive letter of the removable drive.
Flags
Combination of the following flags (FAREJECTMEDIAFLAGS enum):
FlagDescription
EJECT_NO_MESSAGE suppress error message display
EJECT_LOAD_MEDIA attempt to "load/close" device (works only for CD-ROM drives, doesn't work under Windows 95/98/Me)
See also: