TempHLock
TempHLock Lock a specified relocatable block of temporary memory
#include <Memory.h> Memory Manager
void TempHLock( h, resultCode );
Handle h; handle to temporary block to be locked
OSErr * resultCode; result code if h is not a valid temporary handle
returns none
You can use TempHLock to lock a specified relocatable block of temporary
memory, thereby pr eventing it from being moved within the heap zone.
The resultCode parameter will return one of the following error codes:
noErr (0) No error
nilHandleErr (-109) Nil master pointer
memWZErr (-111) Attempt to operate on a free block

Notes: In system 7.0, you can use the Memory Manager routine HLock to lock
temporary memory blocks.