Sign in Join
FPDoc Onlineexperiment

lock_data function

In unit go32

Lock data memory range.

Declaration

pascal
function lock_data(var data; size: LongInt): Boolean

Description

Locks a memory range which resides in the data segment selector.

Parameters:

data
address of data to be locked.
size
length of data to be locked.

Return values: True if successful, False otherwise.

For an example, see get_rm_callback.

Errors

Check the int31error variable.

See also

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