Soap.InvokeRegistry.TDataContext.AllocData

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function  AllocData(Size: Integer): Pointer;

C++

void * __fastcall AllocData(int Size);

Properties

Type Visibility Source Unit Parent
function public
Soap.InvokeRegistry.pas
Soap.InvokeRegistry.hpp
Soap.InvokeRegistry TDataContext

Description

Returns a pointer to the data context's cache of raw memory.

Use AllocData to obtain a pointer to a chunk of temporary memory.

Size is the number of bytes desired.

AllocData returns a pointer to Size bytes.

Note: TDataContext does not actually allocate the memory that AllocData returns. Descendant classes must initialize the internal cache that the returned pointer addresses.

See Also