DOSMGR_Get_IndosPtr

include dosmgr.inc

VxDcall DOSMGR_Get_IndosPtr


The DOSMGR_Get_IndosPtr service returns the linear address of the MS-DOS InDOS and ErrorMode flags.

Parameters

This service has no parameters.

Return Value

The EAX register contains the linear address (V86 mode address) of InDOS and ErrorMode word. The low byte is the ErrorMode variable, the high byte is InDOS.

Comments

This is a low linear address. To examine the value in a virtual machine which is not the current virtual machine, the virtual device must add the virtual-machine high-linear address to this value.

Uses

EAX, Flags