NWPSComGetAttachedNServers(3nw)
NWPSComGetAttachedNServers --
returns names of NetWare servers attached to print server
Synopsis
#include <nwps_com.h>
or
#include <nwpsrv.h>
NWCCODE NWAPI NWPSComGetAttachedNServers
(WORD spxID,
WORD NWFAR *sequence,
char NWFAR *nServerName);
Description
The parameters are as follows:
- spxID
-
(IN) Specifies the SPX connection to the print server.
- sequence
-
(IN) Points to the index. sequence must be set to 0 before
the first call; it is incremented by
NWPSComGetAttachedNServers on every call.
- nServerName
-
(OUT) Points to the name of the NetWare server.
Return values
- 0x0000
-
NWPSE_SUCCESSFUL
- 0x00ED
-
NWPSE_CONNECTION_TERMINATED
- 0x0103
-
NWPSE_BINDERY_LOCKED
- 0x0301
-
NWPSE_NOT_ENOUGH_MEMORY
- 0x030C
-
NWPSE_DOWN
- 0x30D
-
NWPSE_NOT_IN_LIST
Notices
NWPSE_NOT_IN_LIST is returned when no NetWare servers are left
in the list.
NWPSComGetAttachedNServers is for anyone.
Services
Print Server
NCP calls
None
References
NWPSComAttachPServerToNServer(3nw),
NWPSComAttachToPrintServer(3nw),
NWPSComLoginToPrintServer(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.