next up previous contents index
Next: lock_data Up: Functions and Procedures Previous: free_rm_callback

lock_linear_region

   

Declaration:

Function lock_linear_region (linearaddr, size : Longint) : boolean;

Description:

Locks a memory region to prevent swapping of it

Parameters:

linearaddr:
the linear address of the memory are to be locked
size:
size in bytes to be locked

Return value: True if successful, False otherwise

Errors:

Check int31error variable

See also:

lock_data, lock_code, unlock_linear_region, unlock_data, unlock_code



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