next up previous contents index
Next: unlock_code Up: Functions and Procedures Previous: unlock_linear_region

unlock_data

   

Declaration:

Function unlock_data (var data; size : Longint) : boolean;

Description:

Unlocks a memory range which resides in the data segment selector.

Paramters:

data:
address of memory to be unlocked
size:
size bytes to be unlocked

Return values: True if successful, false otherwise

Errors:

Check int31error variable

See also:

unlock_linear_region, unlock_code, lock_linear_region, lock_data, lock_code

For an example, see get_rm_callback.



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998