HandleZone
HandleZone Find which heap zone owns relocatable block returns pointer to a 62-byte Zone structure HandleZone returns the address of the Zone structure at the base of the heap zone that owns a specified relocatable memory block.
theHandle is a handle leading to a relocatable memory block; e.g., a value
Returns: the address of a Zone structure. It identifies the heap zone that contains the relocatable block addressed by theHandle. Use
MemError to see if this return value is meaningful; it will return noErr (0) No error
memWZErr (-111) Illegal operation on a free block
Notes: If theHandle is an empty handle (i.e., it points to a NIL master pointer),
then HandleZone will return a pointer to the current heap zone.