SetReloadHandler Method
Starts accepting SERVICE_CONTROL_PARAMCHANGE and calls AProc when it arrives.
Remarks
The procedure runs on the SCM handler thread, which must return quickly or the service is taken for unresponsive. Keep it short and thread safe.
Syntax
Unit: Sparkle.Host.WinService
procedure SetReloadHandler(const AProc: TServiceBody);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | AProc | TServiceBody |