lock_code function
Lock code memory range.
Declaration
function lock_code(functionaddr: pointer; size: LongInt): BooleanDescription
Locks a memory range which is in the code segment selector.
Parameters:
- functionaddr
- address of the function to be locked.
- size
- size in bytes 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.
