Removecapturepattern, Removeconditionexprpattern – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 294

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
ISerialSCSICaptureProject 294
RemoveCapturePattern
BOOL RemoveCapturePattern (
int nStateId,
long lPatternIndex,
BOOL bUpdateResource);
Inputs
int nStateId ID for a state in advanced mode and
Capture ID (see
) in easy mode.
long lPatternIndex
Target capture pattern index.
BOOL bUpdateResource
Set TRUE if you want to update Resource. Otherwise, FALSE.
Return Value
Saves TRUE if remove is successful. Otherwise, it is FALSE.
Remark
Removes a Pattern from the Capture items, specified by its index, and returns the result.
If you add a pattern to capture items and do not call UpdateHardwareResource to assign a
resource, to remove the added pattern, bUpdateResource must be FALSE. Otherwise, FALSE.
See Also