NWNetTerm

Shuts down and cleans up after the eDirectory library.

NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98, Windows 2000, Windows XP
Library:Cross-Platform NDS (NET*.*)
Service:NDS

Syntax

C

  #include <nwnet.h> 
  or
  #include <nwdsmisc.h> 
   
  N_EXTERN_LIBRARY (NWDSCCODE) NWNetTerm  ( 
     nptr   reserved);
  

Pascal

  uses netwin32 
   
  Function NWNetTerm  ( 
     reserved : nptr 
  ) : NWDSCCODE;
  

Return Values

0x0000 0000

SUCCESSFUL

nonzero value

Nonzero values indicate errors. See NDS Return Values (–001 to –799).

Remarks

NWNetTerm terminates the eDirectory library.

Under VLM, NWNetTerm has no effect and other eDirectory functions may be called after calling NWNetTerm.

Under NLM, Windows 95, Windows 98, Windows NT, Windows 2000, and Windows XP, NWNetTerm should be called last as it will shut down and clean up after eDirectory.

If, after calling NWNetTerm, you want to call other eDirectory functions, call NWNetInit before calling any other eDirectory functions.

NCP Calls

See Also

NWNetInit