static MemoryHeap* SF_STDCALL CreateRootHeapPT(); static MemoryHeap* SF_STDCALL CreateRootHeapPT(const HeapDesc& desc);
CreateRootHeapPT creates the root heap in the page 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 ReleaseRootHeapPT and then call CreateRootHeapPT.
Parameters |
Description |
const HeapDesc& desc |
HeapDesc for obtaining the heap information. |
The newly created heap.