HSetRBit
HSetRBit Tag block for treatment as a resource Handle theHandle ; handle whose tag you wish to update HSetRBit sets bit 7 of the tag byte of a master pointer. This is normally used internally by the Resource Manager, to mark the block for special
treatment as a resource.
theHandle is a handle leading to a relocatable memory block.
nilHandleErr (-109) theHandle has a NIL master pointer
memWZErr (-111) Illegal operation on a free block
Notes: Rather than manipulating the high byte (the tag byte) of a master pointer,
it is wise to use Memory Manager functions such as HLock and HPurge. Failure to use these routines virtually guarantees incompatibilities with
future System Software.
If you need to manipulate the tag byte, you should use HGetState and HSetState to save and restore the original tag values.