| HeapAllocHighThrow | Function (ROM Call 0x94) |
| alloc.h |
| HANDLE HeapAllocHighThrow (unsigned long Size); |
Performs HeapAllocHigh, and throws an error if not successful.
HeapAllocHighThrow calls HeapAllocHigh and throws a memory error if there is not enough memory. Otherwise, it returns the handle of the allocated block.