beautypg.com

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

Page 550

background image


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

IExerciserEngine 550

ErInjGetNumberOfFieldsOfFrame

ErInjGetNumberOfFieldsOfFrame (

short iLayerId,

int nCommand,

int* pnNumberOfFields ,

int* pnRetVal);


Inputs
short iLayerId

Layer ID of a packet (see

SASLayerEnum

)

int nCommand

Index of a packet corresponding to layer ID.

int* pnNumberOfFields

Number of available fields, to destroy it.

int* pnRetVal

Result of method, whether called by valid index and layer ID or not

or other errors.


Return Value
Returns number of all available field IDs, for destroying them, for an outgoing frame of a

command with ErInjSetFrameInvalidField method.
You can retrieve this list with the ErInjGetInvalidFieldOfFrameAttribute method.

See Also

ErInjGetInvalidFieldOfFrameAttribute

,

ErInjSetFrameInvalidField