FHoloLensPlatformMemory::Init

Enable this to track down windows allocations not wrapped by our wrappers int WindowsAllocHook(int nAllocType, void *pvData, size_t nSize, int nBlockUse, long lRequest, const unsigned char * szFileName, int nLine ) { if ((nAllocType == _HOOK_ALLOC || nAllocType == _HOOK_REALLOC) && nSize > 2048) { static int i = 0; i++; } return true; }

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HoloLens/HoloLensPlatformMemory.h

Include

#include "HoloLens/HoloLensPlatformMemory.h"

Source

/Engine/Source/Runtime/Core/Private/HoloLens/HoloLensPlatformMemory.cpp

Syntax

static void Init()

Remarks

Enable this to track down windows allocations not wrapped by our wrappers int WindowsAllocHook(int nAllocType, void *pvData, size_t nSize, int nBlockUse, long lRequest, const unsigned char * szFileName, int nLine ) { if ((nAllocType == HOOK_ALLOC || nAllocType == HOOK_REALLOC) && nSize > 2048) { static int i = 0; i++; } return true; }

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