GetPtrSize
GetPtrSize Obtain the size of a nonrelocatable memory block
#include <Memory.h> Memory Manager
Size GetPtrSize(thePtr );
Ptr thePtr ; address of a nonrelocatable memory block
returns the size of the block (a 32-bit value)
GetPtrSize returns the size, in bytes of a specified nonrelocatable memory
block.
thePtr is the address of a nonrelocatable memory block; i.e., the value
obtained from a prior call to NewPtr.
Returns: a 32-bit long; the current size of the memory block. This will
always be less than 8MB (a 24-bit value).