example of sending ata commands to a HDD

Is there an example of how to send ATA commands to a HDD in the DDK?

Greg

Not directly. You can start with the SPTI sample, which does that for SCSI
devices.
Replace the SPT IOCTLs and structs with APT equivalents, then see what
happens.
You’ll probably need to change the way the thing attempts to enumerate the
devices, as well.
You’ll need XP SP2 or 2K3 SP1 as your target system.

Once you have dug into the sample, if you have specific questions that
aren’t already answered in this archive or on the Microsoft public
newsgroups, please ask them here.

Phil

Philip D. Barila
Seagate Technology LLC
(720) 684-1842

“Greg Jacklin”
com> To
Sent by: “Windows System Software Devs
bounce-209615-643 Interest List”
xxxxx@lists.osr.com
No Phone Info cc
Available
Subject
[ntdev] example of sending ata
05/19/2005 10:02 commands to a HDD
AM

Please respond to
“Windows System
Software Devs
Interest List”
com>

Is there an example of how to send ATA commands to a HDD in the DDK?

Greg