help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

global_dos_free

Free DOS memory block

Declaration

Source position: go32.pp line 98

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

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505