Hi,
I was developing some SPTI code and found the behavour of the Windows XP
system… say… very questionable.
I have only one ATAPI device in the system attached to primary IDE
controller, secondary IDE controller is free. So \.\Scsi0: has one device
and \.\Scsi1: has no devices at all. And here is the problem: when
retreiving SCSI inquiry data by calling IOCTL_SCSI_GET_INQUIRY_DATA
immediately after calling IOCTL_SCSI_RESCAN_BUS with the same \.\Scsi1:
the DeviceIoControl() returns messy inquiry buffer. It happens only one
time from 5 or 6 and does not happend at all if no call to rescan bus used
or one second Sleep() inserted between two IOCTL calls. I’ve modified DDK
SPTI.c sample (inserted IOCTL_SCSI_RESCAN_BUS call before
IOCTL_SCSI_GET_INQUIRY_DATA) and the STPI.c behaves in the same way. So is
this a XP bug or I have problems with hands??? Did anybody see the same
behavour?
Regards,
Anton
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com