NWSetEndOfJobStatus(3nw)


NWSetEndOfJobStatus -- enables/disables EOJs sent when COMMAND.COM executes

Synopsis

   #include <nwmisc.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWSetEndOfJobStatus (nuint8 endOfJobStatus, pnuint8 prevStatus);

Description

The parameters are as follows:

endOfJobStatus
(IN) Specifies the end of job status.

prevStatus
(OUT) Points to the previous end of job status (optional).

Return values

0x0000
SUCCESSFUL

Notices

NWSetEndOfJobStatus is useful if the application invokes a secondary command processor and does not want to lose its files due to an EOJ. endOfJobStatus remains set to the current setting until it is explicitly reset.

endOfJobStatus should be set to one of the following:

0
disable end-of-job

1
enable end-of-job

Services

Miscellaneous
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.