Important: The information in this document is obsolete and should not be used for new development.
HUnlock
You can use theHUnlockprocedure 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
TheHUnlockprocedure unlocks the relocatable block to whichhis a handle, allowing it to be moved within its heap zone. If the block is already unlocked,HUnlockdoes nothing.ASSEMBLY-LANGUAGE INFORMATION
The registers on entry and exit forHUnlockare
Registers on entry A0 Handle to unlock
Registers on exit D0 Result code RESULT CODES
noErr 0 No error nilHandleErr -109 NILmaster pointermemWZErr -111 Attempt to operate on a free block