Pastestate, Setprojecttype – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 291

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
ISerialSCSICaptureProject 291
PasteState
int PasteState (
BOOL bIsNewState,
int nPasteStateId,
int nPastePositionStateId);
Inputs
BOOL bIsNewState
State is new and paste does not paste copied content of state, so
nPasteStateId is not a meaningful parameter.
int nPasteStateId
State ID in which to paste content of copied state.
int nPastePositionStateId
If bIsNewState is TRUE, a new state must be inserted after
nPastePositionStateId.
Return Value
Returns stateId where copied state was pasted.
Remark
Pastes all parts of State corresponding to nPasteStateId or new and inserts state (based on
nPastePositionStateId).
NOTE: This method is only for advanced mode.
See Also