NWIsDSServer

Checks presence or absence of eDirectory on the server.

Local Servers:blocking
Remote Servers:blocking
NetWare Server:3.11, 3.12, 3.2, 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) NWIsDSServer  ( 
     NWCONN_HANDLE   conn,  
     pnstr8          treeName); 
  

Pascal

  uses netwin32 
   
  Function NWIsDSServer 
    (conn : NWCONN_HANDLE; 
     treeName : pnstr8 
  ) : NWDSCCODE;
  

Parameters

conn

(IN) Specifies the NetWare server connection handle.

treeName

(OUT) Points to the tree name returned if the server specified by conn is an eDirectory server.

Return Values

These are common return values; see NDS Return Values for more information.

0x0000 0001

eDirectory NCP is hooked and eDirectory is running

0x0000 0000

Not eDirectory

NCP Calls