System.TMarshal.AllocMem

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function AllocMem(Size: NativeInt): TPtrWrapper;

Properties

Type Visibility Source Unit Parent
function public System.pas System TMarshal

Description

Allocates a block of memory.

AllocMem allocates a block of memory of Size bytes and returns it as a wrapped pointer.

See Also