Sign in Join
FPDoc Onlineexperiment

TDaemonController.ReportStatus function

Member of TDaemonControllerpublicIn unit DaemonApp

Report the status to the operating system.

Declaration

pascal
function ReportStatus: Boolean; virtual

Function result

True if the status was reported successfully.

Description

ReportStatus reports the status of the daemon to the operating system. On windows, this sends the current service status to the service manager. On other operating systems, this sends a message to the system log.

Errors

If an error occurs, an error message is sent to the system log.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.