- Timestamp:
- Mar 28, 2009 3:16:52 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvHostDVD.cpp
r18444 r18445 599 599 Req.spt.TimeOutValue = (cTimeoutMillies + 999) / 1000; /* Convert to seconds */ 600 600 Assert(cbSense <= sizeof(Req.aSense)); 601 Req.spt.SenseInfoLength = (UCHAR) cbSense;601 Req.spt.SenseInfoLength = (UCHAR)RT_MIN(255, cbSense); 602 602 Req.spt.SenseInfoOffset = RT_OFFSETOF(struct _REQ, aSense); 603 603 if (DeviceIoControl((HANDLE)pThis->FileDevice, IOCTL_SCSI_PASS_THROUGH_DIRECT,
Note:
See TracChangeset
for help on using the changeset viewer.