NWDPPsmShutdownPSM

Shuts down the NDPS TM Manager and unloads the NLM TM

Local Servers: blocking
Remote Servers: blocking
NetWare Server: 4.11, 5.x
Platform: NLM, Windows 95, Windows 98
Service: Distributed Print


Syntax

#include <nwdp_psm.h>  

N_EXTERN_LIBRARY (nint) NWDPPsmShutdownPSM (
NWDPAccessorRef accessorRef,
NWDPPsmRef psmRef,
pNWDPNameOrOid reservePtr,
NWDPPsmShutdownType shutdownType);


Parameters

accessorRef

(IN) Specifies the NWDPAccessorData structure whose fields are accessed by using the provided error macros.


psmRef

(IN) Specifies the reference to the NDPS Manager that is shut down.


reservedPtr

(IN) Points to is reserved (pass NULL).


shutdownType

(IN) Specifies the shutdown type.


Return Values

0x00000000

N_SUCCESS

0xFFFFFFFE

NWDP_RC_INVALID_ACCESSOR

0xFFFFFFFF

N_FAILURE


Remarks

For the shutdownType parameter, pass one of the following:

NWDP_SHUTDOWN_DO_CURRENT_JOBS
NWDP_SHUTDOWN_IMMEDIATE
NWDP_SHUTDOWN_DO_PENDING_JOBS

If NWDPPsmShutdownPSM returns N_FAILURE, NWDPLibErrorMac (accessorRef) contains:

0x00150001L NWDP_LE_OTHER_NDPS_ERROR_RETURN


See Also

NWDPPsmCancelShutdownPSM