Important: The information in this document is obsolete and should not be used for new development.
HUnlock
You can use theHUnlock
procedure to unlock a relocatable block so that it is free to move in its heap zone.
PROCEDURE HUnlock (h: Handle);
h
- A handle to a relocatable block.
DESCRIPTION
TheHUnlock
procedure unlocks the relocatable block to whichh
is a handle, allowing it to be moved within its heap zone. If the block is already unlocked,HUnlock
does nothing.ASSEMBLY-LANGUAGE INFORMATION
The registers on entry and exit forHUnlock
are
Registers on entry A0 Handle to unlock
Registers on exit D0 Result code RESULT CODES
noErr 0 No error nilHandleErr -109 NIL
master pointermemWZErr -111 Attempt to operate on a free block