I am attempting to shutdown a service through an API call in NT 4.0 with
service pack 4.0. I have a handle on the service manager using the
function OpenSCService and a handle on the application using the
OpenService(hSCM, lpServiceName, etc). The next part is what I cannot seem
to pick-upp the syntax for. I havetried using the ControlService(hSVC,
SERVICE_STOP, STATUS) but this does not shut down the service. I have also
tried STATUS.dwSERVICESTATE = SERVICE_CONTROL_STOP
Beginning to wonder if this can only be accomplished in VC++!