include dosmgr.inc
VxDcall DOSMGR_Get_DOS_Crit_Status
Specifies whether it is possible to call MS-DOS at the current time (that is, whether MS-DOS is in a critical section).
This service is intended for use by the virtual page swap device to determine whether MS-DOS is currently available to page. This is an asynchronous service. Uses Flags.
This service does not specify whether Windows is in a critical section, nor does it specify which virtual machine has ownership of MS-DOS.