lhauser63
March 18th, 2003, 09:12 AM
Hi,
I've been writing an application that talks directly to the hard drives. I had been using the IOCTL_IDE_PASS_THROUGH with the DeviceIOControl. That works fine if the drive is attached to the IDE bus. But drives can be attached via many other methods. Is there a way to pass an ATA command to a drive regardless of the driver? Or is there a way to determine in all cases if the drive is IDE or SCSI and then pass a command to it even if it's connected to USB or Firewire? I want to support all versions of Windows.
thanks
I've been writing an application that talks directly to the hard drives. I had been using the IOCTL_IDE_PASS_THROUGH with the DeviceIOControl. That works fine if the drive is attached to the IDE bus. But drives can be attached via many other methods. Is there a way to pass an ATA command to a drive regardless of the driver? Or is there a way to determine in all cases if the drive is IDE or SCSI and then pass a command to it even if it's connected to USB or Firewire? I want to support all versions of Windows.
thanks