FMalloc::GetAllocationSize

If possible determine the size of the memory allocated at the given address

Windows
MacOS
Linux

Override Hierarchy

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HAL/MemoryBase.h

Include

#include "HAL/MemoryBase.h"

Syntax

virtual bool GetAllocationSize
(
    void * Original,
    SIZE_T & SizeOut
)

Remarks

If possible determine the size of the memory allocated at the given address

Returns

true if succeeded

Parameters

Parameter

Description

Original

Pointer to memory we are checking the size of

SizeOut

If possible, this value is set to the size of the passed in pointer

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss