Share via


IOCTLs that are Sent by Applications

The following table shows the IOCTLs that an application can send to Services.exe.

IOCTL Description
IOCTL_SERVICE_STOP Stops the service.
IOCTL_SERVICE_START Starts the service.
IOCTL_SERVICE_REFRESH Causes a service to refresh its configuration parameters.
IOCTL_SERVICE_INSTALL Causes a service to configure the registry for the service to be automatically loaded on system initialization.
IOCTL_SERVICE_UNINSTALL Causes a service to remove registry configuration for its auto-loading on system initialization.
IOCTL_SERVICE_CONTROL Contains information specific to a certain service passed by the calling application.
IOCTL_SERVICE_STATUS Returns the current running state of the service.
IOCTL_SERVICE_DEBUG Sets the debug state of a service.
IOCTL_SERVICE_CONSOLE Turns a service's console on or off.

See Also

Controlling a Running Service | Services.exe IOCTLS

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.