MemoryHeap::CreateRootHeapMH

MemoryHeap::CreateRootHeapMH
static MemoryHeap* SF_STDCALL CreateRootHeapMH();
static MemoryHeap* SF_STDCALL CreateRootHeapMH(const HeapDesc& desc);
Description

CreateRootHeapMH creates the root heap in the malloc based memory allocations. This method can be called only once. The second call to the method will return 0. To create another root heap, call ReleaseRootHeapMH and then call CreateRootHeapMH.

Parameters
Parameters 
Description 
const HeapDesc& desc 
HeapDesc for obtaining the heap information. 
Return Value

The newly created heap.