Returns a connection handle and an object ID for the object name.
#include <nwnet.h> or #include <nwdsname.h> N_EXTERN_LIBRARY (NWDSCCODE) NWDSResolveName ( NWDSContextHandle context, pnstr8 objectName, NWCONN_HANDLE N_FAR *conn, pnuint32 objectID);
uses netwin32 Function NWDSResolveName (context : NWDSContextHandle; objectName : pnstr8; Var conn : NWCONN_HANDLE; objectID : pnuint32 ) : NWDSCCODE;
(IN) Specifies the NDS context for the request.
(IN) Points to the name of the object to get the ID for.
(OUT) Points to the connection handle where the object resides.
(OUT) Points to the eDirectory object ID.
0x0000 0000 |
SUCCESSFUL |
nonzero value |
Nonzero values indicate errors. See |
The returned connection handle is the NetWare server where the object is stored.