beautypg.com

Getperrorattribute, Getnumberofavailablescsicommandstatus – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 379

background image


Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual

ISASGeneralService 379

GetPErrorAttribute

Void GetPErrorAttribute (

int nIndex,

short *piPErrorCode,

BSTR *PErrorName,

BSTR* PErrorDescription)


Inputs
Int nIndex

Index of the error.


short *piPErrorCode

Error code of the error.


BSTR *PErrorName

Name of the error.


BSTR* PErrorDescription

Description of the error.


Return Value
None.

Remark
Returns some error properties, based on its index.

GetNumberOfAvailableSCSICommandStatus

Int GetNumberOfAvailableSCSICommandStatus ()


Inputs
None

Return Value
An integer is the number of available SCSI command status.

Remark
Returns number of available SCSI command status.