![]() |
GetHandleSize |
||||
Header: | MacMemory.h | Carbon status: | Supported | |
Returns the logical size of the relocatable block corresponding to a handle.
Size GetHandleSize ( Handle h );
A handle to a relocatable block.
The logical size, in bytes, of the relocatable block whose handle is h. In case of error, the function returns 0.
Call the function MemError to get the result code. See
You should not call GetHandleSize at interrupt time because the heap might be in an inconsistent state.
Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.