beautypg.com

Erinjgetsmpcommandgenerateerror, Erinjsetsmpcommandfunctionresulterrortyp – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 795

background image


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

ITargetEmulEngine 795

ErInjGetSMPCommandGenerateError

Void ErInjGetSMPCommandGenerateError (

SMPFrameFunctionsEnum eCommandType,

BOOL* pbEnable,

BYTE* pyCommandNumber,

BYTE* pyCountOfError,

int* pnErrorCode);


Inputs
SMPFrameFunctionsEnum eCommandType SMP command type.

(see

SMP command definition

)

BOOL* pbEnable

Specifies whether to enable error generation on a

SMP command.

BYTE* pyCommandNumber

Erroneous command number.

(see

TargetEmulatorSCSICommandErrorTypeDefinition

)

BYTE* pyCountOfError

Count of error.

Int* pnErrorCode

Error code. If the function call was corrected, the

error code is zero.


Return Value
None.

Remark
Returns enability of error on a SMP command in a SAS device in error injection command

section.

See Also

ErInjSetSMPCommandGenerateError