DOSMGR_Get_DOS_Crit_Status

include dosmgr.inc

VxDcall DOSMGR_Get_DOS_Crit_Status


The DOSMGR_Get_DOS_Crit_Status service 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.

Parameters

This service has no parameters.

Return Value

The zero flag is set if MS-DOS can be called. Otherwise, the zero flag is clear if MS-DOS is in a critical section, and must not be called.

Uses

Flags

Comments

This service does not specify whether Windows is in a critical section, nor does it specify which virtual machine has ownership of MS-DOS.