DOS/32 Advanced DOS Extender - Programmer's Reference


2.39 - DPMI function 0603h - Relock Real Mode Region

Relocks a memory region that was previously declared as pageable with the Mark Real Mode Region as Pageable function (DPMI function 0602h).

 

In: AX = 0603h
BX:CX = starting linear address of memory to relock
SI:DI = size of region to relock (bytes)
Out:

if successful:
CF clear

if failed:
CF set
AX = error code

8002h - invalid state (region already marked as pageable)
8013h - physical memory unavailable
8025h - invalid linear address (region is above 1MB boundary)

Notes:

a) As DOS/32 Advanced does not support virtual memory this function is implemented for compatibility reasons only.

 


Copyright Supernar Systems, Ltd. 1996-2005
All Rights Reserved.