Partager via


IOCTL_SERVICE_STOP

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Header service.h
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IOCTL_SERVICE_START
RegisterService

Concepts

Registering a Service Programmatically