Changeset 12727 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Sep 25, 2008 12:35:35 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvHostDVD.cpp
r12515 r12727 545 545 { 546 546 SCSI_PASS_THROUGH_DIRECT spt; 547 uint8_t aSense[ 18];547 uint8_t aSense[64]; 548 548 } Req; 549 549 DWORD cbReturned = 0; … … 592 592 memset(pabSense, '\0', cbSense); 593 593 /* Windows shares the property of not properly reflecting the actually 594 * transferred data size. See above. Assume that everything worked ok. */ 595 rc = VINF_SUCCESS; 594 * transferred data size. See above. Assume that everything worked ok. 595 * Except if there are sense information. */ 596 rc = (pabSense[2] & 0x0f) == SCSI_SENSE_NONE 597 ? VINF_SUCCESS 598 : VERR_DEV_IO_ERROR; 596 599 } 597 600 else
Note:
See TracChangeset
for help on using the changeset viewer.