unlock_code function
Unlock code segment.
Declaration
function unlock_code(functionaddr: pointer; size: LongInt): BooleanDescription
Unlocks a memory range which resides in the code segment selector.
Parameters:
- functionaddr
- address of function to be unlocked.
- size
- size bytes to be unlocked.
Return value: 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.
