UserSendCDB
Sends a vendor-specific Command Descriptor Block (CDB) to the device.
Declaration
virtual kern_return_t UserSendCDB(SCSIType07OutParameters command, SCSIType07InParameters *response);Parameters
- command:
A Scsitype07outparameters instance that contains the request information.
- response:
A pointer to a Scsitype07inparameters instance. On return, the framework fills this object with the response data.
Return Value
A value that indicates the result of sending the CDB. kIOReturnSuccess indicates success. For error definitions, see IOKit Constants.
Discussion
Call this method to deliver vendor-specific 16-byte commands to the external drive that this dext matches.