Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Memory /
Chapter 2 - Memory Manager / Memory Manager Reference
Memory Manager Routines


Setting the Properties of Relocatable Blocks

A relocatable block can be either locked or unlocked and either purgeable or unpurgeable. In addition, it can have its resource bit either set or cleared. To determine the state of any of these properties, use the HGetState function. To change these properties, use the HLock, HUnlock, HPurge, HNoPurge, HSetRBit, and HClrRBit procedures. To restore these properties, use the HSetState procedure.

WARNING
Be sure to use these procedures to get and set the properties of relocatable blocks. In particular, do not rely on the structure of master pointers, because their structure in 24-bit mode is different from their structure in 32-bit mode.

Subtopics
HGetState
HSetState
HLock
HUnlock
HPurge
HNoPurge
HSetRBit
HClrRBit

Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996