Important: The information in this document is obsolete and should not be used for new development.
SCSIMsgOut
You can use theSCSIMsgOutfunction 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
TheSCSIMsgOutfunction sends a SCSI message to the previously selected target device. The message is contained in the low-order byte of themessageparameter. 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 forSCSIMsgOutare
Trap macro Selector _SCSIDispatch $000D RESULT CODES
noErr 0 No error scCommErr 2 Communications error, operation timeout scPhaseErr X Phase 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.