V86MMGR_Get_EMS_XMS_Limits

include v86mmgr.inc

VxDcall V86MMGR_Get_EMS_XMS_Limits


The V86MMGR_Get_EMS_XMS_Limits service returns the current EMS and XMS limits.

Parameters

EBX

Specifies the virtual machine handle to get limits of.

Return Value

The following registers contain the corresponding values:

Register Description

EAX Minimum EMS kilobytes (multiple of 4)
ECX Access to HMA is disabled (if zero) or enabled (if 1)
EDI Maximum XMS kilobytes (multiple of 4)
EDX Maximum EMS kilobytes (multiple of 4)
ESI Minimum XMS kilobytes (multiple of 4)

Uses

All registers except EBX, EBP, and segment registers