V86MMGR_LocalGlobalReg


include v86mmgr.inc

mov     edx, FirstPageNum
mov     edi, LastPageNum
VxDcall V86MMGR_LocalGlobalReg
mov     [Result], eax

Determines whether the indicated V86 memory region is local or global memory. This VMM memory manager calls this service whenever the TestGlobalV86Mem service is called. Uses EAX, Flags.

This service is only available for Windows version 3.1 and later.

0

Page range is local.

1

Page range is global.

2

Page range is partially global and partially local.

3

Page range is unknown.


FirstPageNum and LastPageNum

Page numbers of the first and last page in the region.

This service is intended to support UMBs. UMB regions are local or global, depending on the free per virtual machine UMB list.