System.ExitProcessProc
Delphi
ExitProcessProc: procedure; { Hook to be called just before the process actually exits }
C++
extern DELPHI_PACKAGE void __fastcall (*ExitProcessProc)(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
variable | public | System.pas System.hpp |
System | System |
Description
Specifies the last procedure to execute before the application shuts down.
Assign a value to ExitProcessProc to specify a procedure that you want to execute when the application shuts down. The value of ExitProcessProc is a procedure with no parameters.