These constants are no longer in use as of Win32Service 1.0.0.
|The handle to the SCM database does not have the appropriate access rights.
|A circular service dependency was specified.
|The specified database does not exist.
|The service cannot be stopped because other running services are dependent on it.
|The display name already exists in the service control manager database either as a service name or as another display name.
|This error is returned if the program is being run as a console application rather than as a service. If the program will be run as a console application for debugging purposes, structure it such that service-specific code is not called.
|The buffer is too small for the service status structure. Nothing was written to the structure.
|The specified service status structure is invalid.
|The handle to the specified service control manager database is invalid.
|The InfoLevel parameter contains an unsupported value.
|The specified service name is invalid.
|A parameter that was specified is invalid.
The user account name specified in the
parameter does not exist. See win32_create_service().
|The requested control code is not valid, or it is unacceptable to the service.
|The service binary file could not be found.
|An instance of the service is already running.
The requested control code cannot be sent to the service because the state
of the service is
|The database is locked.
|The service depends on a service that does not exist or has been marked for deletion.
|The service depends on another service that has failed to start.
|The service has been disabled.
|The specified service does not exist as an installed service.
|The specified service already exists in this database.
|The service did not start due to a logon failure. This error occurs if the service is configured to run under an account that does not have the "Log on as a service" right.
|The specified service has already been marked for deletion.
|A thread could not be created for the service.
|The service has not been started.
|The process for the service was started, but it did not call StartServiceCtrlDispatcher, or the thread that called StartServiceCtrlDispatcher may be blocked in a control handler function.
|The system is shutting down; this function cannot be called.
|The service has returned a service-specific error code.