System.SysRegisterExpectedMemoryLeak
Delphi
function SysRegisterExpectedMemoryLeak(P: Pointer): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall SysRegisterExpectedMemoryLeak(void * P);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | GETMEM.INC System.hpp |
System | System |
Description
Registers expected memory leaks.
The SysRegisterExpectedMemoryLeak function registers expected memory leaks. Returns True on success, False otherwise. The list of leaked blocks is limited in size, so failure is possible if the list is full.
Warning: This is an internal function and should not be called directly by any application. Use the RegisterExpectedMemoryLeak function instead.