CArclib::ArcScsiPassthroughCmd

The ArcScsiPassthroughCmd method executes the SCSI commands for a drive.

 

virtual ARC_STATUS ArcScsiPassthroughCmd (

BYTE nEncnum,

BYTE nDrvnum,

pSCSI_CMD pCmd

);

Parameters:

[IN]

nEncnum: Enclosure#, this field will be ignored if Non-SAS controller.

nDrvnum: Drive# in Enclosure#

 

[IN/OUT]

pCmd: Pointer to a sSCSI_CMD structure that need for SCSI commands.

Return Values

This method returns the ARC_STATUS. If returned ARC_FAILURE, the SCSI status code will be saved in sSCSI_CMD::cdb

Note: