Important: The information in this document is obsolete and should not be used for new development.
SetZone
To change the current heap zone, you can use theSetZoneprocedure.
PROCEDURE SetZone (hz: THz);
hz- A pointer to the heap zone to make current.
DESCRIPTION
TheSetZoneprocedure makes the zone to whichhzpoints the current
heap zone. Often, you use theSetZoneprocedure in conjunction with one of
theApplicationZone,SystemZone,HandleZone, andPtrZonefunctions. For example, the codeSetZone(SystemZone)makes the system heap zone current.ASSEMBLY-LANGUAGE INFORMATION
The registers on entry and exit forSetZoneare
Registers on entry A0 Pointer to new current heap zone
Registers on exit D0 Result code RESULT CODES
noErr 0 No error