beautypg.com

Erinjgetinvalidfieldofframeattribute, Erinjgetnowtrm – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 704

background image


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

ITargetEmulEngine 704

ErInjGetInvalidFieldOfFrameAttribute

ErInjGetInvalidFieldOfFrameAttribute (

short iLayerId,

int nCommand,

int nFieldIndex ,

int* pnFieldId ,

BSTR* pbstrFieldName ,

int* pnRetVal);


Inputs
short iLayerId

Layer ID of a packet (see

SASLayerEnum

)

int nCommand

Command type corresponding to layer ID.

(see

SCSICommandsEnum

,

SMPFrameFunctionsEnum

,

CommandTypeEnum

,

SSPTaskManagmentEnum

)

int nFieldIndex

Index of field to get list of available field to destroy them.

int* pnFieldId

Field ID of a field from available field list to destroy it by this ID.

BSTR* pbstrFieldName

Field name of a field from available field list to destroy it.

int* pnRetVal

Result of method, whether called by valid index and

layer ID or not or other errors.


Return Value
None.

Remark
Returns all available field IDs for destroying them for an outgoing frame of a command with

ErInjSetFrameInvalidField method.

See Also

ErInjGetNumberOfFieldsOfFrame

,

ErInjSetFrameInvalidField