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 /


SCSIMsgIn

You can use the SCSIMsgIn function to receive a message from a SCSI device.

FUNCTION SCSIMsgIn (VAR message: Integer): OSErr;
message
The low-order byte contains the message from the target device.
DESCRIPTION
The SCSIMsgIn function receives a SCSI message from the previously selected target device. The message is returned in the low-order byte of the message parameter. See the SCSI specification for information about the types of messages that can be sent from a target to an initiator.

The SCSIMsgIn function leaves the attention bus signal undisturbed if it is already asserted.

ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for SCSIMsgIn are
Trap macroSelector
_SCSIDispatch$000C

RESULT CODES
noErr0No error
scCommErr2Communications error, operation timeout
scPhaseErrXPhase error on the SCSI bus
SEE ALSO
See "SCSI Messages," beginning on page 3-7, for an overview of SCSI messages. Refer to the SCSI specification for detailed information about SCSI messages.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996