DOSPresent
Determines whether DOS is still present in memory
#include <nwdos.h> int DOSPresent(void);
Returns a value of 1 if DOS is still present in memory. Otherwise, it returns a value of 0.
DOS must be present in memory for any of the other DOS functions to work.
The REMOVE DOS console command is used to remove DOS from memory.
NOTE:In NetWare 6.5 SP1, an installation option allows you to use NetWare as the boot OS instead of DOS. For backwards compatibility, the DOSPresent function treats the NetWare boot OS as if it were DOS and returns 1.