a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Devices:
 cd.device
  CD_ADDCHANGEINT
  CD_ADDFRAMEINT
  CD_ATTENUATE
  CD_CHANGENUM
  CD_CHANGESTATE
  CD_CONFIG
  CD_EJECT
  CD_GETGEOMETRY
  CD_INFO
  CD_MOTOR
  CD_PAUSE
  CD_PLAYLSN
  CD_PLAYMSF
  CD_PLAYTRACK
  CD_PROTSTATUS
  CD_QCODELSN
  CD_QCODEMSF
  CD_READ
  CD_READXL
  CD_REMCHANGEINT
  CD_REMFRAMEINT
  CD_SEARCH
  CD_SEEK
  CD_TOCLSN
  CD_TOCMSF
  CloseDevice
  OpenDevice
Include
GuruMeditation
Docs » Autodocs » cd.device » CD_EJECT

NAME

       CD_EJECT -- Open or close the CD's drive door
IO REQUEST
io_Command CD_EJECT
io_Data NULL
io_Length requested state of drive door (0 == close, 1 == open)
io_Offset 0

RESULT

       io_Error        0 for success, or an error code as defined in
<devices/cd.h>
io_Actual previous state of drive door

FUNCTION

       This command causes the CD-ROM drive's door to open or close.
The desired state of the drive door is placed in io_Length. The
previous state of the drive door is returned in io_Actual.

EXAMPLE

NOTES

BUGS

SEE ALSO

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:

Sanity

ANA
SCX
PDX
SNT

Comments:

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