beautypg.com

Getconditionexprpatternatapispectype, Getconditionexprpatterncommandspectype – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 241

background image


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

ISerialSCSICaptureProject 241

GetConditionExprPatternATAPISpecType

SCSISpecEnum GetConditionExprPatternATAPISpecType (

int nStateId,

int nConditionIndex,

int nExprTokenIndex);


Inputs
int nStateId

ID for a state in advanced mode (it is "don’t care" in easy mode).


int nConditionIndex

Index for a condition in advanced mode

(it is "don’t care" in easy mode).


int nExprTokenIndex Trigger pattern index in easy mode or index for a token

added for this condition in advanced mode.


Return Value
Specifies spec type of ATAPI Command (see

SCSISpecEnum

)


Remark
Returns spec type of an ATAPI Command pattern added in trigger items in easy mode or pattern

of a condition in advanced mode, for example, MMC, SSC, and SPC.

NOTE: Call this method only for ATAPI Command trigger patterns.

See Also

SetConditionExprPatternATAPISpecType