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 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.