Erinjgettskmgncommandgenerateerror – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 803

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
ITargetEmulEngine 803
ErInjGetTskMgnCommandGenerateError
Void ErInjGetTskMgnCommandGenerateError (
SSPTaskManagmentEnum eCommandType,
BOOL* pbEnable,
TargetEmulatorTaskManagementErrorTypeEnum* peErrorOn,
short* piTagOrNumberOfCommand,
BYTE* pyCountOfError,
int* pnErrorCode);
Inputs
SSPTaskManagmentEnum eCommandType
Task command type.
(see
BOOL* pbEnable
Specifies whether to enable error generation on
a Task command.
TargetEmulatorTaskManagementErrorTypeEnum* peErrorOn
Erroneous command number.
(see
TargetEmulatorTaskManagementErrorTypeDefi
nition
)
Short* piTagOrNumberOfCommand
Tag or number of a command depends on error
type.
(see
TargetEmulatorTaskManagementErrorTypeDefi
nition
)
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 Task command in a SAS device in error injection command
section.
See Also
ErInjSetTskMgnCommandGenerateError