Hi! I’ve been banging my head against a wall for a several hours and would appreciate any help/advice!!
I wrote a simple piece of XP ASPI code that sends a Get Event Status Notification command to a drive to get the media status. I’m sending “4a 1 0 0 10 0 0 0 8 0” and getting back correct information, “00 06 04 56 00 02 00 00” (meaning the tray is open!). So far so good…
Now, I want to change this to use SPTI, I’m sending the same command but instead get back “00 06 04 56 00 00 00 00”, meaning tray is closed and no media is present.
Whatever I do with the tray, whether it be closed/opened/empty/full, the SPTI function gets back the same four 0s. I’m sure the code is good and is receiving responses since the received Get Event Status Notification header is correctly constructed.
At this point, ASPI is still returning good info! I’ve removed the ASPI drivers in case they were interfering but still the same…
Is something (OS or drive) caching information? Is SPTI flawed? Am I being daft!?
Any help would be greatly appreciated!!!