Createfile("\\.\Scsi0:", ....

Createfile("\\.\Scsi0:", ....

Post by Peter Chee » Tue, 19 Aug 2003 19:33:19

I am trying to

if( (hScsiDriveIOCTL=CreateFileA( DriveName, GENERIC_READ
{ // Error
GetLastError( pdata );
return( SP_NO_SCSI );

1. CreateFile( "\\\\.\\Scsi0:", ....

2. \\.\Scsi0:

given a HANDLE to \\.\Scsi0: obtained with CreateFile, how could i determin
the maximum number of targets that a given bus may hold,
IOCTL_SCSI_GET_CAPABILITIES doesn't tell me. also, when doing
IOCTL_SCSI_GET_INQUIRY_DATA i get NumberOfBuses field. I always get 1, even
though i query a two channel controller... how come? it seams like each
channel gets its own \\.\ScsiX: file.

3. [2.6.10-mm2] scsi0: Transmission error detected, and then hangs

4. (resend) scsi0: Unexpected busfree while idle - Adaptec 29160N Ultra160 SCSI adapter

5. 3w-9xxx: scsi0: WARNING: (0x06:0x0037): Character ioctl (0x108) timed out, resetting card.

6. cdrecord and many LUN on scsi0 which eat the scsi1 host !!!

7. AIC79xx: scsi0: device overrun (status a)

8. About the settings in CreateFile

9. CreateFile params to open driver

10. NDIS LWF driver - CreateFile gives error "system cannot find the file specified"

11. How can I get the device name to call CreateFile() in my AVSTREAM minidriver's plug-in?