lock_linear_region
Lock linear memory region
Declaration
Source position: go32.pp line 152
  function lock_linear_region(linearaddr: LongInt; 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 the int31error variable.
See also
| Name | Description | 
|---|---|
| lock_code | Lock code memory range | 
| lock_data | Lock data memory range | 
| unlock_code | Unlock code segment | 
| unlock_data | Unlock data segment | 
| unlock_linear_region | Unlock linear memory region |