SMART_Write_Log_At_Address
Fills a Command Descriptor Block (CDB) to perform a SMART SCSI Command to write log data at an address.
Declaration
bool SMART_Write_Log_At_Address(SCSIDeviceOutParameters *request, UInt64 bufAddr, UInt8 numSectors, UInt8 logAddress, SCSIDeviceInParameters *response, UInt64 senseBufAddr);Parameters
- request:
An object that contains the request information.
- bufAddr:
A buffer that holds the data to write.
- numSectors:
The number of sectors to write.
- logAddress:
The address of the log.
- response:
An empty Scsideviceinparameters object. On return, the framework populates this object with the response information.
- senseBufAddr:
The address of the sense buffer.
Return Value
true if the call successfully fills the CDB; false, otherwise.
Discussion
Use this method in your dext to prefill a 16-byte CDB for the standard SMART SCSI Command to write log data at an address.