Sign in Join
FPDoc Onlineexperiment

lock_linear_region function

In unit go32

Lock linear memory region.

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.