| HeapAllocThrow | Function (ROM Call 0x93)

alloc.h

HANDLE HeapAllocThrow (unsigned long Size);

Performs HeapAlloc, and throws an error if not successful.

HeapAllocThrow calls HeapAlloc and throws a memory error if there is not enough memory. Otherwise, it returns the handle of the allocated block.

Uses: HeapAlloc
Used by: cmd_blddata, cmd_custom, cmd_get, cmd_send, cmd_sinreg, cmd_sorta, cmd_sortd, cmd_toolbar, GR3_paint3d, gdb_recall, HomeExecute, HomePushEStack, HS_newFIFONode, CreateEmptyList, de_initRes, de_loop, gr_execute_de, gr_execute_seq, GR3_addContours, GT_Trace, InitDEMem, Regraph, seqWebInit, SP_Define, statStart, NG_setup_graph_fun, ROM Call 0x438, ROM Call 0x45B, ROM Call 0x494, ROM Call 0x495, ROM Call 0x4CB