Click or drag to resize
Xcalibur Systems LLC Logo

ServiceHelper Class

Win32 API Helper: Services.
Inheritance Hierarchy
SystemObject
  Xcalibur.NativeMethods.V2.ServicesServiceHelper

Namespace: Xcalibur.NativeMethods.V2.Services
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
public static class ServiceHelper

The ServiceHelper type exposes the following members.

Methods
 NameDescription
Public methodStatic memberChangeServiceConfig2 Changes the optional configuration parameters of a service.

ChangeServiceConfig2 function

Public methodStatic memberCloseServiceHandle Closes a handle to a service control manager or service object.

CloseServiceHandle function

Public methodStatic memberControlService Sends a control code to a service.

ControlService function

Public methodStatic memberCreateService Creates a service object and adds it to the specified service control manager database.

CreateService function

Public methodStatic memberEnumServicesStatusEx 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

Public methodStatic memberOpenSCManager Establishes a connection to the service control manager on the specified computer and opens the specified service control manager database.

OpenSCManager function

Public methodStatic memberOpenService Opens an existing service.

OpenService function

Public methodStatic memberQueryServiceConfig Retrieves the configuration parameters of the specified service. Optional configuration parameters are available using the function.

QueryServiceConfig function

Public methodStatic memberQueryServiceConfig2 Retrieves the optional configuration parameters of the specified service.

QueryServiceConfig2 function

Public methodStatic memberSetServiceStatus Updates the service control manager's status information for the calling service.

SetServiceStatus function

Public methodStatic memberStartService Starts a service.

StartService function

Top
See Also