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 theSetZone
procedure.
PROCEDURE SetZone (hz: THz);
hz
- A pointer to the heap zone to make current.
DESCRIPTION
TheSetZone
procedure makes the zone to whichhz
points the current
heap zone. Often, you use theSetZone
procedure in conjunction with one of
theApplicationZone
,SystemZone
,HandleZone
, andPtrZone
functions. For example, the codeSetZone(SystemZone)
makes the system heap zone current.ASSEMBLY-LANGUAGE INFORMATION
The registers on entry and exit forSetZone
are
Registers on entry A0 Pointer to new current heap zone
Registers on exit D0 Result code RESULT CODES
noErr 0 No error