beautypg.com

Getifpayloadinstrlength, Getifpayloadinstrmatch – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 426

background image


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

IExerciserEngine 426

GetIfPayloadInstrLength

BOOL GetIfPayloadInstrLength (

int nInstructionIndex,

WORD* pwLength);


Inputs
int nInstructionIndex

Index of an object (all instructions, including Send)

WORD* pwLength

Length of data in If Payload instruction in dword format.


Return Value
Returns result of method, whether called by valid index and instruction type or not.

Remark
Returns data length of If Payload instruction in DWORD format.
Call this method only for the If Payload instruction.

See Also

SetIfPayloadInstrLength