Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Devices /
Chapter 3 - SCSI Manager / SCSI Manager Reference
SCSI Manager Routines /


SCSISelect

You use SCSISelect function to select a SCSI device for a subsequent operation.

FUNCTION SCSISelect (targetID: Integer): OSErr;
targetID
The SCSI ID of the target device, with a value from 0 to 7.
DESCRIPTION
The SCSISelect function selects the SCSI device identified by the targetID value.

IMPORTANT
You must call the SCSIGet function before calling SCSISelect.
ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for SCSISelect are
Trap macroSelector
_SCSIDispatch$0002

RESULT CODES
noErr0No error
scCommErr2Communications error, operation timeout
scArbNBErr3Bus busy, arbitration timeout
scSequenceErr8Attempted operation is out of sequence
SEE ALSO
See "SCSI Bus Phases," beginning on page 3-5, for a description of the selection phase.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996