MemoryHeap::CreateRootHeapPT

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

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
Parameters 
Description 
const HeapDesc& desc 
HeapDesc for obtaining the heap information. 
Return Value

The newly created heap.