PixelMemoryTrackerMemoryReallocated Method |
This method is used to report when a block of allocated image memory has been reallocated.
Namespace:
Atalasoft.Imaging.Memory
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void MemoryReallocated(
IntPtr oldLocation,
IntPtr newLocation,
long newSize
)
Public Sub MemoryReallocated (
oldLocation As IntPtr,
newLocation As IntPtr,
newSize As Long
)
Parameters
- oldLocation
- Type: SystemIntPtr
The previous location in memory - newLocation
- Type: SystemIntPtr
The new location in memory - newSize
- Type: SystemInt64
The size of the new block.
Remarks If oldLocation has not been previously reported as allocated via MemoryAllocated, this method will
throw.
This method is equivalent to:
ReportFreed(oldLocation);
ReportAllocated(newLocation, newSize);
See Also