Important: The information in this document is obsolete and should not be used for new development.
DisposeRgn
To release the memory occupied by a region, use theDisposeRgn
procedure.
PROCEDURE DisposeRgn (rgn:\xDDRgnHandle);
rgn
- A handle to the region to dispose.
DESCRIPTION
TheDisposeRgn
procedure releases the memory occupied by the regionwhose handle you pass in the rgn
parameter.
Use
DisposeRgn
only after you're completely through with a region.SPECIAL CONSIDERATIONS
TheDisposeRgn
procedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.SEE ALSO
Listing 3-8 on page 3-24 and Listing 3-9 on page 3-25 illustrate how to use this procedure.