V86MMGR_LocalGlobalReg

include v86mmgr.inc

VxDcall V86MMGR_LocalGlobalReg


The V86MMGR_LocalGlobalReg service specifies whether the indicated V86 memory region is local or global memory. This VMM memory manager calls this service whenever the TestGlobalV86Mem service is called.

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

Parameters

EDX

Specifies the page number of the start of the region.

EDI

Specifies the page number of the end of the region.

Return Value

The EAX register contains one of the following values:

Value Meaning

0 Page range is local.
1 Page range is global.
2 Page range is partially global and partially local.
3 Page range is unknown.

Comments

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

Uses

EAX, Flags