ATAPI uses the SCSI command set so that is not relevant to
ATA and SCSI -> ATA conversion. I have also examined the Win2k
PCI/ATA/DMA mechanism. Unfortunately, that also only passes
the driver the SCSI command, so there is no way to intercept
the ATA command.
The documentation for this filter layer is also sparse.
Anyone know ATA Set_Features and ATA Inquiry?
—Ryoji
Nemiroff, Daniel writes:
Basically, unless you’re installed as a Scsi Miniport or an Atapi
replacement, you can’t.
hmm… It seems that there’s no way to know “ATA Set_Features”
except using kernel debugger or BUS Analyser… Or, to keep
pressure on Microsoft to include information about ATA Set_Features
and ATA Inquiry
By the way, I found a IOCTL_SCSI_IDE_PASS_THROUGH (defined in
Win2000’s ntddscsi.h)… Although I don’t know its structure.
Anyone know how to use it?
—Ryoji
Typo;-)
#define IOCTL_IDE_PASS_THROUGH CTL_CODE(IOCTL_SCSI_BASE, 0x040a,
METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
R. Kaneko writes:
By the way, I found a IOCTL_SCSI_IDE_PASS_THROUGH (defined in
Win2000’s ntddscsi.h)… Although I don’t know its structure.
Anyone know how to use it?
—Ryoji