Carbon


HUnlock

Header: MacMemory.h Carbon status: Supported

Allows a relocatable block to move in its heap zone.

void HUnlock (
    Handle h
);
Parameter descriptions
h

A handle to a relocatable block.

DISCUSSION

The HUnlock function unlocks the relocatable block to which h is a handle, allowing the block to move within its heap zone. If the block is already unlocked, HUnlock does nothing.

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

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


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