Accessing the IDE/ATA/ATAPI bus

Hey! I am writing a program to send custom ATA commands directly to drives on the IDE/ATA/ATAPI bus. I have found extensive documentation on scanning the SCSI bus and sending SCSI commands to SCSI drives and managed to get that working with little to no trouble, but I can't find much on ATA except for suggestions to use the SCSI IOCTL api with IOCTL_ATA_PASS_THOUGH.

Is there no dedicated ATA/IDE/ATAPI interface for accessing this particular bus? I assumed there would be a programming interface for all busses listed in the Windows device manager -_-

Any help would be great! thanks!
Last edited on
Hail from Finland!

Just updating this incase anyone comes across this post in the future... apparently SATA cards and their connected devices will appear on the SCSI bus, meaning you have to scan the SCSI bus to find ATA drives. I'm guessing it's a legacy thing but not necessarily obvious so I decided to point it out.
Last edited on
Topic archived. No new replies allowed.