Please enable JavaScript to view this site.

Memory Validator Help

Navigation: Native API

Naming Heaps

Scroll Prev Top Next More

 

 

API Function for naming heaps

 

Named heaps are very useful if you want to use the filters to display data.

 

Filtering heaps with real names make it much easier to watch events than using a thread id, especially as thread ids are quite likely be different between sessions.

 

 

mvSetHeapName()

 

Tells Memory Validator to name a specific heap.

 

extern "C" 
void mvSetHeapName(HANDLE       hHeap,   // must be a HeapCreate() handle
                   const TCHAR* name);