Note The SCM does not access a service’s Parameters subkey until the service is deleted, at
which time the SCM deletes the service’s entire key, including subkeys like Parameters.
How Start a service?
SCM send Start command
Process main thread run StartServiceCtrlDispatcher
Accet List of services point
Named pipe communication to SCM
Service thread
Is Running?
YES
Call RegisterServiceCtrlHandler -->
save the Service Control Handler in the main process
Implemented for manage a lot of SCM commands
Inicialyze SERVICE
SCM ask its progress
Service thread --> Loop waiting REQUESTS from CLIENT APPs