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 » OpenDevice

NAME

       OpenDevice - Open a CD unit for access

SYNOPSIS

       error = OpenDevice("cd.device", UnitNumber, IORequest, flags);
D0 A0 D0 A1 D1

FUNCTION

       Opens the cd.device and creates an IORequest for use in accessing
the CD.

INPUTS

       UnitNumber - Normally zero; however, this is described as:
Ones digit = Unit (SCSI unit number)
Tens digit = LUN (disk within disk changer)
Hundreds digit = Card number (SCSI card)
Thousands digit = Reserved (must be zero)
IORequest - Pointer to a struct(IOStdReq)
flags - Should be zero.

RESULT

       error        0 = success, otherwise this is an error.

NOTES

SEE ALSO

CloseDevice()

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

RZR
RSI
SNT
CSL

Comments:

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