The handle to the SCM database does not have the appropriate access rights.

WIN32_ERROR_CIRCULAR_DEPENDENCY

0x00000423

A circular service dependency was specified.

WIN32_ERROR_DATABASE_DOES_NOT_EXIST

0x00000429

The specified database does not exist.

WIN32_ERROR_DEPENDENT_SERVICES_RUNNING

0x0000041B

The service cannot be stopped because other running services are dependent
on it.

WIN32_ERROR_DUPLICATE_SERVICE_NAME

0x00000436

The display name already exists in the service control manager database
either as a service name or as another display name.

WIN32_ERROR_FAILED_SERVICE_CONTROLLER_CONNECT

0x00000427

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.

WIN32_ERROR_INSUFFICIENT_BUFFER

0x0000007A

The buffer is too small for the service status structure. Nothing was
written to the structure.

WIN32_ERROR_INVALID_DATA

0x0000000D

The specified service status structure is invalid.

WIN32_ERROR_INVALID_HANDLE

0x00000006

The handle to the specified service control manager database is invalid.