Some application designs make use of allocations that are intended to last the lifetime of the application.
Typically such allocations will be assigned to static variables and they will never be deallocated.
It is useful if these allocations can be marked as "lifetime allocations" that are intended to leak.
The Memory Validator user interface will not identify lifetime allocations as leaks, thus removing clutter from your memory leak reports.
Mark memory at this address as a lifetime allocation.
extern "C"
void mvMarkMemoryAsLifetimeAllocation(void *address);
Mark this handle as a lifetime allocation.
extern "C"
void mvMarkHandleAsLifetimeAllocation(HANDLE handle);