Important: The information in this document is obsolete and should not be used for new development.
HClrRBit
You can use theHClrRBitprocedure to clear the resource flag of a relocatable block. The Resource Manager uses this routine extensively, but you probably won't need
to use it.
PROCEDURE HClrRBit (h: Handle);
h- A handle to a relocatable block.
DESCRIPTION
TheHClrRBitprocedure clears the resource flag of a relocatable block. It does nothing if the flag is already cleared.ASSEMBLY-LANGUAGE INFORMATION
The registers on entry and exit forHClrRBitare
Registers on entry A0 Handle whose resource flag you want to clear
Registers on exit D0 Result code RESULT CODES
noErr 0 No error nilHandleErr -109 NILmaster pointermemWZErr -111 Attempt to operate on a free block SEE ALSO
To disassociate the data in a resource handle from the resource file, you should use the Resource Manager procedureDetachResourceinstead of this procedure.