Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
DOSMGR_Get_DOS_Crit_Status
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
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 pageswap device to determine
whether MS-DOS is currently available to page. This is an asynchronous
service.
 
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.
 
                                      ♦