阅读:1135回复:0
请问Read DEFECT DATA 37h 命令怎莫老不成功呢?
请问Read DEFECT DATA 37h 命令怎莫老不成功呢? 代码如下:
srbExecSCSICmd.SRB_Cmd = SC_EXEC_SCSI_CMD; srbExecSCSICmd.SRB_HaId = HA; srbExecSCSICmd.SRB_Target = ID; srbExecSCSICmd.SRB_Lun = LN; srbExecSCSICmd.SRB_Flags = SRB_DIR_IN | SRB_EVENT_NOTIFY; srbExecSCSICmd.SRB_BufLen = 4; srbExecSCSICmd.SRB_BufPointer = buf; srbExecSCSICmd.SRB_SenseLen = SENSE_LEN; srbExecSCSICmd.SRB_CDBLen = 10; srbExecSCSICmd.CDBByte[0] = READDEFECT; srbExecSCSICmd.CDBByte[2] = 0x0D; srbExecSCSICmd.CDBByte[8] = 4; |
|