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 /


SCSIMsgOut

You can use the SCSIMsgOut function to send a message to a SCSI device.

FUNCTION SCSIMsgOut (message: Integer): OSErr;
message
The low-order byte contains the message to be sent to the target device.
DESCRIPTION
The SCSIMsgOut function sends a SCSI message to the previously selected target device. The message is contained 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 an initiator to a target.

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

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