Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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