Platform SDK: DLLs, Processes, and Threads |
The Platform SDK contains a command-line utility, SC.EXE, that can be used to control a service. Its commands correspond to the functions provided by the SCM. The syntax is:
sc ServerName [command] ServiceName