Home  /  Autodocs  /  scsi.device

NAME

TD_EJECT
eject (or load) the disk in the drive, if possible.

FUNCTION

This command causes the drive to attempt to eject the disk in it, if any.

INPUTS

io_Device
preset by the call to OpenDevice()

io_Unit
preset by the call to OpenDevice()

io_Command
TD_EJECT

io_Flags
0 or IOF_QUICK

io_Length
0 (load, if supported) or 1 (eject)

RESULT

io_Error
0 for success, or an error code as defined in <devices/trackdisk.h>