SCSIWrite
SCSIWrite Transfer data from the initiator to the target Ptr tibPtr; pointer to a transfer instruction block SCSIWrite transfers data from the initiator to the target, as specified by the transfer instructions block pointed to by tibPtr.
Returns: an error code indicating success or failure of the function. It will be one of:
noErr (0) No error
scBadParmsErr (4) Unrecognized instruction in transfer instruction block
scCommErr (2) Breakdown in SCSI protocols
scPhaseErr (5) Phase error
Notes: The error codes returned by SCSI Manager routines typically indicate only that a given operation has failed. To determine the actual cause of the
failure, another SCSI command needs to be sent asking the device what went
wrong.
with the data bytes transferred during the data phase. A transfer instruction
block contains a pseudo-program consisting of a variable number of
instructions; it's similar to a subroutine except that the instructions are
provided and interpreted by the SCSI Manager itself. The instructions are information on the the instructions that are available.