DOSMGR_LocalGlobalReg

include dosmgr.inc

VxDcall DOSMGR_LocalGlobalReg


The DOSMGR_LocalGlobalReg service specifies 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.

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

EAX

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 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.

Uses

EAX, Flags