(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.
handle
(OUT) Points to the value to be passed to NWPSCfgGetNextNServer
and NWPSCfgEndNextNServer.
nServerName
(OUT) Points to the name of the first NetWare server found. Its maximum
length is 48 characters including NULL termination.
Return values
0x0000
Successful
-1
General Error
other
Bindery Error
Notices
Memory allocated and files opened by NWPSCfgGetFirstNServer must
be respectively deallocated and closed by calling
NWPSCfgEndNextNServer. If the completion code is non-zero, the
value returned for the handle is zero, and calling
NWPSCfgEndNextNServer is not required.