[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'go32' (#rtl)

global_dos_free

Free DOS memory block

Declaration

Source position: go32.pp line 109

function global_dos_free(

  selector: Word

):Boolean;

Description

Frees a previously allocated dos memory block.

Parameters:

selector
selector to the dos memory block.

Return value: True if successful, False otherwise.

Remark: The descriptor allocated for the memory block is automatically freed and hence invalid for further use. This function should only be used for memory allocated by global_dos_alloc.

For an example, see global_dos_alloc.

Errors

Check the int31error variable.

See also

global_dos_alloc

  

Allocate DOS real mode memory


Documentation generated on: Mar 17 2017