Tech Support > Microsoft Windows > Drivers > What's input/output buffer format of IOCTL_IDE_PASS_THROUGH ?
What's input/output buffer format of IOCTL_IDE_PASS_THROUGH ?
Posted by Jackal Huang on May 8th, 2006


My usb storage driver is failed in Media Status Notification test of HCT.
I found that HCT issues IOCTL_IDE_PASS_THROUGH command to driver's ioctl
dispatch.
Since my driver didn't support this ioctl code, the test is failed.
It seems that HCT tried to send ATA/ATAPI identify command and get failed
status.

Where can I find the information about IOCTL_IDE_PASS_THROUGH?

Best Regards

Jack Huang


Posted by Gary G. Little on May 8th, 2006


Depending on what you are trying to do, you most likely will need to use
IOCTL_ATA_PASS_THROUGH and that will require both the 3790.1830 DDK and SP2
for XP. IDE pass through is extremely limited in what it permits, and will
not permit DMA on what it does. ATA pass through in XP SP2 and Server 2003
allows more latitiude in the commands you can send and has DMA capability.

In either case, pass through structures are defined in NTDDSCSI.H.

Vista and Longhorn move to an ATAPORT and from what has been seen, though
not tested, should provide better pass through support.

--
The personal opinion of
Gary G. Little

"Jackal Huang" <huangjj@hotmail.com> wrote in message
news:u$PkeLlcGHA.3888@TK2MSFTNGP02.phx.gbl...