a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Devices:
 trackdisk.device
  CMD_CLEAR
  CMD_READ
  CMD_UPDATE
  CMD_WRITE
  TD_ADDCHANGEINT
  TD_CHANGENUM
  TD_CHANGESTATE
  TD_EJECT
  TD_FORMAT
  TD_GETDRIVETYPE
  TD_GETGEOMETRY
  TD_GETNUMTRACKS
  TD_MOTOR
  TD_PROTSTATUS
  TD_RAWREAD
  TD_RAWWRITE
  TD_REMCHANGEINT
  TD_SEEK
Include
GuruMeditation
Docs » Autodocs » trackdisk.device » TD_EJECT

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. Note that the current trackdisk.device does not
implement this command, but it might in the future, and other
trackdisk-compatible drivers may implement this command. Some
devices may be able to load disks on command also.
IO REQUEST INPUT
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)
IO REQUEST RESULT
io_Error - 0 for success, or an error code as defined in
<devices/trackdisk.h>

BUGS

	The pre-V40 autodoc didn't mention io_Length.  Because of this, for
devices that can never support load, a driver might want to eject if
io_Length is 0.

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

The Black Lotus

DJ
FLT
PHA
TBL

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se