Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Memory /
Chapter 2 - Memory Manager / Memory Manager Reference
Memory Manager Routines / Setting the Properties of Relocatable Blocks


HClrRBit

You can use the HClrRBit 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
The HClrRBit 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 for HClrRBit are
Registers on entry
A0Handle whose resource flag you want to clear
Registers on exit
D0Result code

RESULT CODES
noErr0No error
nilHandleErr-109NIL master pointer
memWZErr-111Attempt 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 procedure DetachResource instead of this procedure.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996