beautypg.com

Getfielddata, Getfieldname – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 828

background image


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

ISerialSCSIExtraction 828

GetFieldData

Void GetFieldData (

short iLayerID,

int nPacketIndexInLayer,

int nFieldIndex,

int nStartByte,

long* plDataLength,

VARIANT* pvFieldData,

BOOL* pbRetVal);


Inputs
short iLayerID

Layer ID. (see

SAS Layer definition

)

int nPacketIndexInLayer ID Packet index in a layer.
int nFieldIndex

Field index.

int nStartByte

Byte from which Field Data starts.

long* plDataLength

Length of field Data.

VARIANT* pvFieldData

Field data.


Return Value
Error code. If the function call was correct, the error code is zero.

Remark
Expands or collapses all packets in a layer.