Service |
The ServiceHelper type exposes the following members.
Name | Description | |
---|---|---|
ChangeServiceConfig2 | Changes the optional configuration parameters of a service. ChangeServiceConfig2 function | |
CloseServiceHandle | Closes a handle to a service control manager or service object. CloseServiceHandle function | |
ControlService | Sends a control code to a service. ControlService function | |
CreateService | Creates a service object and adds it to the specified service control manager database. CreateService function | |
EnumServicesStatusEx | Enumerates services in the specified service control manager database. The name and status of each service are provided, along with additional data based on the specified information level. EnumServicesStatusEx function | |
OpenSCManager | Establishes a connection to the service control manager on the specified computer and opens the specified service control manager database. OpenSCManager function | |
OpenService | Opens an existing service. OpenService function | |
QueryServiceConfig | Retrieves the configuration parameters of the specified service. Optional configuration parameters are available using the function. QueryServiceConfig function | |
QueryServiceConfig2 | Retrieves the optional configuration parameters of the specified service. QueryServiceConfig2 function | |
SetServiceStatus | Updates the service control manager's status information for the calling service. SetServiceStatus function | |
StartService | Starts a service. StartService function |