Function unlock_code (functionaddr : pointer; size : Longint) : boolean;
Unlocks a memory range which resides in the code segment selector.
Parameters:
Return value: True if successful, false otherwise
Check int31error variable
unlock_linear_region, unlock_data, lock_linear_region, lock_data, lock_code
For an example, see get_rm_callback.