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_MOTOR

NAME

       CD_MOTOR -- control the on/off state of a drive motor.

FUNCTION

       This command gives control over the spindle motor.  The motor may be
turned on or off.
If the motor is just being turned on, the device will delay the
proper amount of time to allow the drive to come up to speed.
Turning the motor on or off manually is not necessary, the device does
this automatically if it receives a request when the motor is off.
IO REQUEST INPUT
io_Device preset by the call to OpenDevice()
io_Unit preset by the call to OpenDevice()
io_Command CD_MOTOR
io_Length the requested state of the motor, 0 to turn the motor
off, and 1 to turn the motor on.
IO REQUEST RESULT
io_Error - 0 for success, or an error code as defined in
<devices/cd.h>
io_Actual - if io_Error is 0 this contains the previous state of the
drive motor.

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:

Andromeda

ATX
AOA
DJ
RSI

Comments:

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