Carbon


HNoPurge

Header: MacMemory.h Carbon status: Supported

Marks a relocatable block as unpurgeable.

void HNoPurge (
    Handle h
);
h

A handle to a relocatable block.

DISCUSSION

The HNoPurge function makes the relocatable block to which h is a handle unpurgeable. If the block is already unpurgeable, HNoPurge does nothing.

The HNoPurge function does not reallocate memory for a handle if it has already been purged.

If you want to reallocate memory for a relocatable block that has already been purged, you can use the ReallocateHandle function.

Call the function MemError to get the result code. See “Result Codes”.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/6/2000)