Shuts down and cleans up after the eDirectory library.
#include <nwnet.h> or #include <nwdsmisc.h> N_EXTERN_LIBRARY (NWDSCCODE) NWNetTerm ( nptr reserved);
uses netwin32 Function NWNetTerm ( reserved : nptr ) : NWDSCCODE;
0x0000 0000 |
SUCCESSFUL |
nonzero value |
Nonzero values indicate errors. See |
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.