Checks presence or absence of eDirectory on the server.
#include <nwnet.h>
or
#include <nwdsmisc.h>
N_EXTERN_LIBRARY (NWDSCCODE) NWIsDSServer (
NWCONN_HANDLE conn,
pnstr8 treeName);
uses netwin32
Function NWIsDSServer
(conn : NWCONN_HANDLE;
treeName : pnstr8
) : NWDSCCODE;
(IN) Specifies the NetWare server connection handle.
(OUT) Points to the tree name returned if the server specified by conn is an eDirectory server.
These are common return values; see NDS Return Values
for more information.