Getnumberofavailableatacommands, Getatacommandattribute, Getnumberofavailablebuscondition – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 374

Advertising
background image


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

ISASGeneralService 374

GetNumberOfAvailableATACommands

long GetNumberOfAvailableATACommands ();


Inputs

Return Value
Specifies number of available ATA command.

Remark
Returns number of available ATA command to get name and ID, using the

GetATACommandAttribute

method.

GetATACommandAttribute

GetATACommandAttribute (

long lIndex,

short *iCommandFeature,

BSTR* bstrCommandName)


Inputs
long lIndex

Index of an ATA Command.


short *iCommandFeature

ATA Command ID corresponding to an index.


BSTR* bstrCommandName

ATA Command name corresponding to an index.


Return Value
None.

Remark
The ATA command attribute is based on lIndex. The attribute is name and ID of an ATA

command.

Advertising