PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The following constants are used to manage the services:
ConstantAffectsUsed by the functions
AccountLocalServiceLocal account that has the recommended rights to run a service. On the network, this account will be considered as guest.Service variable
AccountLocalSystemLocal account representing the operating system. This account has all the rights. On the network, this account will have the rights of the current computer.Service variable
AccountNetworkServiceLocal account that has the recommended rights to run a service. On the network, this account will have the rights of the current computer.Service variable
Versions 15 and later
elError
New in version 15
elError
elError
Error eventServiceWriteEventLog
Versions 15 and later
elInformation
New in version 15
elInformation
elInformation
Information eventServiceWriteEventLog
Versions 15 and later
elWarning
New in version 15
elWarning
elWarning
Warning eventServiceWriteEventLog
Versions 15 and later
esFailure
New in version 15
esFailure
esFailure
The service stops and triggers a failure. The different ending processes are not run.EndService
Versions 15 and later
esStop
New in version 15
esStop
esStop
The service stops properly, without triggering any error. The different ending processes are run and the service stops.EndService
serviceCmdPausePauses the service (equivalent to ServicePause).ServiceControl
serviceCmdRereadConfigAsks the service to re-read its configuration settings (equivalent to ServiceRefresh).ServiceControl
serviceCmdRestartRestarts a service (equivalent to ServiceContinue).ServiceControl
serviceCmdStopStops the service (equivalent to ServiceStop).ServiceControl
serviceErrorCriticalThe system writes the failure for starting the service into the log of event observer and restarts in "Last proper configuration known" mode.Service variable
serviceErrorIgnoreThe system performs no action if the service does not start.Service variable
serviceErrorLogThe system writes the failure for starting the service into the log of event observer.Service variable
serviceErrorSeriousThe system writes the failure for starting the service into the log of event observer and restarts in "Last proper configuration known" mode if this mode is not already used.Service variable
serviceStartupAutomaticAutomatic startup once the system is initializedService variable
serviceStartupDisabledThe service is disabled. Any attempt to start it triggers an error.Service variable
serviceStartupManualManual startupService variable
serviceStartupSystemAutomatic start at the same time as the operating system (used by the drivers). Service variable
serviceStatusPausedThe service is paused.ServiceWaitStatus, ServiceStatus
serviceStatusPausingThe service received a command to pause but it has not been paused yet.ServiceWaitStatus, ServiceStatus
serviceStatusRestartingThe service received a command to restart but it has not been restarted yet.ServiceWaitStatus, ServiceStatus
serviceStatusStartedThe service is currently operating.ServiceWaitStatus, ServiceStatus
serviceStatusStartingThe service received a command to start but it has not been started yet.ServiceWaitStatus, ServiceStatus
serviceStatusStoppedThe service is stopped.ServiceWaitStatus, ServiceStatus
serviceStatusStoppingThe service received a command to stop but it has not been stopped yet.ServiceWaitStatus, ServiceStatus
serviceStatusTimeoutThe service has not reached the requested status at the end of time-out.ServiceWaitStatus
serviceTypeDriverFileSystemDriver of file system.Service variable
serviceTypeDriverKernelDriver of the kernel.Service variable
serviceTypeInteractiveSharedService allowed to interact with the desktop and sharing its process with other services.Service variable
serviceTypeInteractiveSimpleService allowed to interact with the desktop and operating on its own in its process.Service variable
serviceTypeSharedStandard service sharing its process with other services.Service variable
serviceTypeSimpleStandard service operating on its own in its process.Service variable
Minimum required version
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment