Re: ReadFile \ Write File [Failed LBA ???]

Thanks all for the reply.

I have one more small(trivial) doubt. I am opening the device IDE HDD using
the PhysicalDrive number …

//—
HANDLE hDrive = CreateFile( \.\PhysicalDriveN,…
DevIoCtl(hDrive,IOCTL_SCSI_PASSTHROUGH,…
//—

and NOT using the Drive letter say like
HANDLE hDrive = CreateFile( \.\D:,…

Will this have any impact?

In the second case(involving Drive Letter),i guess the class driver is
involved, but what abt the first case.
Will the class driver get involved here too?

Since it is a HDD, may be the Disk Class driver may get
involved in both cases …right?

Thanks again
balan

*********************************************************
Subject: Re: ReadFile \ Write File [Failed LBA ???]
From: xxxxx@geos-inform.com

Hi!

Yes, you can use SCSI pass-thru for ATA/ATAPI devices too. Class driver will
translate SCSI command set to ATA/ATAPI command set.