System.SysUtils.TTerminateProc

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef bool __fastcall (*TTerminateProc)(void);

Properties

Type Visibility Source Unit Parent
typedef public 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.

See Also