Click to See Complete Forum and Search --> : Restart ohci1394 programmatically??


MikeGilmore
March 4th, 2003, 12:28 PM
In C++, I need to programmatically restart the Texas Instruments OHCI Compliant IEEE 1394 Host Controller.

What I've tried...
I have restarted other drivers using OpenSCManager(), ControlService( SERVICE_CONTROL_STOP ).
For this one, ControlService( SERVICE_CONTROL_INTERROGATE ) and QueryServiceStatus() tell me I should have the ability to use SERVICE_CONTROL_STOP. They both fill out the SERVICE_STATUS struct with dwControlsAccepted = 1 ( SERVICE_CONTROL_STOP ), but when I try, GetLastError() tells me "The requested control is not valid for this service".

Support info...
driver date 11/14/1999
driver version 5.0.2183.1