UserSendCDB
Sends a vendor-specific Command Descriptor Block (CDB) to the device.
Declaration
virtual kern_return_t UserSendCDB(SCSIType05OutParameters command, SCSIType05InParameters *response);Parameters
- command:
A Scsitype05outparameters instance that contains the request information.
- response:
A pointer to a Scsitype05inparameters 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.