include dosmgr.inc
mov edx, PageStart
mov edi, PageEnd
VxDcall DOSMGR_LocalGlobalReg
mov [Page_Range_Flag], eax
Determines whether the indicated V86 memory region is local or global memory The VMM memory manager calls this service whenever the TestGlobalV86Mem service is called. This service is only available for Windows version 3.1 and later. Uses EAX and Flags.
0 | Page range is local. |
1 | Page range is global. |
2 | Page range is partially global and partially local. |
3 | Page range is unknown. |
This service returns 3 unless the region is in a local high MS-DOS region.
This service supports high MS-DOS configurations for MS-DOS version 5.0 or later. Other load high configurations are supported only if the corresponding software hooks this service or the TestGlobalV86Mem service.
This service is page (4K) granular and not byte granular.