void PoolAllocateResident(
ByteCount byteSize,
Boolean clear);
The PoolAllocateResident function allocates resident memory byteSize in length. The memory address is returned as the result of the call. A nil result indicates that the pool is exhausted.
PoolAllocateResident may be called only from task level, not from secondary or hardware interrupt level.
noErr
|
0 | No error |
qErr
|
-1 | Queue element not found |
memFullErr
|
-108 | Not enough room in heap |