next up previous contents index
Next: lock_code Up: Functions and Procedures Previous: lock_linear_region

lock_data

   

Declaration:

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

Description:

Locks a memory range which resides in the data segment selector

Parameters:

data:
address of data to be locked
size:
length of data to be locked

Return values: True if successful, false otherwise

Errors:

Check int31error variable

See also:

lock_linear_region, lock_code, unlock_linear_region, unlock_data, unlock_code

For an example, see get_rm_callback.



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