This section includes the following APIs:
NetServiceControl
NetServiceEnum
NetServiceGetInfo
NetServiceInstall
NetServiceStatus
This section discusses considerations for writing a service. The service APIs start and control service programs. These APIs are used with the SERVICE.H and NETCONS.H header files.
With only user authority, your application can call all of the service functions locally. With administrative authority, your application can call them remotely, as well.