next up previous contents index
Next: dosmemput Up: Functions and Procedures Previous: global_dos_alloc

global_dos_free

   

Declaration:

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

Notes: 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 .

Errors:

Check int31error variable

See also:

global_dos_alloc

For an example, see global_dos_alloc.



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998