unlock_data function
Unlock data segment.
Declaration
function unlock_data(var data; size: LongInt): BooleanDescription
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.
