System.SysUtils.TTerminateProc
Delphi
TTerminateProc = function: Boolean;
C++
typedef bool __fastcall (*TTerminateProc)(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
TTerminateProc is a call-back function invoked by CallTerminateProcs.
CallTerminateProcs is called internally when an application is about to terminate. It invokes TTerminateProc for each defined termination function. Termination functions are added using AddTerminateProc. The application only terminates if all termination routines return True.