PixelMemoryTrackerMemoryAllocated Method (IntPtr, Int64)
public void MemoryAllocated( IntPtr location, long size )
Public Sub MemoryAllocated ( location As IntPtr, size As Long )
MemoryAllocated will throw is the location has already been reported as allocated or if the location is null or the size is less than or equal to zero.
All memory reporting routines are thread-safe.