Function allocate_memory_block (size:Longint) : Longint;
Allocates a block of linear memory.
Parameters:
Returned values: blockhandle - the memory handle to this memory block Linear ?? address of the requested memory.
Notes: WARNING: According to my DPMI docs this function is not implemented correctly. Normally you should also get a blockhandle to this block after successful operation. This handle is used to free the memory block afterwards or use this handle for other purposes. So this block can't be deallocated and is henceforth unusuable !
This function doesn't allocate any descriptors for this block, it's the applications resposibility to allocate and initialize for accessing this memory.
Check int31error variable