beautypg.com

Expandfield, Save, Saveastext – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 832

background image


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

ISerialSCSIExtraction 832

ExpandField

Void ExpandField (

short iLayerID,

int nPacketIndexInLayer,

int nFieldIndex,

BOOL bExpand,

BOOL* pbRetVal);


Inputs
short iLayerID

Layer ID. (see

SAS Layer definition

)

int nPacketIndexInLayer

Packet index in a layer.

int nFieldIndex

Field index.

BOOL bExpand

Specifies whether the packet is to expand or collapse.


Return Value
If function call is correct, return value is TRUE.

Remark
Expands or collapses expandable fields.

Save

Void Save (

BSTR bstrFileName,

int* pbRetVal);


Inputs
BSTR bstrFileName Path and name of file.

Return Value
If function call is correct, return value is zero. Otherwise, contains an error code.

Remark
Saves a sample to a file.