Resizes a block of memory previously allocated with AllocHGlobal.
Assemblies: System.Runtime.InteropServices (in System.Runtime.InteropServices.dll)
mscorlib (in mscorlib.dll)
There is insufficient memory to satisfy the request.
This method exposes the Win32 GlobalReAlloc function from Kernel32.dll. The returned pointer can differ from the original. If it is different, the contents of the original memory block have been copied to the new block, and the original memory block has been freed.
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.