NWSetEndOfJobStatus
Allows an application to enable or disable the EOJs sent when COMMAND.COM executes
#include <nwmisc.h> or #include <nwcalls.h> NWCCODE N_API NWSetEndOfJobStatus ( nuint8 endOfJobStatus, pnuint8 prevStatus);
uses calwin32 Function NWSetEndOfJobStatus (endOfJobStatus : pnuint; prevStatus : pnuint8 ) : NWCCODE; stdcall;
These are common return values; see Return Values (Return Values for C) for more information.
NWSetEndOfJobStatus is useful if the application invokes a secondary command processor and does not want to lose its files due to an end of job. The endOfJobStatus parameter remains set to the current setting until it is explicitly reset.
The endOfJobStatus parameter should be set to one of the following: