![]() |
NewEmptyHandleSys |
||||
Header: | MacMemory.h | Carbon status: | Unsupported | |
Initializes a new handle in the system heap without allocating any memory for it to control.
Handle NewEmptyHandleSys ();
A handle with its master pointer set to NULL.
The Resource Manager uses this function extensively, but you probably will not need to use it.
When you want to allocate memory for the empty handle, use the ReallocateHandle function.
Call the function MemError to get the result code. See
Because NewEmptyHandleSys might need to call the MoreMasters function to allocate new master pointers, it might allocate memory. Thus, you should not call NewEmptyHandleSys at interrupt time.
Not supported in Carbon. Not available in Carbon.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)