RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.TTerminateProc Type

TTerminateProc is a call-back function invoked by CallTerminateProcs.

Pascal
TTerminateProc = function : Boolean;
C++
: Boolean ( TTerminateProc)();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!