NWSetEndOfJobStatus

Allows an application to enable or disable the EOJs sent when COMMAND.COM executes

NetWare Server:3.11, 3.12, 3.2, 4.x, 5.x, 6.x
Platform:DOS, Windows 3.1
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:Client Management

Syntax

   #include <nwmisc.h> 
   or 
   #include <nwcalls.h> 
    
   NWCCODE N_API  NWSetEndOfJobStatus  ( 
      nuint8    endOfJobStatus,  
      pnuint8   prevStatus);
   

Pascal Syntax

   uses calwin32 
    
   Function NWSetEndOfJobStatus 
     (endOfJobStatus : pnuint; 
      prevStatus : pnuint8 
   ) : NWCCODE; stdcall;
   
   

Parameters

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

Return Values

These are common return values; see Return Values (Return Values for C) for more information.

0x0000

SUCCESSFUL

Remarks

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: