Copypastestate – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 213

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
ISerialSCSICaptureProject 213
NOTE: This method is only for advanced mode.
See Also
CopyPasteState
int CopyPasteState (
int nCopyStateId,
int nPasteStateIndex,
int* pnStateId);
Inputs
int nCopyStateId
ID of state to copy.
int nPasteStateIndex
ID of state to paste after it.
int* pnStateId
State ID of new added state or -1 if an error occurs.
Return Value
Saves the Error Code if an error occurs.
Remark
Adds a new state after PasteStateId in advanced mode. It is the same state as defined as
CopyStateId in capturing and conditions and returns state ID of new added state for next use.
With this state ID and other functions, you can change capturing items and all condition items.
If, while pasting the state, an error occurs, nStateId returns -1.
NOTE: This method is only for advanced mode.
See Also