NWPSCfgVerifyNServer(3nw)


NWPSCfgVerifyNServer -- searches for and verifies server name in list

Synopsis

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

NWCCODE NWAPI NWPSCfgVerifyNServer (WORD connType, DWORD connID, char NWFAR *pServerName, char NWFAR *nServerName);

Description

The parameters are as follows:

connType
(IN) Specifies either NWPS_BINDERY_SERVICE or NWPS_BINDERY_SERVICE_PRE_40.

connID
(IN) Specifies the connection identifier.

pServerName
(IN) Points to the name of the print server.

nServerName
(IN) Points to the name of the NetWare server to verify.

Return values

0x0000
Successful

0x7761
NWPSE_NO_SUCH_LIST_ENTRY

-1
General Error

other
Bindery or Directory Services error

Services

Print Server

References

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