Name

ReallocMemory Function

Syntax

function ReallocMemory(Ptr: Pointer; Size: Integer): Pointer; cdecl;

Description

The ReallocMemory function calls Delphi’s memory manager to reallocate a block of memory with a new size. ReallocMemory returns a pointer to the start of the block.

ReallocMemory is for use by C++ Builder. If you are writing a memory manager in Delphi, you should call SysReallocMem.

ReallocMemory is a real function.

See Also

FreeMemory Function, GetMemory Function, IsMultiThread Variable, ReallocMem Procedure, SysReallocMem Function

Get Delphi in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.