Erinjsetsmpcommandfunctionresulterrortype, Erinjgetsmpcommandfunctionresulterrortyp – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 796

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
ITargetEmulEngine 796
ErInjSetSMPCommandFunctionResultErrorType
Void ErInjSetSMPCommandFunctionResultErrorType (
SMPFrameFunctionsEnum eCommandType,
BOOL bEnable,
BYTE yFunctionResult,
int* pnErrorCode);
Inputs
SMPFrameFunctionsEnum eCommandType SMP command type.
(see
BOOL bEnable
Specifies whether to enable error generation on
function result.
BYTE yFunctionResult
Function result.
(see
SMP function result definition
Int* pnErrorCode
Error code. If the function call was corrected, the
error code is zero.
Return Value
None.
Remark
In error injection command section, sets enability of error on function result for a SMP
command in a SAS device.
See Also
ErInjGetSMPCommandFunctionResultErrorType