DOSPresent

Determines whether DOS is still present in memory

Local Servers:nonblocking
Remote Servers:N/A
NetWare Server:3.x, 4.x, 5.x, 6.x
Platform:NLM
Service:DOS Partition

Syntax

  #include <nwdos.h>  
   
  int DOSPresent(void);
  

Return Values

Returns a value of 1 if DOS is still present in memory. Otherwise, it returns a value of 0.

Remarks

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.