static MemoryHeap* SF_STDCALL CreateRootHeapMH(); static MemoryHeap* SF_STDCALL CreateRootHeapMH(const HeapDesc& desc);
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 |
Description |
const HeapDesc& desc |
HeapDesc for obtaining the heap information. |
The newly created heap.