Enumerations
The four user-facing enumerations the WinServicesLib package exposes. All four come from the public ServicesConstantsPublic module in the package source; the larger surface of internal SERVICE_* constants the source uses to call into advapi32.dll lives in a Private Module and is not part of the public API.
| Enumeration | Used by |
|---|---|
| ServiceTypeConstants | ServiceManager.Type, ServiceState.Type |
| ServiceStartConstants | ServiceManager.InstallStartMode |
| ServiceControlCodeConstants | Services.ControlService, the dwControl parameter of ITbService.ChangeState |
| ServiceStatusConstants | ServiceManager.ReportStatus |
The member-name prefixes are inherited from the underlying Win32 SDK constants — tb… on the configuration enums (ServiceTypeConstants, ServiceStartConstants) and vb… on the runtime enums (ServiceControlCodeConstants, ServiceStatusConstants). The split is not deliberate; treat the prefixes as part of the member names and ignore the asymmetry.