Sign in Join
FPDoc Onlineexperiment

unlock_data function

In unit go32

Unlock data segment.

Declaration

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

Description

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

Parameters:

data
address of memory to be unlocked.
size
size bytes to be unlocked.

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.