MemoryHeap::GetAllocHeap

MemoryHeap::GetAllocHeap
MemoryHeap* GetAllocHeap(const void * thisPtr);
Description

GetAllocHeap determines which heap the allocation belongs to. This function will ASSERT internally if the specified address does not come from one of the allocated GFx heaps.

Parameters
Parameters 
Description 
const void * thisPtr 
Pointer to the memory address of the heap. 
Return Value

MemoryHeap object to which the allocation belongs to.