Perform a IDE bus reset using SPTI on Windows 2K/XP
Posted on 2001-09-01
I would like to do a IDE bus reset (NT4/Win2K/XP using SPTI).
What have I got so far (also see code below) :
- This code works just fine in NT4 and resets any IDE bus just fine.
- This code does not work with the standard IDE drivers on Win2K and WinXP (if you however try it with e.g. a Promise IDE controller it will work ; apparently those drivers accept a bus reset request using the method below).
What would I like to do ?
- Perform a reset of any IDE bus in Win2K and WinXP (using the standard IDE drivers which are installed by default by the OS).
unsigned long ByteCount,Status;
cout<<"Unable to open "<<GetLastError()<<endl;