次の方法で共有


IOCTL_SERVICE_STOP (Windows Embedded CE 6.0)

1/6/2010

This IOCTL stops the service.

Parameters

None.

Return Values

Returns TRUE if successful, FALSE otherwise. To obtain extended error information, call the GetLastError 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

See Also

Reference

Services.exe IOCTLS
IOCTL_SERVICE_START
RegisterService

Concepts

Registering a Service Programmatically