SMART_Enable_Disable_AutoSave
Fills a Command Descriptor Block (CDB) to perform a SMART SCSI Command to enable or disable the autosave feature.
Declaration
bool SMART_Enable_Disable_AutoSave(SCSIDeviceOutParameters *request, bool enable, SCSIDeviceInParameters *response, UInt64 senseBufAddr);Parameters
- request:
An object that contains the request information.
- enable:
trueto enable the autosave feature;falseto disable. - 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 enable or disable the autosave feature.