Important: The information in this document is obsolete and should not be used for new development.
UnloadSeg
You can unload a segment by calling theUnloadSeg
procedure.
PROCEDURE UnloadSeg (routineAddr: Ptr);
routineAddr
- The address of any externally referenced routine in the segment to unload.
DESCRIPTION
TheUnloadSeg
procedure unloads a segment, making its storage relocatable and purgeable. You specify which segment to unload by passing the address of any externally referenced routine in that segment. The segment won't actually be purged until the memory it occupies is needed. If the segment is purged, the Segment Manager reloads it the next time one of the routines in it is called.
- Note
- The
UnloadSeg
procedure works only if called from outside the segment to be unloaded. ·