help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions][Variables] Reference for unit 'go32' (#rtl)

unlock_code

Unlock code segment

Declaration

Source position: go32.pp line 145

function unlock_code(

  functionaddr: pointer;

  size: LongInt

):Boolean;

Description

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

Parameters:

functionaddr
address of function to be unlocked.
size
size bytes to be unlocked.

Return value: True if successful, False otherwise.

For an example, see get_rm_callback.

Errors

Check the int31error variable.

See also

unlock_linear_region

  

Unlock linear memory region

unlock_data

  

Unlock data segment

lock_linear_region

  

Lock linear memory region

lock_data

  

Lock data memory range

lock_code

  

Lock code memory range

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505