Returns NDS/eDirectory version information.
#include <nwnet.h> or #include <nwdsmisc.h> N_EXTERN_LIBRARY (NWDSCCODE) NWDSGetDSVerInfo ( NWCONN_HANDLE conn, pnuint32 dsVersion, pnuint32 rootMostEntryDepth, pnstr8 sapName, pnuint32 flags, punicode treeName);
uses netwin32 Function NWDSGetDSVerInfo (conn : NWCONN_HANDLE; Var dsVersion : nuint32; Var rootMostEntryDepth : nuint32; sapName : pnstr8; Var flags : nuint32; treeName : punicode ) : NWDSCCODE;
(IN) Specifies the connection handle to an eDirectory server.
(OUT) Points to the DS.NLM build version.
(OUT) Points to the number of levels to the root-most object.
(OUT) Points to the tree name where the server is contained. The value is in the SAP form (ASCII characters set restricted by SAP).
(OUT) Returns 0x00000001 if the server's root-most partition is a master replica.
(OUT) Points to the "enabled" tree name (in the Unicode character set).
0x0000 0000 |
SUCCESSFUL |
nonzero value |
Nonzero values indicate errors. See |
NWDSGetDSVerInfo returns version information regarding the DS.NLM running on a specific server. Each return value is optional (that is, passing a NULL as the pointer disables the return of the information).
To return the letter with the NDS/eDirectory version, use the NWDSReadNDSInfo function.