beautypg.com

Erinjgetstpcommanderrorresponsetype, Erinjsetstpcommandframeoutgoingerrorattr, Ibute – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 813

background image


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

ITargetEmulEngine 813

ErInjGetSTPCommandErrorResponseType

Void ErInjGetSTPCommandErrorResponseType (

int nCommand,

BOOL* pbEnable,

ATADeviceEmulErrorStatusRegEnum* peResponseType,

int* pnErrorCode);


Inputs
int nCommand

ATA command type. (see

ATA command definition

)

BOOL* pbEnable

Specifies whether to enable error generation on response

type for an ATA command.

ATADeviceEmulErrorStatusRegEnum* peResponseType

Response type for a ATA command.

(see

ATADeviceEmulErrorStatusRegEnum

)

Int* pnErrorCode

Error code. If the function call was corrected, the error

code is zero.


Return Value
None.

Remark
Returns enability of response type error on an ATA command in a SATA device in error injection

command section.

See Also

ErInjSetSTPCommandErrorResponseType