I am trying to use Win32 DeviceIoControl() API to send ATA command,
like WRITE BUFFER command, to control CF card on USB CF Reader.
I use CreateFile() to open device handle, like
CreateFile(_T("PhysicalDrive4"), ...).It success and return device handle.
I don't know how to send standard ATA command in Win32 API.
Are there any sample code or someone can help me.
Thanks a lot!
--
Regards,
Goldbach