System.RemoveModuleUnloadProc

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RemoveModuleUnloadProc(Proc: TModuleUnloadProc);
procedure RemoveModuleUnloadProc(Proc: TModuleUnloadProcLW);

C++

extern DELPHI_PACKAGE void __fastcall RemoveModuleUnloadProc(TModuleUnloadProc Proc)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.pas
System.hpp
System System

Description

RemoveModuleUnloadProc removes a call to your defined routine when a package is unloaded.

Before Delphi unloads a package that was used by your application, it can optionally call your Proc routine. In essence, AddModuleUnloadProc adds your routine to the head of the list of internal routines that Delphi invokes to perform the unload. RemoveModuleUnloadProc reverses the effect of AddModuleUnloadProc.

See Also