beautypg.com

Pastespecialstate – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 290

background image


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

ISerialSCSICaptureProject 290

PasteSpecialState

int PasteSpecialState (

BOOL bIsNewState,

int nPasteStateId,

int nPastePositionStateId,

BOOL bPasteCaptureParts,

VARIANT* pvarPasteConditionIndex);


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 copy state.


int nPastePositionStateId

If bIsNewState is TRUE a new state must be inserted after

nPastePositionStateId.


BOOL bPasteCaptureParts

If bPasteCaptureParts is TRUE, only the capture part must

be pasted.


VARIANT* pvarPasteConditionIndex

Condition index that must be pasted in a state based on

nPasteStateId


Return Value
Returns stateId that pasted some parts.

Remark
Paste part(s) of State corresponding to nPasteStateId or new and insert state (based on

nPastePositionStateId).

NOTE: This method is only for advanced mode.

See Also

PasteState

CopyPasteState