Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
NewHandleSys
You can use theNewHandleSysfunction to allocate a relocatable block of memory of a specified size in the system heap.
FUNCTION NewHandleSys (logicalSize: Size): Handle;
logicalSize- The requested size (in bytes) of the relocatable block.
DESCRIPTION
TheNewHandleSysfunction works much as theNewHandlefunction does, but attempts to allocate the requested block in the system heap zone instead of in the current heap zone. If it cannot, it returnsNIL.RESULT CODES
noErr 0 No error memFullErr -108 Not enough memory in heap zone
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |