Important: The information in this document is obsolete and should not be used for new development.
HClrRBit
You can use theHClrRBit
procedure 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
TheHClrRBit
procedure 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 forHClrRBit
are
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 NIL
master 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 procedureDetachResource
instead of this procedure.