Lock code memory range.
Source position: go32.pp line 156
| function lock_code( | 
| functionaddr: pointer; | 
| size: LongInt | 
| ):Boolean; | 
Locks a memory range which is in the code segment selector.
Parameters:
Return values: True if successful, False otherwise.
For an example, see get_rm_callback.
Check the int31error variable.
| 
 | Lock linear memory region. | |
| 
 | Lock data memory range. | |
| 
 | Unlock linear memory region. | |
| 
 | Unlock data segment. | |
| 
 | Unlock code segment. |