IOCTL_SERVICE_STOP (Windows CE 5.0)
This IOCTL stops the service.
Parameters
None.
Return Values
Returns TRUE if successful, FALSE otherwise. To obtain extended error information, call the SetLastError function.
Remarks
The IOCTL_SERVICE_STOP IOCTL does not cause the service's DLL to be unloaded. The service can be started again with a call to the IOCTL_SERVICE_START IOCTL. It is not necessary to call the RegisterService function to restart the service.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Service.h.
See Also
IOCTL_SERVICE_START | RegisterService | Registering a Service Programmatically
Send Feedback on this topic to the authors