NWNetInit

Does the initial setup that is necessary before calling any other eDirectory functions.

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) NWNetInit  ( 
     nptr   in,  
     nptr   out); 
  

Pascal

  uses netwin32 
   
  Function NWNetInit 
    (in : nptr; 
     out : nptr 
  ) : NWDSCCODE;
  

Parameters

in

(IN) Points to the input parameter value.

out

(OUT) Points to the output parameter value.

Return Values

0x0000 0000

SUCCESSFUL

nonzero value

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

Remarks

NWNetInit initializes the eDirectory library. Both parameters, in and out, should be NULL when NWNetInit is called.

NCP Calls

See Also

NWNetTerm