beautypg.com

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

Page 240

background image


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

ISerialSCSICaptureProject 240

GetConditionExprPatternATAPICommandType

SCSICommandsEnum GetConditionExprPatternATAPICommandType (
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 command type of ATAPI Command (see

SCSICommandsEnum

)


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

pattern of a condition in advanced mode.

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

See Also

SetConditionExprPatternATAPICommandType