NWPSCfgGetNextNServer(3nw)


NWPSCfgGetNextNServer -- retrieves next NetWare server name from list

Synopsis

   #include <nwps_cfg.h> 
   or 
   #include <nwpsrv.h> 
   

NWCCODE NWAPI NWPSCfgGetNextNServer (NWPSListHandle handle, char NWFAR *nServerName);

Description

The parameters are as follows:

handle
(IN) Specifies the value returned from NWPSCfgGetFirstNServer.

nServerName
(OUT) Points to the name of the next NetWare server found. Its maximum length is 48 bytes.

Return values

0x0000
Successful

0x7762
NWPSE_END_OF_LIST

-1
General Error

other
Bindery or Directory Services Errors

Notices

If the handle is 0, NWPSE_END_OF_LIST is returned, indicating the end of the list of NetWare servers.

Services

Print Server

References

NWPSCfgGetFirstNServer(3nw), NWPSCfgEndNextNServer(3nw), NWPSCfgVerifyNServer(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.