Share via


IOCTL_SERVICE_STOP

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 | Registering a Super Service Programmatically

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.