System.SysAllocMem

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function SysAllocMem(Size: NativeInt): Pointer;

C++

extern DELPHI_PACKAGE void * __fastcall SysAllocMem(NativeInt Size);

Properties

Type Visibility Source Unit Parent
function public
GETMEM.INC
System.hpp
System System

Description

Returns a pointer to a specified number of bytes.

The SysAllocMem function returns a pointer to a number of bytes specified by the Size parameter and fills the bytes with the value 0.

Warning: This is an internal function and should not be called directly by any application. Use the AllocMem function instead.

See Also