lock_linear_region function
Lock linear memory region.
Declaration
function lock_linear_region(linearaddr: LongInt; size: LongInt)
: BooleanDescription
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
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
