LockMemNear Lock a region of memory using application relative address. |
Inputs: AX = 0ff1fh
ESI = Starting linear address of memory to lock.
EBX = Size of region to lock in bytes.
Outputs: Carry set on error.
Errors: See LockMem
Notes: Memory that is locked cannot be swapped to disk by the VMM. Locking applies to memory on 4K boundaries. Therefore, areas of memory below and above the memory being locked are locked if the specified region is not aligned to a 4K boundary.
Near2Linear Convert application relative address to linear address. |
Inputs: AX = 0ff1ah
ESI = Application relative linear address.
Outputs: ESI = Linear address.
Errors: None
RelCallBack Release a real mode call back entry. |
Inputs: AX = 0304h
CX:DX = Real mode address returned by GetCallBack
Errors: None.
Outputs: None.
Notes: Use this function to release call-back addresses once they are no longer needed.