Kernel32ReclaimVirtualMemory Method

Overload List

ReclaimVirtualMemory(IntPtr, IntPtr) Reclaims a range of memory pages that were offered to the system with OfferVirtualMemory(IntPtr, IntPtr, OfferVirtualMemoryPriority) function.

If the offered memory has been discarded, the contents of the memory region is undefined and must be rewritten by the application.

If the offered memory has not been discarded, it is reclaimed intact.

ReclaimVirtualMemory(IntPtr, UInt32) Reclaims a range of memory pages that were offered to the system with OfferVirtualMemory(IntPtr, IntPtr, OfferVirtualMemoryPriority) function.

If the offered memory has been discarded, the contents of the memory region is undefined and must be rewritten by the application.

If the offered memory has not been discarded, it is reclaimed intact.

ReclaimVirtualMemory(IntPtr, UIntPtr) Reclaims a range of memory pages that were offered to the system with OfferVirtualMemory(IntPtr, IntPtr, OfferVirtualMemoryPriority) function.

If the offered memory has been discarded, the contents of the memory region is undefined and must be rewritten by the application.

If the offered memory has not been discarded, it is reclaimed intact.

See Also